Suppose I wish to create a 100% JS native app.

8 views
Skip to first unread message

ArielBH

unread,
Jan 30, 2011, 4:15:00 PM1/30/11
to UI Binders
Suppose I am to develop a pure client side app using HTML5, JS,
knockout/Backbone and html5 database.

Where should I start?

Ariel

EisenbergEffect

unread,
Jan 30, 2011, 5:26:08 PM1/30/11
to UI Binders
Unfortunately, there aren't a lot of resources out there for this kind
of thing. The first thing I did when I started researching for the
framework I am working on is to investigate large scale javascript
development. That basically took me to CommonJS. I recommend starting
there and becoming familiar with modules and the various
implementation of those specs.

Paul Betts

unread,
Jan 30, 2011, 7:55:39 PM1/30/11
to UI Binders
> Suppose I am to develop a pure client side app using HTML5, JS,
> knockout/Backbone and html5 database.

I was actually surprised to see that this approach almost never taken
- I
researched into how people were writing Chrome Web Apps
(https://chrome.google.com/webstore), and they were all essentially
server-side traditional web applications; the code they deliver in the
package
was just a stub / loader. This could be solely due to the fact that
this
is easiest for existing sites, but it was nevertheless surprising.

Are there significant advantages to thinking in this very "Desktop'y"
way,
given that you're probably still having to sync your data back up to
the
server side?

--
Paul Betts <pa...@paulbetts.org>

yaniv

unread,
Jan 31, 2011, 3:54:26 AM1/31/11
to UI Binders
1. First think you should learn jQuery
I think the pure native js is no more, because jQuery (which is based
on js) is much simpler and nicer
2. Second thing you should install firebug (which is a firefox plugin)
3. You might be interesting in Google App Engine for server side
database. It is cloudy, simple and free for low traffic

keif

unread,
Jan 31, 2011, 10:28:26 AM1/31/11
to UI Binders
Yaniv, I think learning *any* JavaScript framework would be a better
place. jQuery is really written to support the kind of "pure JS
application development" for someone just starting out (large-scale
apps are possible, just if you aren't familiar with the framework,
you'll be doing yourself/jQuery a disservice).

If I was to go pure-JS, I'd go with something that supports a more
class-based approach like Dojo or MooTools.

Of course, if you're going small-scale, jQuery will probably be fine,
but here's an article that goes in detail for large scale jQuery:
http://addyosmani.com/blog/large-scale-jquery/

-kb

yaniv

unread,
Jan 31, 2011, 10:50:51 AM1/31/11
to UI Binders
Did you use Dojo or MooTools ? Do you know anyone using them for large
scale apps ? It could make some interesting conversations
Ext-js has a nice framework, but still I do not know anyone using it
(http://www.sencha.com/products/js)

I played with them a bit and saw people using them...They reverted
quickly to something more standard
I am using jQuery for real large scale applications and it's ok. It
does not bother you much...

Yaniv
Reply all
Reply to author
Forward
0 new messages