is there a tutorial?

1,194 views
Skip to first unread message

Bob Ralian

unread,
Apr 25, 2012, 9:12:03 AM4/25/12
to Derby
Derbyjs looks really awesome. But I was wondering if there's a
tutorial anywhere, or if anyone is working on one. The docs are great,
but I wouldn't mind a little extra hand-holding for getting started
with a from-scratch application. If you're looking to get more people
on board, I think that would be huge.

Anthony

unread,
Apr 25, 2012, 10:27:01 AM4/25/12
to der...@googlegroups.com
I know you guys are working hard on the framework itself, and I'm sure you've got plans for tutorials and more comprehensive documentation, but in the meantime, a quick win to aid understanding might be an overview of the framework code itself and how it works. How is the framework code structured? What are the key modules and what do they do? If I want to understand a particular bit of functionality, where do I look in the source? What is the process when an HTTP requests comes in and an app is delivered to a client? How does template rendering and navigation work on the client? How about the process for a data exchange over the Socket.IO connection? This doesn't have to be too in-depth, just a brief walk-through and overview to provide a conceptual understanding and point people in the right direction.

Making it easy for users to jump into the framework source code and understand what's going on can help make up for less comprehensive documentation. It can also make it easier for users to help diagnose and fix bugs and even contribute improvements to the framework.

Anthony

webster

unread,
Apr 27, 2012, 4:31:48 AM4/27/12
to der...@googlegroups.com
I'll second that.
I'm in the situation where I have a ready responsive html5boilerplate/localStorage prototype with Html/css/js working, and Derby seems to be just what I was looking for as a backend.
The problem is, after trying out meteor: the derby structure is quite hard to jump start.
In meteor I can just paste the html, css and js I have, and refactor as I go, where in derby it seems I must rethink my structure to even get it up and running.
How do I do this in the quickest way?
Don't underestimate the number of situations where you get a html prototype from a front-end dev who has no interrest in learning derby and such.

Awesome work, really excited on where this framework is going. Thanks and good luck.

Zach Smith

unread,
Apr 27, 2012, 7:23:49 PM4/27/12
to der...@googlegroups.com
Hey guys,

This is something I could totally work on, any suggestions for what final product you'd like to see built?  Also, webster, I'd be very interested in hearing what issues you have with porting the structure.  I'm currently working on making some tools to (hopefully) make derby easier to work with and would really like to hear what issues you see.

Zach

Brian Noguchi

unread,
Apr 27, 2012, 7:28:56 PM4/27/12
to der...@googlegroups.com
Zach,

Nate and I were talking about this yesterday, and thought contributing a Derby contribution to http://addyosmani.github.com/todomvc/ would be a good tutorial. We also want to do a screencast soon. What do you think?

Brian

Brian Noguchi

unread,
Apr 27, 2012, 7:32:22 PM4/27/12
to der...@googlegroups.com

Zach Smith

unread,
Apr 27, 2012, 7:34:46 PM4/27/12
to der...@googlegroups.com
Absolutely, I think that's a great idea.  I also think a more in-depth tutorial with multiple routes would be useful.  I think derby really shines over things like meteor once you start doing more complex applications, so I think we should showcase that.  I'll dig deeper into adding xml to OT and maybe I'll be able to throw down a fully featured collab editor or something.

Zach

Jae Hess

unread,
Apr 27, 2012, 7:37:57 PM4/27/12
to der...@googlegroups.com
I would love to see both TodoMVC and a screencast, but I think that there is room for more as well. 

I love what TodoMVC is doing, but I almost never use it as a reference. I think something showing a just slightly more complex example would be beneficial. 

Just my 2 cents. 

Jae
Message has been deleted

Bob Ralian

unread,
Apr 30, 2012, 8:13:52 AM4/30/12
to Derby
I would prefer a screencast. I'd like to see you talk through the
different steps and hear more about the "why" of it than just see
another finished product. Or if you wind up doing todomvc, please
comment the hell out of it (preferably in javascript). I appreciate
that you are keeping us regular (non-coffee) javscripters in mind.
Please continue to do so... there's a lot of us.

On Apr 29, 1:50 am, webster <johan.olofs...@gmail.com> wrote:
> First, I'm the typically impatient when scanning new frameworks, and I've
> coded backbone etc.
> There should be a super compact 1 page complete example showing Templates,
> where stuff go in different files, events, any custom jQuery, databinding
> and racer load/save.
> The following text from the docs says exactly what derby is about, and what
> you should show in the 1 page example:
> *"Derby eliminates the tedium of wiring together a server, server
> templating engine, CSS compiler, script packager, minifier, client MVC
> framework, client JavaScript library, client templating and/or bindings
> engine, client history library, realtime transport, ORM, and database. It
> elminates the complexity of keeping state synchronized among models and
> views, clients and servers, multiple windows, multiple users, and models
> and databases."*
>
> I don't know where to put my existing custom jQuery or UI plugins, how to
> integrate bootstrap or boilerplate. (the pre-defined templates are
> confusing)
> The docs in general have too much text between the code sections, and I
> would prefer to see the whole code example while reading.
>
> What about a sample collab. editor with a start page showing all existing
> documents and a jQuery UI dialog for options??
> "$: derby new -demo-app"

Rishav Sharan

unread,
Aug 13, 2012, 8:13:10 AM8/13/12
to der...@googlegroups.com
Hi Zach

I have some ideas.
How about rolling up a blog?
this will give the readers an idea of a multi paged application with db connections. 
You will have a blog lists page and a new blog page.
also you will want a chain of user comments underneath each blog post.

finally, throw in basic test cases using mocha and BDD in there.

If auth is developed then you can build upon that tutorial and add in auth strategies and maybe even redis based session storage.

That should a good starting course (spread over 5-6 articles?) for all newbs like me.

regards
RS.

daslicht

unread,
Sep 1, 2012, 10:10:26 AM9/1/12
to der...@googlegroups.com
a blog or simple CRUD tutorial would be awesome :)

pixel67

unread,
Dec 21, 2012, 3:55:31 AM12/21/12
to der...@googlegroups.com, bob.r...@gmail.com
So are there any tutorials to get started using Derby?

mayur...@avinashi.com

unread,
Dec 31, 2012, 6:55:47 AM12/31/12
to der...@googlegroups.com
Hello,

I just started to learn Derby for one of my project requirement. 
But feeling that it's getting to hard to understand for beginners..! It will be great help if anyone can help me to find out some good tutorial/document to begin with.

Thanks,
Mayur


On Saturday, April 28, 2012 4:53:49 AM UTC+5:30, Zach Smith wrote:

Tyler Renelle

unread,
Dec 31, 2012, 9:50:36 AM12/31/12
to der...@googlegroups.com
Not digging the derbyjs.com tutorial?

Tony Brown

unread,
Dec 31, 2012, 11:41:26 AM12/31/12
to der...@googlegroups.com
The one on the site is cool, but looking for more?
--
Sincerely, 

Tony Brown

cell: 978.771.7673  |  home: 978.794.1097  |  twitter:   https://twitter.com/pixelBender67
 

mayur...@avinashi.com

unread,
Jan 2, 2013, 4:46:05 AM1/2/13
to der...@googlegroups.com
Ya..looking something more than this in easy and in quite understable language for beginners.

I am quite good at javascript/nodeJs, but when i started with derby.js, i find that document available on derbyJs.com hard to start for beginner level person. I found many similar forum post for this same question. So, any other good example or document to start with derby, will be great help for all.!!

Thanks.

John Fletcher

unread,
Jan 2, 2013, 8:03:30 AM1/2/13
to der...@googlegroups.com
He is right.

Tony Brown

unread,
Jan 2, 2013, 9:17:36 AM1/2/13
to der...@googlegroups.com
That's what I'm sayin' :p
--
Sincerely, 

Tony Brown
Reply all
Reply to author
Forward
Message has been deleted
0 new messages