Example app that's also been implemented in SproutCore and RestfulX

2 views
Skip to first unread message

Bruz Marzolf

unread,
Jan 4, 2010, 8:31:55 PM1/4/10
to Cappuccino & Objective-J
For those new to Cappuccino, and particularly those comparing it with
other frameworks, I've just finished implementing a trivial
application in Cappuccino that I've also implemented with SproutCore
and RestfulX. I have a brief post on it over at
http://blog.bruzilla.com/post/317178477/cappuccino-client-side-web-application-frameworks,
and the source is over at http://github.com/bruz/clocky-frontend-cappuccino.

I'm sure my implementation could be improved given my lack of
Cappuccino knowledge, so any feedback is welcome.

Ross Boucher

unread,
Jan 4, 2010, 8:42:56 PM1/4/10
to objec...@googlegroups.com
This is good to have. I tried running the code, but the server side portion doesn't want to work for me (i.e. I can't add a new project).

A couple things you might want to check out is the date picker in LPKit, and the documentation on autoresizing masks. Specifically, you might want to set a CPViewHeightSizable flag on the text area widget so that when a window isn't tall enough it will shrink to fit.

-Ross

> --
>
> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> To post to this group, send email to objec...@googlegroups.com.
> To unsubscribe from this group, send email to objectivej+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/objectivej?hl=en.
>
>

Bruz Marzolf

unread,
Jan 5, 2010, 9:50:59 AM1/5/10
to Cappuccino & Objective-J
Odd. A fresh checkout of the code on my development laptop works
great, but when I try it on my home computer and am getting
nondescript HTTP 500 errors on the back end. I'll have to investigate
this a bit further.

Thanks for the pointer toward LPKit, that looks like a great set of
add-ons for Cappuccino. I was being lazy in my first pass and skipped
the autoresizing masks, but should incorporate those since they seem
to be a rather important part of UI in Cappuccino.

-Bruz

On Jan 4, 5:42 pm, Ross Boucher <rbouc...@gmail.com> wrote:
> This is good to have. I tried running the code, but the server side portion doesn't want to work for me (i.e. I can't add a new project).
>
> A couple things you might want to check out is the date picker in LPKit, and the documentation on autoresizing masks. Specifically, you might want to set a CPViewHeightSizable flag on the text area widget so that when a window isn't tall enough it will shrink to fit.
>
> -Ross
>
> On Jan 4, 2010, at 8:31 PM, Bruz Marzolf wrote:
>
> > For those new to Cappuccino, and particularly those comparing it with
> > other frameworks, I've just finished implementing a trivial
> > application in Cappuccino that I've also implemented with SproutCore
> > and RestfulX. I have a brief post on it over at

> >http://blog.bruzilla.com/post/317178477/cappuccino-client-side-web-ap...,
> > and the source is over athttp://github.com/bruz/clocky-frontend-cappuccino.

Ross Boucher

unread,
Jan 5, 2010, 9:52:37 AM1/5/10
to objec...@googlegroups.com
Of course, the other thing you might consider is building the UI in nib2cib or in Atlas, which would help eliminate the need for a fair amount of code.

-Ross

Bruz Marzolf

unread,
Jan 6, 2010, 9:56:32 AM1/6/10
to Cappuccino & Objective-J
Assuming the backend error I was able to reproduce is the same one you
ran into, the problem was with using an old version of the mongrel
gem. Updating to mongrel 1.1.5 should fix the problem. I've made a
note in the README of this dependency.

Atlas and the nib2cib route are intriguing and I will probably use one
of these with any future projects, but for now I've just manually set
up the the autoresizing masks so this app behaves properly.

-Bruz

Reply all
Reply to author
Forward
0 new messages