Re: Build mobile apps for DJango sites — Would XML/JSON passing be the best approach?

2011-11-21 Thread esatterwh...@wi.rr.com
I'll have ot agree with the Andre. I had a pretty large django project
That I wanted to "Make Mobile".

I used
minidetector to determine mobile browsers
http://code.google.com/p/minidetector/

tastypie to feed data

sencha touch to build a UI based on the data from tasty pie.
http://www.sencha.com/products/touch/

I had a fully functional mobile version of the site done over a
weekend.
Tastypie was a critical piece, and sencha touch is basically data
( json ) driven.

Although cheap and dirty rather that set up different wsgi apps for
mobile / desktop, If the user was a mobile user I basically reset the
template_dir to point to a different directory for mobile. Sencha
touch is a single page app, so I only have to make 1 new template.
On Nov 21, 4:21 am, Alec Taylor  wrote:
> Good evening,
>
> I am strongly considering building my project using DJango.
>
> My project will provide a web-interface and a mobile app.
>
> I was thinking to build the mobile app from XML sheets, i.e.:
>
> 
>
> 
> text here
> text here
> text here
> text here
> text here
> 
>
> Then I could easily parse the XML file using Qt and display it in a
> neat way in the mobile app.
>
> I'm not sure if this is the best approach, so am open to recommendations.
>
> Thanks for all suggestions,
>
> Alec Taylor

-- 
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.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Build mobile apps for DJango sites — Would XML/JSON passing be the best approach?

2011-11-21 Thread Andre Terra
You could probably use some help with the API.

https://github.com/toastdriven/django-tastypie


Cheers,
AT

On Mon, Nov 21, 2011 at 8:21 AM, Alec Taylor  wrote:

> Good evening,
>
> I am strongly considering building my project using DJango.
>
> My project will provide a web-interface and a mobile app.
>
> I was thinking to build the mobile app from XML sheets, i.e.:
>
> 
>
> 
> text here
> text here
> text here
> text here
> text here
> 
>
> Then I could easily parse the XML file using Qt and display it in a
> neat way in the mobile app.
>
> I'm not sure if this is the best approach, so am open to recommendations.
>
> Thanks for all suggestions,
>
> Alec Taylor
>
> --
> 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.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Build mobile apps for DJango sites — Would XML/JSON passing be the best approach?

2011-11-21 Thread Alec Taylor
Good evening,

I am strongly considering building my project using DJango.

My project will provide a web-interface and a mobile app.

I was thinking to build the mobile app from XML sheets, i.e.:




text here
text here
text here
text here
text here


Then I could easily parse the XML file using Qt and display it in a
neat way in the mobile app.

I'm not sure if this is the best approach, so am open to recommendations.

Thanks for all suggestions,

Alec Taylor

-- 
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.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.