Hi
FWIW an approach I have taken is to split the app into two components, one is a
REST based API (developed in Java, but you could use Django), and a website
developed with Django. The website renders pages of content (all SEO friendly,
with known urls), all interactive JS is provided by jque
The idea is to generate pure HTML views for non JS clients like search bots. If
your view depends on AJAX calls, then it defies the purpose.
I've been developing native mobile apps for the past year, so I get your
argument about providing REST end points for your data.
The point of my original
Hi ,
Why not using REST for serving your data to the Front End app, it can be
from mobile app or just web app with HTML + javascript.
With that you don't need to worry about redo the template side in django
and in your front end js app.
With REST serving JSON, no template / html needed for the re
In the end, my project stalled due to lack of resources. We might pick it up
but it's been abandoned for quite some time. I haven't had any django projects
since. Hence, I can't make any recommendations.
DjangoAjax looks promising but might lack the community support you expect. It
is however b
Have a look at following Unobtrusive Ajax, it is plug out of ASP.NET MVC,
simple yet powerful.
https://github.com/farazmasoodkhan/DjangoAjax
On Tuesday, September 4, 2012 6:39:49 PM UTC+5, dotnetCarpenter wrote:
>
> Hi all.
>
> I'm new here and just took over a Django project for the first tim
By writing a custom serialization for your models you have a good place to
handle variations to those models. You don't really have to dump all of
your fields, you can even create a custom field specifically for the
frontend, but doesn't really exists in your backend model.
Besides, If and whe
Hi Jon,
I was just wondering if you made a decision on this? I'm looking at a
similar approach and am wondering what direction you ended up taking and
why?
Currently looking at Knockout myself but open to suggestions.
Thanks!
--Martha
On Thursday, September 6, 2012 4:30:30 AM UTC+1, dotne
@Kelly Nicholes In backbone.js everything is in JS, meaning that there
could be no conflict between declarative code and Django handled templates.
If I can expose my python models, through auto serialization (JSON) from
Django, I can see a productivity win. But I'm a little afraid of the tight
@Peith Yes, I can see the advantage of not having to spend time working out
template conflicts. But you'll have to write two sets of template code,
right? One for Django and one for KnockoutJS. Or am I missing something?
Cheers, Jon
Den tirsdag den 4. september 2012 16.38.29 UTC+2 skrev Peith:
Hi vicherot.
I'm interested to know how you made the distinction between your dhtml/
part of your site to the shtml/ part. It looks like you pretty much used
the same code base to generate the 2 versions. Can you elaborate on the
Django specific parts of your implementation?
Cheers, Jon
Den t
Wow - a lot of answers. Great community!
First of all, just to clearify. My aim is to have smooth user experience
while utilizing Django and replicate as little code as possible on the
client and the server. Think, reuse of server code on the client.
I've looked at AngularJS and it has a render
I am not sure what you are exactly trying to achieve. A more issue specific
topic would have been easy to understand though i can suggest you following
frameworks (in particular order):
1. KnockoutJS
2. BackboneJS
3. Cappucino
4. Ember.Js
5. Sammy.JS
6. Spine.JS
7. JavascriptMVC
On Wed, Sep 5, 20
It would be a travesty to not mention backbone.js.
On Tuesday, September 4, 2012 7:39:49 AM UTC-6, dotnetCarpenter wrote:
>
> Hi all.
>
> I'm new here and just took over a Django project for the first time. I'm
> still getting to grip with Django but as a front end dev for the past 5
> years, I'
Am Dienstag, den 04.09.2012, 17:37 +0100 schrieb Tom Evans:
> On Tue, Sep 4, 2012 at 4:48 PM, Paul Menzel wrote:
> > Am Dienstag, den 04.09.2012, 12:08 -0300 schrieb Rafael E. Ferrero:
> >> Sorry paul... my bad... "without any problem" i mean.
> >>
> >> extract of index.html:
> >>
> >> >> "http:/
On Tue, Sep 4, 2012 at 4:48 PM, Paul Menzel wrote:
> Am Dienstag, den 04.09.2012, 12:08 -0300 schrieb Rafael E. Ferrero:
>> Sorry paul... my bad... "without any problem" i mean.
>>
>> extract of index.html:
>>
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> http://www.w3.org/19
Op 4 sep. 2012 16:38 schreef "Peith Vergil" het
volgende:
>
> i've been playing with KnockoutJS lately.
+1 on knockout.
>
> --
> You received this message because you are subscribed to the Google Groups
"Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
>
Am Dienstag, den 04.09.2012, 12:08 -0300 schrieb Rafael E. Ferrero:
> Sorry paul... my bad... "without any problem" i mean.
>
> extract of index.html:
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
>
>
> ..
Sorry paul... my bad... "without any problem" i mean.
extract of index.html:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
...
do you see something wrong there, maybe a mistake??
2012/9/4 Paul Menzel
>
> Dea
Dear Rafael,
Am Dienstag, den 04.09.2012, 11:55 -0300 schrieb Rafael E. Ferrero:
> men, i use Jquery on www.expoferiasg.com.ar and works quite well..
> with any problem.
s,with,without,?
Additionally your site does not tell my browser what character set it is
using and therefore all special sig
men, i use Jquery on www.expoferiasg.com.ar and works quite well.. with any
problem.
2012/9/4 Peith Vergil
> i've been playing with KnockoutJS lately. one thing i like about it is
> that it's built-in templating engine has a different syntax than Django's,
> so there shouldn't have any conflict.
i've been playing with KnockoutJS lately. one thing i like about it is that
it's built-in templating engine has a different syntax than Django's, so
there shouldn't have any conflict.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
On 2012/09/04 03:39 PM, dotnetCarpenter wrote:
I'm new here and just took over a Django project for the first time. I'm
still getting to grip with Django but as a front end dev for the past 5
years, I'm also looking for a client-side library/framework to go
together with my project.
AngularJS
Why?
On Tue, Sep 4, 2012 at 10:23 AM, Alec Taylor wrote:
> AngularJS?
>
>
> On Tue, Sep 4, 2012 at 11:39 PM, dotnetCarpenter > wrote:
>
>> Hi all.
>>
>> I'm new here and just took over a Django project for the first time. I'm
>> still getting to grip with Django but as a front end dev for the p
AngularJS?
On Tue, Sep 4, 2012 at 11:39 PM, dotnetCarpenter
wrote:
> Hi all.
>
> I'm new here and just took over a Django project for the first time. I'm
> still getting to grip with Django but as a front end dev for the past 5
> years, I'm also looking for a client-side library/framework to go t
Hi all.
I'm new here and just took over a Django project for the first time. I'm
still getting to grip with Django but as a front end dev for the past 5
years, I'm also looking for a client-side library/framework to go together
with my project.
My requirements for a JS framework is that it:
25 matches
Mail list logo