Re: Why Django Apps Suck

2014-05-23 Thread Delusional Insanity
I've seen enough great reusable packages for Django. I've also seen a lot of really bad packages and even have been forced to use bad apps in production, that you should really either fork or hack in a very strange way. Some awesome packages: - South https://pypi.python.org/pypi/South - django

Re: Why Django Apps Suck

2010-09-29 Thread Carles Barrobés
> Given this control flow let's try to do some of the typical > modifications mentioned above: > Authorization: > Django has a beautiful mechanism for authorization, which is using > decorators (@may_do_a_b_or_c) directly in the views.py. > Tempting, but will not be modifyable in any way once you l

Re: Why Django Apps Suck

2010-09-24 Thread Venkatraman S
On Fri, Sep 24, 2010 at 12:09 PM, Klaas van Schelven < klaasvanschel...@gmail.com> wrote: > > http://djangocon.eu/ is going to be in the spring of 2011. Let's see > how many of the "best of the bunch" are going to make it to > Amsterdam :-) > > Wanted to attend this year. Missed. How was it? -V-

Re: Why Django Apps Suck

2010-09-23 Thread Klaas van Schelven
> > Sure. However, Djangocon 2010 finished a week ago, so you're going to > have to wait until next year before we have the next serious > opportunity to do this. > http://djangocon.eu/ is going to be in the spring of 2011. Let's see how many of the "best of the bunch" are going to make it to Amst

Re: Why Django Apps Suck

2010-09-23 Thread Russell Keith-Magee
On Fri, Sep 24, 2010 at 1:41 AM, Yo-Yo Ma wrote: > Hey Russell, > > Do you think a round table discussion in a real person context with > whiteboards and the best of the bunch (ie, at Django con or similar > event) would be a good time/place to re architecture of the > abstraction layers, perhaps

Re: Why Django Apps Suck

2010-09-23 Thread Yo-Yo Ma
Hey Russell, Do you think a round table discussion in a real person context with whiteboards and the best of the bunch (ie, at Django con or similar event) would be a good time/place to re architecture of the abstraction layers, perhaps to address some of the concerns brought up in the slide show

Re: Why Django Apps Suck

2010-09-23 Thread Russell Keith-Magee
On Thu, Sep 23, 2010 at 5:55 PM, Klaas van Schelven wrote: > On Sep 23, 2:01 am, Russell Keith-Magee > wrote: > > So, we run into a few problems: > * How do we extend the models from the original extendible > application? > For this to work, we need to provide hooks in the application for > exten

Re: Why Django Apps Suck

2010-09-23 Thread Klaas van Schelven
On Sep 23, 2:01 am, Russell Keith-Magee wrote: > On Wed, Sep 22, 2010 at 11:31 PM, Klaas van Schelven > > wrote: > >> I'm yet to see a genuine case of (a) -- every time I've seen (a), it's > >> really masked version of (b), (c) or (d). > > > I disagree. I think there are very specific problems, t

Re: Why Django Apps Suck

2010-09-22 Thread Steve Holden
On 9/22/2010 8:36 AM, Russell Keith-Magee wrote: > Lastly, I can't deny that reusability has it's price. Engineering an > application to be reusable takes more effort and planning than > building an application as a once-off. Well, Unix certainly came a long way with this philosophy > The aim i

Re: Why Django Apps Suck

2010-09-22 Thread Russell Keith-Magee
On Wed, Sep 22, 2010 at 11:31 PM, Klaas van Schelven wrote: >> I'm yet to see a genuine case of (a) -- every time I've seen (a), it's >> really masked version of (b), (c) or (d). > > I disagree. I think there are very specific problems, that has not > been adressed by any of the responses above. >

Re: Why Django Apps Suck

2010-09-22 Thread Elim Qiu
Thanks Russell Keith-Magee's comments. Very helpful. I think the main question is still about the whole architecture. I'm a WebObjects developer for many years. I think WebObjects' architecture is great: (1) EOModel: a set of propertyList files describes the mapping of database tables to sub

Re: Why Django Apps Suck

2010-09-22 Thread Klaas van Schelven
Ok, it actually turns out the above idea works. That is to say, with a minimal amount of weird tricks (an empty models.py, plugging in some app_labels in the right places). Of course: without the tricks it would be even better. http://bitbucket.org/vanschelven/extendible_app_experiment A few note

Re: Why Django Apps Suck

2010-09-22 Thread Klaas van Schelven
> I'm yet to see a genuine case of (a) -- every time I've seen (a), it's > really masked version of (b), (c) or (d). I disagree. I think there are very specific problems, that has not been adressed by any of the responses above. Let's focus on one for now: how to extend models in any given app. A

Re: Why Django Apps Suck

2010-09-22 Thread indymike
On Sep 21, 4:26 pm, "klaasvanschel...@gmail.com" wrote: > One thing that deserves extra stress is that apss should be easily > extendable. Exactly the fact that every customer want something that > is slightly different from the next is how we're able to provide > value. (This is also the reaso

Re: Why Django Apps Suck

2010-09-22 Thread Russell Keith-Magee
On Wed, Sep 22, 2010 at 11:53 AM, Ramdas S wrote: > > > On Wed, Sep 22, 2010 at 2:48 AM, Klaas van Schelven > wrote: >> >> Shawn: thanks >> Just started watching the video and I'm noticing my complaints are not >> unique. >> >> > Wow! I guess your definition of an app  and expectation of re-usuab

Re: Why Django Apps Suck

2010-09-22 Thread Russell Keith-Magee
On Wed, Sep 22, 2010 at 4:26 AM, klaasvanschel...@gmail.com wrote: > tl;dr > * Django Apps Suck. Your reply explaining why they don't is expected. > * Reuse of a lot of things doesn't suck. But the specific unit app, > meaning a bunch of models that can be modified and presented with > their model

Re: Why Django Apps Suck

2010-09-21 Thread Ramdas S
On Wed, Sep 22, 2010 at 2:48 AM, Klaas van Schelven < klaasvanschel...@gmail.com> wrote: > Shawn: thanks > Just started watching the video and I'm noticing my complaints are not > unique. > > > Wow! I guess your definition of an app and expectation of re-usuability > > from an app written by some

Re: Why Django Apps Suck

2010-09-21 Thread Mike Dewhirst
Also at pycon-au http://glamkit.org/ where the talk focused on reusability of apps. On 22/09/2010 6:26am, klaasvanschel...@gmail.com wrote: Ok here it goes: I don't have a proper platform for my observations / rants so I figured I'd try my luck here. Django has been my favorite framework for d

Re: Why Django Apps Suck

2010-09-21 Thread Klaas van Schelven
Shawn: thanks Just started watching the video and I'm noticing my complaints are not unique. > Wow! I guess your definition of an app  and expectation of re-usuability > from an app written by someone else > is fairly high! Actually, a big part of the problem is reusing my own apps. Mostly since

Re: Why Django Apps Suck

2010-09-21 Thread Ramdas S
On Wed, Sep 22, 2010 at 1:56 AM, klaasvanschel...@gmail.com < klaasvanschel...@gmail.com> wrote: > Ok here it goes: I don't have a proper platform for my observations / > rants so I figured I'd try my luck here. Django has been my favorite > framework for developing web applications for about a ye

Re: Why Django Apps Suck

2010-09-21 Thread Shawn Milochik
Just FYI, the videos from DjangoCon 2010 are already up on blip.tv. The Python AV team was awesome. Here's that talk: http://blip.tv/file/4112452/ Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Why Django Apps Suck

2010-09-21 Thread klaasvanschel...@gmail.com
Ok here it goes: I don't have a proper platform for my observations / rants so I figured I'd try my luck here. Django has been my favorite framework for developing web applications for about a year and a half, so it comes from a position of love when I say that the Django app really sucks as a leve