Friday, October 29, 2010

Re: Converting Django to Desktop App? (Multiple Instances)

On 29/10/2010 6:33pm, Victor Hooi wrote:
> Hi,
>
> This is a bit of a strange scenario.
>
> We have a simple Django application used to maintain a database of
> newspaper/journal articles. We're extensively using the django-admin
> as part of this app.
>
> Currently, we're having issues getting a production environment with
> Python provisioned (corporate environment, locked technology roadmap
> etc.), however, we will have access to a Oracle database instance.
>
> One possibility raised was that for each of the clients (fairly small,
> under 5), we install a local instance of Django and Apache, which they
> access with their browser, and each of these instances communicates
> with a single Oracle DB instance.

That looks a bit 'under the radar' with regard to locked roadmap etc.
Why not dig the pit a bit deeper and make your own server with Apache,
Django and your Oracle db. Much cleaner than Apache/Django everywhere.

With only 5 users presumably all inside the perimeter you could set it
up on a well endowed desktop machine. I would be tempted to put it all
in a VirtualBox running Linux so there wouldn't be any Apache production
disclaimers relating to Windows. I'm assuming corporate environment ==
Microsoft. Also, if a hole in the locked roadmap emerged in future you
have a VM ready to roll.

My 2c

Mike
>
> I know on the Rails side, there was a product by Joyent called
> Slingshot (http://joyeur.com/2007/03/22/joyent-slingshot/), which
> allegedly did something similar (packaged up a RoR app into a desktop
> application).
>
> Are there any particular issues we need to be aware of if we decided
> to go down this path?
>
> In particular, I wasn't sure how multiple instances of Django would
> handle concurrency if they were communicating with a single database.
> Any advice there?
>
> Any other possible drawbacks/roadblocks?
>
> Cheers,
> Victor
>

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

No comments:

Post a Comment