Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion template logic vs AJAX newbie seeks advice
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Reinout van Rees  
View profile  
 More options May 5 2012, 3:07 pm
From: Reinout van Rees <rein...@vanrees.org>
Date: Sat, 05 May 2012 21:07:55 +0200
Local: Sat, May 5 2012 3:07 pm
Subject: Re: template logic vs AJAX newbie seeks advice
On 04-05-12 19:15, Etienne B. Roesch wrote:

> Thanks for the link to your post Reinout!

> So, have you made a decision about the way to go for your application?

For the near future we're sticking with templates, but with javascript
for the spots where we need it (we'll use backbone to clean up on part
of the UI).

> I like the idea of using two different systems from the backend and the
> frontend. I am new to django (a month+), but I don't think there was
> ever a doubt in mind that my frontend would be .js based, and I liked
> that django dev let /static to be dealt with by say plain Apache,
> instead of enforcing python for that too.

And... with django's staticfiles handling you can even bundle
js/css/images per app and Django'll combine it all together. Works great.

> As I said, I am new to django, but I have done some experiments (wrote
> my own little hello world app, moved on to deploying mezzanine to
> dotcloud), and as I understand django is meant to be a flexible system
> to handle data, and was never meant to be a flexible frontend, right?

Django has always been frontend-agnostic. There's only the admin
interface, for the rest you have to build everything yourself.

> Now, even though I do like the proper tools for the proper jobs, the
> perspective of maintaining two systems built on different technologies
> raises red flags. What do people think?

Well, if the separation is clean enough, it is fine. Just make sure you
don't tie them together too much.

Reinout

--
Reinout van Rees                    http://reinout.vanrees.org/
rein...@vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.