I'm planning a single-page realtime application that I want to write in node (with express+connect+socket.io and so on). That said, I want to write the 'support code/website aspect' with django. What I mean by 'support code/website aspect' is things like:
- frontpage & other static pages and content - support forum - sign-up flow - contact forms etc. - faq - blog - backend account management (mailing/payment/subscription etc.) i.e., all of the extra front-of-house stuff that goes along with the app. So when the user signs up they deal with django, then they are entirely handed off to node when using the actual application (probably on a subdomain or different domain - similar to how Harvest works) I have two questions: 1. Is this crazy? I thought that this was the most logical approach. Some of the reasons: - Django is quick to set and prototype with. - Django is mature in regard to this DB driven/CMS stuff like this - There are loads of existing applications for many of these requirements - The django-admin makes this very easy and makes overall management easy - This loose coupling allows flexibility and division between the application itself as well as the management/support aspect - I'm extremely familiar with it and can work quickly with it! After looking for others who have implemented a setup like this, or any direction on the topic, it seems like it's not a very common approach though. 1. If this isn't crazy, how would I go about sharing the sessions between the two. Is there anything out there for this? As I imagine I would be trying to sync the django user object (postgres) and a mongo object in node and somehow share it between the two as well as the sessions. In an ideal world, the user would be able to navigate between the core app (app.mygreatwidget.com) and any of the other sections of the site (mygreatwidget.com/faq or /forum etc) and be automatically logged in both. Thanks for your time, Timmy -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en