Guestbook tutorial

57 views
Skip to first unread message

George Agiasoglou

unread,
Sep 12, 2011, 11:21:16 AM9/12/11
to relief-f...@googlegroups.com
Hi there, 

Many thanks for your great work, it's a "relief" when playing with closure tools!

I started going through your guide "Your First Relief App", which is excellent! The use of MVP helped me a lot as it relates closely to the work I have been doing.

However, I am under the impression that a page is missing on your guide. At the end of the page "The MessageView class" you close with "Now that we have our presenter and view classes ready to go, we'll wire them into our gb.handlers.MessageHandler class. Let's go!" but there is not link to this document. 

Could you please provide the last piece of the puzzle.

I have also started looking at the Relieved blog app but haven't spent a lot of time on it yet.

Many thanks,
George

Jay Young

unread,
Sep 12, 2011, 1:03:00 PM9/12/11
to relief-f...@googlegroups.com
Hey George,

It's all about suspense!  Okay, not really.  Other things have grabbed my attention these last few weeks, so I haven't had a chance to finish the tutorial, but since you asked so nicely I'll make it a point to get this done in the next day or so.

George Agiasoglou

unread,
Sep 13, 2011, 5:19:33 AM9/13/11
to relief-f...@googlegroups.com
Thank you Jay, can't wait!

Jay Young

unread,
Sep 13, 2011, 7:20:11 PM9/13/11
to relief-f...@googlegroups.com
The next tutorial page is up!  It wraps things up nicely, but there will be at least one more after this to show off how Relief lets you set up asynchronous "You haven't saved your changes.  Are you sure you want to leave this page?"-type messages.  I think this is an important feature, since otherwise a lot of developers would cop out and go the `confirm("Are you sure you want to leave?")` route, which is just not pretty.

George Agiasoglou

unread,
Sep 14, 2011, 10:11:29 AM9/14/11
to relief-f...@googlegroups.com
Amazing stuff Jay, many thanks for your help.

It would have been nice if there was some sort of relief plugin for Eclipse or NetBeans.

-George

Jay Young

unread,
Sep 14, 2011, 11:19:31 AM9/14/11
to relief-f...@googlegroups.com
I completely agree, that'd be pretty cool.  Unfortunately, I don't use either of those for JS and writing plug-ins for them is over my head.  I am working on vastly improved API docs, though.  The cobbled-together ones linked from the wiki are pretty terrible.

George Agiasoglou

unread,
Sep 15, 2011, 8:44:17 AM9/15/11
to relief-f...@googlegroups.com
What sort of tools do you use for development with closure tools?

Jay Young

unread,
Sep 15, 2011, 11:16:53 AM9/15/11
to relief-f...@googlegroups.com
As far as my IDE, I do all of my web development in ActiveState's Komodo IDE.  It touts itself as the premier IDE for dynamic languages (as well as web languages like HTML and CSS).  I've used it for Javascript and Python progrmaming, and am very happy with it.  It has built-in integration with all the major version control systems and a very simple project interface that I really like (I always hate how much Eclipse's project manager gets in my way every time it tries to help me).

For coding, it has all the things you'd normally expect, syntax highlighting, errors and warnings, and code completion.  It has built in library files for jQuery and a bunch of other libraries, but not for Closure.  However, if you point to the Closure directory in the library settings, it'll scan through and you still get pretty good auto-complete and code hints.  The full-featured IDE isn't free, but there is a no-charge version called Komodo Edit, but I haven't tried that.

Other than that, I highly recommend Plovr for any serious Closure development (as you can tell if you've gotten this far in the tutorial).
Reply all
Reply to author
Forward
0 new messages