webdevRefinery Forum: x.JS recommendations and comparisons - webdevRefinery Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

User is offline SapporoGuy 

  • Group: Members
  • Posts: 912
  • Joined: 10-June 11
  • LocationSonyLand

Posted 17 August 2012 - 11:58 PM (#1)

x.JS recommendations and comparisons


Now that node is proliferating I've been wondering what everybody thinks of the various options to choose from.

Backbone, express, sprout core, ember and what not.

What are your opinions?
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 18 August 2012 - 12:04 AM (#2)

Isn't backbone a JS front-end framework? Express is great, the only one I have any expirence with though. I just really want one that can handle my models and validations, it becomes a huge issue when trying to make a form. Used to simplistic rails!
Reserved.
0


User is offline SapporoGuy 

  • Group: Members
  • Posts: 912
  • Joined: 10-June 11
  • LocationSonyLand

Posted 18 August 2012 - 12:30 AM (#3)

From my understanding all of the above are what you called "front end" frameworks. I read an article that suggested ember.js over the others but I have no clue :(

Ember was actually sprout core 2.o fork. Sprout core powers a lot of Apple's site (or did).
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 18 August 2012 - 01:04 AM (#4)

View PostSapporoGuy, on 18 August 2012 - 12:30 AM, said:

From my understanding all of the above are what you called "front end" frameworks. I read an article that suggested ember.js over the others but I have no clue :(

Ember was actually sprout core 2.o fork. Sprout core powers a lot of Apple's site (or did).

Express runs a server in node, you can't do that on a client's computer via JS in the browser.
Reserved.
0


User is offline markbrown4 

  • Group: Members
  • Posts: 388
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML,CSS,Javascript,Ruby on Rails,Graphics

Posted 18 August 2012 - 01:37 AM (#5)

View PostSapporoGuy, on 17 August 2012 - 11:58 PM, said:

Now that node is proliferating I've been wondering what everybody thinks of the various options to choose from.

Backbone, express, sprout core, ember and what not.

What are your opinions?

Like Empty says, Express is a server-side framework for handling routes / rendering.
That's the only one specific to node.

Backbone and Ember are very comparable, relatively light-weight MVC frameworks purely client-side with methods to deal with a JSON API on the server.

Haven't used SproutCore but it looks to be a lot more complicated than the other two.

--

You'll definitely want a server-side framework like express if you're using node.
Whether you use a client-side framework like backbone or ember depends on you and the type of application you're building.

You don't necessarily need a client-side MVC framework as well.
0


User is offline SapporoGuy 

  • Group: Members
  • Posts: 912
  • Joined: 10-June 11
  • LocationSonyLand

Posted 18 August 2012 - 01:59 AM (#6)

Ugh! I'm so stuck in php thought that I'm getting confused. Or I should say, I'm a hands on idea guy rather than a theory based learner :)

Here's what I'm going to make:
A seating chart for a classroom that is click a drag changeable.

Once seating has been assigned from a list of students, I want to add in the ability to tap/click on student for attendance and eventually daily grading.

Obviously at first a web based app but later want to be able to access from phone/tablet for instant logging. I'm sick and tired of having to transfer my written attendance and grade records to the school's end of semester grading sheet. I'd rather just print out the record and in a worst case scenario fill in the schools paper at the end of the term.

So, am I looking at a client side, server side and using ruby/php/python to open up the API or can I just use a pure node.js approach?
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 18 August 2012 - 02:56 AM (#7)

View PostSapporoGuy, on 18 August 2012 - 01:59 AM, said:

So, am I looking at a client side, server side and using ruby/php/python to open up the API or can I just use a pure node.js approach?

Of course you could use node.js :P it would probably be better to use once of the above though, I know Rails has amazing API support which is what Ember and Backbone rely on. Express is like Rails, server side. So we can role that one out for you :P
Reserved.
0


User is offline SapporoGuy 

  • Group: Members
  • Posts: 912
  • Joined: 10-June 11
  • LocationSonyLand

Posted 18 August 2012 - 03:22 AM (#8)

Are you saying that you can mix express with backbone?

After that thread on php I've been really wanting to just step away from that language for awhile and learn node + possibly ruby. Nothing against python but I've had enough of pascal/fortran spacing issue ;)
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 18 August 2012 - 03:26 AM (#9)

View PostSapporoGuy, on 18 August 2012 - 03:22 AM, said:

Are you saying that you can mix express with backbone?

Yeah, no problem. Express would handle the API, the server. Backbone would handle the client. the HTML, the site.
Reserved.
0


User is offline SapporoGuy 

  • Group: Members
  • Posts: 912
  • Joined: 10-June 11
  • LocationSonyLand

Posted 18 August 2012 - 04:07 AM (#10)

Hmmm, sounds yummy!

So where does ruby/rails come into play then?
0


User is offline TheEmpty 

  • I say words in sequences.
  • Group: Members
  • Posts: 5154
  • Joined: 02-October 10
  • Expertise:HTML,CSS,PHP,Java,Javascript,Python,Ruby on Rails,SQL

Posted 18 August 2012 - 04:30 AM (#11)

View PostSapporoGuy, on 18 August 2012 - 04:07 AM, said:

Hmmm, sounds yummy!

So where does ruby/rails come into play then?

The application would be built in ruby/rails, but you would have backbone in javascript assets and use it in the views.

I haven't read this, but it's on my list: http://www.jamesyu.o...ial-by-example/
Reserved.
0


User is offline markbrown4 

  • Group: Members
  • Posts: 388
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML,CSS,Javascript,Ruby on Rails,Graphics

Posted 18 August 2012 - 04:43 AM (#12)

View PostTheEmpty, on 18 August 2012 - 04:30 AM, said:

The application would be built in ruby/rails, but you would have backbone in javascript assets and use it in the views.

I haven't read this, but it's on my list: http://www.jamesyu.o...ial-by-example/

Or this ;) http://webdevrefiner...853-backbonejs/
0


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Enter your sign in name and password


Sign in options
  Or sign in with these services