patrickdlogan's jot on programming


Adding subviews to subviews of subviews and constraining their layout in Cappuccino... https://github.com/patrickdlogan/cappex ...is so easy. Just as you'd hope, based on 1980's technology. Ha! Take that HTML5/CSS3 for "single-page" applications!
duncanmak08/27/2011
I started looking into the Enyo system developed for WebOS 3. It looks like it could also be a very polished framework for doing "single-page" applications.
patrickdlogan08/27/2011
That looks really good. I'd not seen it before. Search results as recently as the last week or so do not indicate it will become open source. Hopefully HP will see the benefits of that. Certainly these kinds of APIs are the future of web programming.
duncanmak08/27/2011
I haven't looked deeply into it yet, but it seems to me the source code might all be included in the SDK that's already been released.
patrickdlogan08/27/2011
The WebOS SDK is almost 400MB for Ubuntu plus it seemed to have several awkward dependencies, so I did not download it. Otherwise I did not easily find the license on the WebOS site. Gack. Now I am officially discouraged from investigating Enyo.
patrickdlogan08/27/2011
Meanwhile I found this article from a few days ago claiming it is not, and may never be, open sourced... http://www.pcworld.com/article/238656/future_of... --- hopefully they will see opening it as a good thing some day.
kofno08/28/2011
Playing w/ this over the weekend. Experiencing a bit of API learning curve, but I'm already better at this then HTML/CSS.
patrickdlogan08/29/2011
Yeah, there's a curve. It varies whether you've done Cocoa or even Swing, Flex, etc. You do have to piece together info from various Cappuccino and even Cocoa sources on the web, then try things.
patrickdlogan08/29/2011
If there were money in books I'd make a pitch to someone. Otherwise I'll keep adding my two cent examples as I can.

I have had a simiular experience... I always felt I was struggling to learn "tricks" with HTML and CSS. The Capp curve moves forward.
kofno08/29/2011
Yes! Html / CSS requires a tribal knowledge. The "undocumented" tricks if you will. If it doesn't look right, it's because I don't know the right incantation.

With traditional MVC frameworks, if it doesn't look right, it's because I screwed up.