I agree with askel. I use Drupal as my CMS for sites that I work on.
It may be PHP, but it's extremely powerful and extensible. Besides, if
you wanted something as powerful and extensible as Drupal, you'd
probably want to write it from scratch in Python, rather than using a
framework like Pylons. As awesome as Pylons is, it would restrict the
extensibility of the CMS.
You want a CMS? Use Drupal.
You want to develop a web application? Use Pylons.
--
Raoul Snyman
B.Tech Information Technology (Software Engineering)
E-Mail: raoul....@gmail.com
Web: http://www.saturnlaboratories.co.za/
Blog: http://blog.saturnlaboratories.co.za/
Mobile: 082 550 3754
Registered Linux User #333298 (http://counter.li.org)
Except that some applications may need a drop-in CMS for a section of
the application. You can supposedly embed Plone as a WSGI application
but I don't know anybody who has tried it. There's a wishlist in the
Pylons wiki for a CMS/blog/wiki component for Pylons, but so far it
hasn't been written. A few projects were started but stagnated or
weren't really a CMS. You can add your ideas on the wiki page.
http://wiki.pylonshq.com/display/pylonsprojects/Blog%2C+CMS%2C+and+Wiki+software
--
Mike Orr <slugg...@gmail.com>
I think OpenPlans is doing that. You can run Plone 3 as a WSGI
application using Repoze, and Plone trunk is WSGI by default.
Wichert.
--
Wichert Akkerman <wic...@wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
Note: I said that Pylons would restrict the extensibility of said CMS,
not that Pylons itself is not extensible.
Pylons is an MVC framework, that means that you have clearly defined
models, views, and controllers. Drupal, on the other hand has HTML
(view) code littered all over it's modules (controllers) and has no
models.
Pylons depends on it's fairly fixed MVC structure, and fairly fixed
directory structure, for it's mapping and layout of the application.
Sure you could probably hack the Pylons code to change the required
directory structure, but then you'd have a problem each and every time
Pylons releases a new version and you want to upgrade your version of
Pylons.
Drupal on the other hand doesn't have a fixed structure further than
"all module-related code must be in the module's directory" and it has
no module templates. Drupal has a much flatter, informal structure.
My point is not that you can't write a CMS in Pylons, nor that Pylons
is limited. My point is that if you want to write a "Drupal" in
Python, I don't think you're going to be able to do it in Pylons. They
just work totally differently.
(My apologies if I'm not being clear, I wrote most of this on Sunday
night at 22:00, and the rest on Monday morning.)
OK. Most probably I can't write Drupal in Pylons, but I can write CMS.
Actually I have written working CMS prototype in Pylons.
Regards,
Dalius
Please don't insult me by saying I don't understand WSGI. You don't
know what I know or understand.
Secondly, I never said it's "impossible" to write a CMS in Pylons, I
just said that I think that Pylons is unsuited to develop a
Drupal-style CMS in.
Thirdly, I never said that Pylons is not flexible. Once again, I said
that I think that Pylons is unsuitable for a Drupal-like CMS.
> OK. Most probably I can't write Drupal in Pylons, but I can write CMS.
> Actually I have written working CMS prototype in Pylons.
See my comments above.
I can see doing what Drupal did in Python, and probably quite easily
at that, but I still doubt you'd be able to do exactly what Drupal did
in Pylons... Pylon's structure would get in the way. Please once again
note, I'm not saying that you cannot build a CMS in Pylons.
I'd *love* to see a Drupyl ;-) especially using WSGI to get it
right... that would be awesome.
> Thirdly, I never said that Pylons is not flexible. Once again, I said
> that I think that Pylons is unsuitable for a Drupal-like CMS.
>
It might be possible that starting from scratch with plain WSGI
application and adding required components (session, templating and
etc.) is more suitable for that than Pylons if you need plug-ins.
However not every CMS needs plug-ins.
Regards,
Dalius