Re: django for non-web apps

2008-01-21 Thread Steven Armstrong
dlc wrote on 01/22/08 00:40: > How does authentication work? > > I want to build apps with both web and CLI interfaces, with nearly > 100% overlap in functionality between the two interfaces. I'm a CLI > snob but I also need GUI to "sell" my projects to the rest of the > team. We use LDAP/Kerbe

Re: django for non-web apps

2008-01-21 Thread [EMAIL PROTECTED]
Could authenticate the CLI version by recording the users on the system that have access and do authentication through the os module's getlogin()? On Jan 21, 3:53 pm, Derek Anderson <[EMAIL PROTECTED]> wrote: > well it's a desktop app, so i don't use any authentication. > > but my guess is you ca

Re: django for non-web apps

2008-01-21 Thread Derek Anderson
well it's a desktop app, so i don't use any authentication. but my guess is you can prompt at the command line, and use most of django's auth system. dlc wrote: > How does authentication work? > > I want to build apps with both web and CLI interfaces, with nearly > 100% overlap in functionali

Re: django for non-web apps

2008-01-21 Thread dlc
How does authentication work? I want to build apps with both web and CLI interfaces, with nearly 100% overlap in functionality between the two interfaces. I'm a CLI snob but I also need GUI to "sell" my projects to the rest of the team. On Jan 21, 12:12 am, Derek Anderson <[EMAIL PROTECTED]>

Re: django for non-web apps

2008-01-21 Thread Derek Anderson
Steven Armstrong wrote: > May I ask why you are using deseb instead of django-evolution [1]? > > Pros, cons? > > [1] http://code.google.com/p/django-evolution/ well, for pros, because i think deseb is easier to use, and significantly more reliable when you use the md5-checksumed schema verifi

Re: django for non-web apps

2008-01-21 Thread Steven Armstrong
Derek Anderson wrote on 01/21/08 09:12: > hey all, > > i'm prob. not the first to do this, but i don't know of anyone else who > has so i thought i'd mention it. > > i've used django's database and ORM layers as the backend to a new pygtk > app. (all over a sqlite db) it has worked wonders a

Re: django for non-web apps

2008-01-21 Thread Steven Armstrong
Jeff Anderson wrote on 01/21/08 09:30: > Derek Anderson wrote: >> hey all, >> >> i'm prob. not the first to do this, but i don't know of anyone else >> who has so i thought i'd mention it. >> >> i've used django's database and ORM layers as the backend to a new >> pygtk app. (all over a sqlite

Re: django for non-web apps

2008-01-21 Thread Jeff Anderson
Derek Anderson wrote: hey all, i'm prob. not the first to do this, but i don't know of anyone else who has so i thought i'd mention it. i've used django's database and ORM layers as the backend to a new pygtk app. (all over a sqlite db) it has worked wonders and allowed me to focus my tim

django for non-web apps

2008-01-21 Thread Derek Anderson
hey all, i'm prob. not the first to do this, but i don't know of anyone else who has so i thought i'd mention it. i've used django's database and ORM layers as the backend to a new pygtk app. (all over a sqlite db) it has worked wonders and allowed me to focus my time on the UI, not writing

Re: django for non-web apps?

2006-11-01 Thread sago
I've used Django as a web-service server. Still using HTTP, but with XML (sometime SOAP, but mainly custom dialects). I've then built other front-ends onto this using GUI technologies, rather than web-based. Its something I fell into from neccesity, but has been a practical and efficient way to

Re: django for non-web apps?

2006-10-31 Thread Oliver Lavery
Hi,Yeah, it could be really useful if you want to build a your standard enterprise GUI database front-end, for example. Just discard the view and template layers, and use models to simplify interacting with the database. Django is so nicely decoupled that you can just as easily use the model layer

Re: django for non-web apps?

2006-10-31 Thread Guillermo Fernandez Castellanos
Well... I'm not sure you need to mimic anything. Let's take an example: class Friend(models.Model): name = models.CharField(maxlength=79) Now suppose I do a function like this: def names(): for friend in Friend.objects.all(): print friend.name if '__main__'==__name__: names()

Re: django for non-web apps?

2006-10-31 Thread Rob Hudson
I think the tricky part is what Guillermo is saying. All views take a request object and return a response object. You'd have something that would have to mimic HTTP requests and work with HTTP responses. At that point it seems like you should just create your MVC pattern-based app using an ORM

Re: django for non-web apps?

2006-10-31 Thread Guillermo Fernandez Castellanos
It's something I've often though about. I've used databases in many projects, both web and not-web based. And I am now sure that Django would have been a great help in those non-web applications as well. The problem would then be to strip Django of all those web-specific libraries it's bundled w

django for non-web apps?

2006-10-31 Thread walterbyrd
Django is called "The Web framework . ." Does django also make sense for non-web apps? --~--~-~--~~~---~--~~ 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@google