Re: WxPython and django

2011-04-01 Thread Aref
Thank you Mike. This is what I was looking for before wasting time going down a dead-end road. On Mar 31, 8:28 pm, Mike Ramirez wrote: > On Thursday, March 31, 2011 06:34:42 pm Aref Nammari wrote: > > > Hi Calvin,  I think that there is some misunderstanding about what my > > question was about.

Re: WxPython and django

2011-04-01 Thread Mike Ramirez
On Thursday, March 31, 2011 07:28:15 pm you wrote: > You'll need to rewrite the gui code. > You should be able to use the basic html, if it's html and not xml. But you'll have to strip all calls to wx to make it work. Mike -- The final delusion is the belief that one has lost all delusions.

Re: WxPython and django

2011-03-31 Thread Mike Ramirez
On Thursday, March 31, 2011 06:34:42 pm Aref Nammari wrote: > Hi Calvin, I think that there is some misunderstanding about what my > question was about. Let me try to clarify. Wxpython is a module which is > run just like any other python module. It is great for rendering forms, > widgets, frames

Re: WxPython and django

2011-03-31 Thread Aref Nammari
Hi Calvin, I think that there is some misunderstanding about what my question was about. Let me try to clarify. Wxpython is a module which is run just like any other python module. It is great for rendering forms, widgets, frames etc...and it has within it an html module. You can embed wxpython wi

Re: WxPython and django

2011-03-31 Thread Calvin Spealman
Then on what machine would the wx version run on? The user's machine or the server? If on the user's machine, how does it talk to the database? If on the server, how does the user interact with it? On Thu, Mar 31, 2011 at 9:04 AM, Aref Nammari wrote: > Calvin, > > The database as well as the djan

Re: WxPython and django

2011-03-31 Thread Aref Nammari
Calvin, The database as well as the django app sits on a server (internal--this is not meant for public access by the general public). To access the app users would have to login to the server through http and run the app from there. On 3/31/11, Calvin Spealman wrote: > Aref, > > The question I

Re: WxPython and django

2011-03-31 Thread Calvin Spealman
Aref, The question I would have is where your database sits. Is it supposed to sit on a central server? In a website, your database only needs to be accessed by machine rendering the pages. If you want the same database talking to desktop applications, you need to let those apps talk to the databa

Re: WxPython and django

2011-03-31 Thread Aref
Thanks Mike. Yes I am following the philosophy of separating things. The "GUI" is separate and resides in the templates and it simply used for data display and data entry. I keep everything modular and try not to mix functions and modules. I'll follow your ideas and see how things work. Thanks for

Re: WxPython and django

2011-03-31 Thread Aref
Thanks Mike. Yes I am following the philosophy of separating things. The "GUI" is separate and resides in the templates and it simply used for data display and data entry. I keep everything modular and try not to mix functions and modules. I'll follow your ideas and see how things work. Thanks for

Re: WxPython and django

2011-03-31 Thread Kenneth Gonsalves
On Thu, 2011-03-31 at 03:30 -0700, Aref wrote: > That's what I am looking for. Using wxpython to render some pages > (templates) especially formatting data from the database. Is there > some code snippets I can look at or maybe a tutorial to help me figure > out how to do this? use standard djang

Re: WxPython and django

2011-03-31 Thread Aref
That's what I am looking for. Using wxpython to render some pages (templates) especially formatting data from the database. Is there some code snippets I can look at or maybe a tutorial to help me figure out how to do this? thanks On Mar 30, 11:28 pm, Kenneth Gonsalves wrote: > On Wed, 2011-03-30

Re: WxPython and django

2011-03-30 Thread Kenneth Gonsalves
On Wed, 2011-03-30 at 22:24 -0400, Calvin Spealman wrote: > They are completely unrelated. WX is a library for working with > desktop-based UI toolkits, and Django is a framework for producing and > delivering HTML/CSS/JS web content to a browser. > > not really so - I remember writing apps in w

Re: WxPython and django

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 07:24:24 pm Calvin Spealman wrote: > They are completely unrelated. WX is a library for working with > desktop-based UI toolkits, and Django is a framework for producing and > delivering HTML/CSS/JS web content to a browser. > > On Wed, Mar 30, 2011 at 10:03 PM, Aref

Re: WxPython and django

2011-03-30 Thread Calvin Spealman
They are completely unrelated. WX is a library for working with desktop-based UI toolkits, and Django is a framework for producing and delivering HTML/CSS/JS web content to a browser. On Wed, Mar 30, 2011 at 10:03 PM, Aref wrote: > Hello, > > I have created a small app with wxpython to manage and

WxPython and django

2011-03-30 Thread Aref
Hello, I have created a small app with wxpython to manage and query databases and now I am learning django and was wondering if it is possible to incorporate some of the wxpython code in django. What I am trying to do is to create the same app as the one in wxpython but make it web- based rather t