Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD3C79D26 for ; Fri, 15 Jun 2012 14:01:47 +0000 (UTC) Received: (qmail 11209 invoked by uid 500); 15 Jun 2012 14:01:47 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 11177 invoked by uid 500); 15 Jun 2012 14:01:46 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 11169 invoked by uid 99); 15 Jun 2012 14:01:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 14:01:46 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joan.llenas.maso@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 14:01:42 +0000 Received: by wibhm14 with SMTP id hm14so486277wib.0 for ; Fri, 15 Jun 2012 07:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=eO82RvWaBAz36WfSbx1N8zI2oC7X2/4U5NGHCwI0zyk=; b=AI1OTqc9rJJSw2STQsT5Gm1myePM2Hw+U4hAwPVc0cJTtZWcLnUrAt9OMQe+cJnEyF FjY3smftnvs87rCgK12S/i6wgpzDyy/7vAhJ+/r5qgeYl2ybA39vdjSz5daWbAKCbjsG Y22Pouezg0psUHLP3rv0HKKvFoeH2zx4fnqpSf2j6048z2Kyln1XGpwXZGhJLR5MfBWv hUI2gOxlLp4W1Gugk3WDPV8i2DH270XjcI1YQjus06i/uC/fXCJG0VbgjVizUTDe/Qar x5aKYaKZv+kqVGusLQewipezCi8hfY23J1WjjzWxNr9fnzrpxKnr9cq5dzgunx63h4L/ BoPA== Received: by 10.180.80.74 with SMTP id p10mr4840071wix.10.1339768880383; Fri, 15 Jun 2012 07:01:20 -0700 (PDT) MIME-Version: 1.0 Sender: joan.llenas.maso@gmail.com Received: by 10.227.28.36 with HTTP; Fri, 15 Jun 2012 07:00:59 -0700 (PDT) In-Reply-To: References: <4FDB3B41.8000107@gmail.com> From: =?UTF-8?Q?Joan_Llenas_Mas=C3=B3?= Date: Fri, 15 Jun 2012 16:00:59 +0200 X-Google-Sender-Auth: G6CuR7ypavpEUHcuTQcCo7-YEGg Message-ID: Subject: Re: Painful story... To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0442834a32462004c283409f X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442834a32462004c283409f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You are right, HTML layout is painful ( not sure if HTML5 improved the box model in any way ) Onde I needed a consistent grid layout system, nestable up to a few levels deep and ended up using blueprintcss http://blueprintcss.org/ and generating a huge CSS for all kinds of combinations. It worked but it really wasn't pretty... Good luck on Monday! -- Joan Llenas Mas=C3=B3 CTO Garnet Works SL T. 93 848 57 27 -- @joangarnet (es) @joanllenas (en) http://joan.garnet.io On Fri, Jun 15, 2012 at 3:50 PM, James Ong wrote: > Hundreds libraries? Just JQuery and any solid JS framework will do. I bee= n > using Flex, Scala (Play! or Lift framework) and PHP/Javascript/CSS for > years. You will need to understand Flex is not one-size-fit-all technolog= y > and slowly you should get used to it. > > > On Fri, Jun 15, 2012 at 9:40 PM, sathyamoorthi > wrote: > >> Hi, >> >> I don't know where to share my thoughts. As a hard-core flex >> developer i just dump my thoughts here. >> >> Yesterday, i started to build a web app using HTML. As a first >> step i tried to build a layout. I don't have anything special. below is = my >> layout. >> >> >> After a long struggle i designed and positioned my header >> correctly. Then i came to my main page which contains 3 containers. If i= t >> is flex, i will code like this, >> >> >> > height=3D"100%"> >> >> > height=3D"100%"> >> >> >> Above code will take less than a minute and should work perfectl= y >> in all browsers as i think. But you know guys i am trying above layout >> for a day in HTML. still i didn't get it correct. >> >> Usually in flex, >> >> grp2.width =3D grp.width - grp1.width - grp3.width. >> >> But in HTML, >> >> grp2.width =3D grp.width. How good it is? i don't know. And >> another thing, i tried to layout 3 div's inside another div horizontally= . >> That is also really painful. >> i tried float, display and lot more options. Nothing helps me to get it >> right in all browsers. I know it is easy with Table. but i should do it >> with divs. >> >> Hundreds of libraries there in JavaScript. But really nothin= g >> contains that number of good components and layout features like Flex. I >> really hate programming in a day. >> >> * NOTE: Please don't reply with any HTML codes.* I will >> continue and succeed on Monday anyway. It is just a story, how a flex >> developer struggles to migrate to HTML because >> of HTML5 storm. >> >> Happy Weekend!!!!! >> >> -Sathyamoorthi. >> >> > > --f46d0442834a32462004c283409f--