Hey, really interesting stuff here.I like how you tried to keep the dependencies minimal. However, here are my thoughts for what, in my opinion, could make this better
- Use something sexier than ExtJS. Like Angular.js or Ember.js. Better yet, all 3.
- Use Grunt for front-end assets management
- Add necessary files for deployement to Nodejitsu and Joyent in addition to Heroku
- Use 2 spaces indentation for javascript
Thanks for your inputs alex's.In my book, jade sucks ass, as does any templating on the server-side.
So you see, opinions infer. My suggestion to use javascript MV* frameworks is in fact because they are so hip. Alexander is trying to gather interest, this is probably the best way.for code formatting, just feed your code through jshint or jslint. This is the standard for javascript.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/yjyHVWlDPjU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
Hi Vipin,
It's nott really related to the ttemplates. You can look into the sample app about how to query ES instance via the REST api. As soon as you have API result, you can then use it as any variable and just insert it into the template as you like.
In our sample app we don't have server-side templating, instead we do expose our own API to the outside world, and consume it with the Ext.js application.
Hope that helps!
Cheers,
Alex.
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/yjyHVWlDPjU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4dac50e5-a292-406b-b06f-a21b5cd87c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.