Aw: Re: can django be used in destop application?
if you still want to go down the "use django for desktop application" road, you might want to have a look at pyjamas to build your frontend: pyjs.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/u3zaVxjSLoMJ. 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: can django be used in destop application?
On Tue, 2011-08-23 at 18:36 +0100, Cal Leeming [Simplicity Media Ltd] wrote: > Curious concept, using Django for a desktop application. > > Can't think of any reason why you couldn't at least try it :) > use wxpython instead of templates. -- regards Kenneth Gonsalves -- 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: can django be used in destop application?
I remember "way back in the day" when Userland was paving way for what was to become xml-rpc, feeds etc ( if I remeber correcly ), the core was a web application running at localhost only. Worked great! I like the idea and allready have a project for something like this. I've tried wxpython, pyqt etc and I still make stuff way faster using django. It doesn't fit every project though. And another thing; there have been discussion about how to distribute django projects and a django project distributed as a single binary, a setup.exe on windows for instance? Sounds nice. Thomas On Wed, Aug 24, 2011 at 11:18 AM, Gelonida Nwrote: >> Curious concept, using Django for a desktop application. >> >> Can't think of any reason why you couldn't at least try it :) >> >> Cal >> >> > Original poster was rather clear I think, > >> > it seems its orm can be used in destop application, isn't it? > > > It could make sense to use Django orms, because one knows already django > orms, but one doesn't know SqlAlchemy or any other orms. > > This use case is possible, but not that nicely supported. > you. > > > You can also search for the thread > "import django models without runing the server", > > which would also be applicable for desktop applications using > django orms > > > On 08/23/2011 07:36 PM, Cal Leeming [Simplicity Media Ltd] wrote: > > -- > 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. > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- 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: can django be used in destop application?
> Curious concept, using Django for a desktop application. > > Can't think of any reason why you couldn't at least try it :) > > Cal > > Original poster was rather clear I think, > > it seems its orm can be used in destop application, isn't it? It could make sense to use Django orms, because one knows already django orms, but one doesn't know SqlAlchemy or any other orms. This use case is possible, but not that nicely supported. you. You can also search for the thread "import django models without runing the server", which would also be applicable for desktop applications using django orms On 08/23/2011 07:36 PM, Cal Leeming [Simplicity Media Ltd] wrote: -- 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: can django be used in destop application?
Better yet, http://www.riverbankcomputing.co.uk/software/pyqt/download Cheers, AT On Tue, Aug 23, 2011 at 8:59 PM, Sam Walterswrote: > Seriously why bother? > > http://www.wxpython.org/ > > The whole front end of django is too web-centric. So the only thing > that might be of use is if you have an existing web application which > heavily uses the django ORM and you want back end consistency with a > desktop GUI application that shares thee same database. > > Writing an application with wx-python is less time consuming than > dealing with css+html you wont have the same issues to consider when > thinking about security. wx-python is a 2-3 week learning curve to > become proficient and lots of tutorials out there. > > > > On Wed, Aug 24, 2011 at 5:50 AM, h3 wrote: > > Django is modular enough that most of its parts could probably be > > replaced with desktop oriented > > modules, like rendering QT templates instead of HTML templates.. which > > is great. > > > > If not you can probably use a embed browser engine (like webkit) and > > run your app like a website > > locally and get somewhat the look and feel of a desktop application. > > > > That said, your real problem will arise when your application will > > need to do things that doesn't adhere to > > the REST api. Then you'll need to find a way to save your application > > state and that's pretty much > > when shit will hit the fan IMHO. > > > > If the desktop application(s) you want to build are all easily > > translatable for the web (using a REST api that is), > > I think it's theoretically possible. But try to do anything out of > > this scope and you will bitten at every corners. > > > > In other words, not really worth the troubles. > > > > regards, > > > > Max > > > > > > On Aug 23, 1:36 pm, "Cal Leeming [Simplicity Media Ltd]" > > wrote: > >> Curious concept, using Django for a desktop application. > >> > >> Can't think of any reason why you couldn't at least try it :) > >> > >> Cal > >> > >> On Tue, Aug 23, 2011 at 3:49 PM, Andy McKay wrote: > >> > >> > On 2011-08-23, at 4:17 AM, smith jack wrote: > >> > >> > > i mean not use django for web site development, but for desktop > >> > application, > >> > > it seems its orm can be used in destop application, isn't it? > >> > >> > Yes. > >> > -- > >> > Andy McKay > >> > a...@clearwind.ca > >> > twitter: @andymckay > >> > >> > -- > >> > 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. > > > > > > -- > 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.
Re: can django be used in destop application?
Seriously why bother? http://www.wxpython.org/ The whole front end of django is too web-centric. So the only thing that might be of use is if you have an existing web application which heavily uses the django ORM and you want back end consistency with a desktop GUI application that shares thee same database. Writing an application with wx-python is less time consuming than dealing with css+html you wont have the same issues to consider when thinking about security. wx-python is a 2-3 week learning curve to become proficient and lots of tutorials out there. On Wed, Aug 24, 2011 at 5:50 AM, h3wrote: > Django is modular enough that most of its parts could probably be > replaced with desktop oriented > modules, like rendering QT templates instead of HTML templates.. which > is great. > > If not you can probably use a embed browser engine (like webkit) and > run your app like a website > locally and get somewhat the look and feel of a desktop application. > > That said, your real problem will arise when your application will > need to do things that doesn't adhere to > the REST api. Then you'll need to find a way to save your application > state and that's pretty much > when shit will hit the fan IMHO. > > If the desktop application(s) you want to build are all easily > translatable for the web (using a REST api that is), > I think it's theoretically possible. But try to do anything out of > this scope and you will bitten at every corners. > > In other words, not really worth the troubles. > > regards, > > Max > > > On Aug 23, 1:36 pm, "Cal Leeming [Simplicity Media Ltd]" > wrote: >> Curious concept, using Django for a desktop application. >> >> Can't think of any reason why you couldn't at least try it :) >> >> Cal >> >> On Tue, Aug 23, 2011 at 3:49 PM, Andy McKay wrote: >> >> > On 2011-08-23, at 4:17 AM, smith jack wrote: >> >> > > i mean not use django for web site development, but for desktop >> > application, >> > > it seems its orm can be used in destop application, isn't it? >> >> > Yes. >> > -- >> > Andy McKay >> > a...@clearwind.ca >> > twitter: @andymckay >> >> > -- >> > 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. > > -- 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: can django be used in destop application?
Django is modular enough that most of its parts could probably be replaced with desktop oriented modules, like rendering QT templates instead of HTML templates.. which is great. If not you can probably use a embed browser engine (like webkit) and run your app like a website locally and get somewhat the look and feel of a desktop application. That said, your real problem will arise when your application will need to do things that doesn't adhere to the REST api. Then you'll need to find a way to save your application state and that's pretty much when shit will hit the fan IMHO. If the desktop application(s) you want to build are all easily translatable for the web (using a REST api that is), I think it's theoretically possible. But try to do anything out of this scope and you will bitten at every corners. In other words, not really worth the troubles. regards, Max On Aug 23, 1:36 pm, "Cal Leeming [Simplicity Media Ltd]"wrote: > Curious concept, using Django for a desktop application. > > Can't think of any reason why you couldn't at least try it :) > > Cal > > On Tue, Aug 23, 2011 at 3:49 PM, Andy McKay wrote: > > > On 2011-08-23, at 4:17 AM, smith jack wrote: > > > > i mean not use django for web site development, but for desktop > > application, > > > it seems its orm can be used in destop application, isn't it? > > > Yes. > > -- > > Andy McKay > > a...@clearwind.ca > > twitter: @andymckay > > > -- > > 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.
Re: can django be used in destop application?
Curious concept, using Django for a desktop application. Can't think of any reason why you couldn't at least try it :) Cal On Tue, Aug 23, 2011 at 3:49 PM, Andy McKaywrote: > > On 2011-08-23, at 4:17 AM, smith jack wrote: > > > i mean not use django for web site development, but for desktop > application, > > it seems its orm can be used in destop application, isn't it? > > Yes. > -- > Andy McKay > a...@clearwind.ca > twitter: @andymckay > > > -- > 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.
Re: can django be used in destop application?
If ORM is what you are looking for, then you could try SQLAlchemy. On Tue, Aug 23, 2011 at 4:47 PM, smith jackwrote: > i mean not use django for web site development, but for desktop > application, > it seems its orm can be used in destop application, isn't it? > > -- > 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. > > -- Thanks, Subhranath Chunder. www.subhranath.com -- 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: can django be used in destop application?
I had written something about this earlier, Although the article is in Turkish, you can still understand the django part I guess. It demonstrates how to use django component with other applications, by creating a dummy package manager. http://yasar.serveblog.net/post/djangoda-paket-yoneticisi-yapalm/ 2011/8/23 Andy McKay> > On 2011-08-23, at 4:17 AM, smith jack wrote: > > > i mean not use django for web site development, but for desktop > application, > > it seems its orm can be used in destop application, isn't it? > > Yes. > -- > Andy McKay > a...@clearwind.ca > twitter: @andymckay > > > -- > 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. > > -- http://yasar.serveblog.net/ -- 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: can django be used in destop application?
On 2011-08-23, at 4:17 AM, smith jack wrote: > i mean not use django for web site development, but for desktop application, > it seems its orm can be used in destop application, isn't it? Yes. -- Andy McKay a...@clearwind.ca twitter: @andymckay -- 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.
can django be used in destop application?
i mean not use django for web site development, but for desktop application, it seems its orm can be used in destop application, isn't it? -- 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.