[MacRuby-devel] PBI - HTML and CSS in HotCocoa
Joshua Ballanco
jballanc at gmail.com
Sat Nov 22 05:19:23 PST 2008
If you would like layout of elements with in HTML style, that's pretty
much what Shoes (http://shoooes.net/) is. I had a discussion back in
September of implementing Shoes on-top-of or along-side HotCocoa (http://lists.macosforge.org/pipermail/macruby-devel/2008-September/000508.html
), but there are problems with attempting to meld the two. For one
thing, there's the "instance_eval" issue. Still, I think it would be
useful to implement Shoes in MacRuby. I just haven't had time to give
this any serious work.
Cheers,
Josh
On Nov 21, 2008, at 4:52 PM, elliottcable wrote:
> This sounds like an idea with potential.
>
> Perhaps a new framework for creating "HTML" applications, that takes
> the HTML and uses a WebView - but instead of actually ending up with
> a WebView, the data is pulled out and passed onto a true Cocoa
> interface, kinda thing?
>
> On Nov 21, 2008, at 11:25 AM, Rich Morin wrote:
>
>> It's possible to use HotCocoa to lay out windows, but (AFAIK)
>> the developer still has to do most of the layout, specifying
>> co-ordinates, etc.
>>
>> Like lots of other Ruby developers, I'm comfortable with HTML
>> and CSS layout. So, I wonder how hard it would be to convince
>> WebApp (for example) to accept web layout commands and hand
>> back the resulting co-ordinates. Some kind of AJAX hack could
>> even be used, I suspect, to get dynamic JavaScript support.
>>
>> I'd love to hear about any show-stoppers, other ideas, etc. I
>> would be even happier to get some implementation hints (:-).
>>
>> -r
>> --
>> http://www.cfcl.com/rdm Rich Morin
>> http://www.cfcl.com/rdm/resume rdm at cfcl.com
>> http://www.cfcl.com/rdm/weblog +1 650-873-7841
>>
>> Technical editing and writing, programming, and web development
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list