Hi, I have started learning Node Js on my own & I have following scenario in which I would like to request you to give me suggestions
How can I create a Single Page App that uses jQuery, Html, CSS on client side & NodeJs plus MongoDb on the server side ? I really don't want to use any server side template like Jade. I want to use HandleBars on Clientside and not through NodeJs. I just want to use plain simple Html page & make it dynamic using jQuery. I want to use Node only to return JSON data from MongoDb. So can you please please provide me some guidance ? If you have any source code or sample project which does above, it will be of great help to me. Thanks in advance ! Regards, Abhishek Kanitkar On Friday, July 15, 2011 3:42:20 PM UTC+5:30, Miloš Rašić wrote: > > You are absolutely correct in your assumption that you can mix and match. > Personally, I'm using Appcelerator Titanium Desktop with jQuery on the > client side with PHP and NodeJS on top of MySQL database and I don't see > how there could be any problem between any combination of server-side and > client-side technologies. > > I also have to disagree with Clint about the idea that server simply > produces HTML. In my case, the server only produces JSON encoded data. This > particular detail is a very important choice you have to make when picking > a client-side library or framework. With ExtJS or SproutCore frameworks you > certainly won't be generating much HTML on the server. jQuery and YUI are > libraries and thus much lower-level and more flexible, allowing you either > generate HTML on the server or simply generate JSON or XML data and create > HTML on the client. If you wish to use a higher level framework with HTML > generated on the server, JsMVC or ukijs might be more "HTML friendly". > > On 15 July 2011 07:37, Scott Alexander <[email protected]<javascript:> > > wrote: > >> Hi - >> >> I'm new to NodeJS and trying to put together a stack for small >> database deployments (could be a single-page rich-client app), so I'm >> looking at databases that work well with NodeJS (eg, Redisql, Riak) >> and frameworks (eg, Express) - plus stuff like Connect and >> StreamlineJS.. >> >> Now I'm trying to choose some good tools for the client-side user >> interface (eg, JQuery, YUI, ExtJS) >> >> Does the choice of database and framework have any impact on the >> choice of UI? >> >> I'm leaning towards ExtJS because I'd be doing fairly data-intensive >> apps, and ExtJS has a lot of things I like (sophisticated datagrids >> with sorting, pagination, custom cell renderers/editors such as combo- >> boxes and calenders, plus a visual designer). >> >> But looking around on the web, I don't see much mention specifically >> about NodeJS and ExtJS being used together. >> >> Maybe this is just because any client-side user-interface framework >> only involves JavaScript running on client, getting and posting JSON >> back and forth to the server, so I can pretty much mix and match any >> client-side UI framework with NodeJS. (I know that >> >> Is this correct? >> >> Does anyone have any preference or suggestions regarding a nice client- >> side UI that works well with NodeJS? >> >> I guess I'm worried that the functionalities of ExtJS might somehow >> overlap the functionalities of Express or Connect. >> >> ExtJS does a lot of stuff: >> >> http://www.sencha.com/products/extjs/whats-new-in-ext-js-4/ >> >> and I'm not sure if any of this stuff might duplicate or get in the >> way of what NodeJS and its other modules do. >> >> >> Thanks for any help. >> >> -- >> 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 [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
