[Baypiggies] Python web question
Steve Piercy - Web Site Builder
Web at StevePiercy.com
Thu May 5 07:05:52 CEST 2011
I too have been playing around with web frameworks and
applications. I've decided to use Pyramid. Other frameworks
constrained me into doing things their way, bound me to using a
specific data source, or lacked sufficient documentation and support.
Pyramid does not get in your way. It provides only what you
need and does not constrain you in regards to data sources,
template engines, URL traversal versus routes, and so on.
I worked through the Pyramid Quick Tutorial in under an hour.
http://docs.pylonsproject.org/docs/pyramid_quick_tutorial.html
Documentation:
http://docs.pylonsproject.org/docs/pyramid.html
Support is available on mailing lists and IRC. I attended the
Pylons Project Mini Conference and code sprint last week, and
met some of the core members of the project. Just being in the
same room made me smarter. These guys and dozens others hang
out in IRC #pyramid and #pylons.
http://groups.google.com/group/pylons-devel
http://www.meetup.com/sfbay-pylons-proj/events/17306893/
irc://freenode.net#pyramid
irc://freenode.net#pylons
Here is some history. Pyramid is part of the Pylons Project.
http://pylonsproject.org/about/pylons
Pyramid's core is repoze.bfg with some modifications.
http://pylonsproject.org/projects/pyramid/about
Flask is another lightweight framework.
http://flask.pocoo.org/
Plone is more of a CMS than a framework, but I know that folks
develop applications in it. Django has a huge ecosystem around
it. At PyCon, many folks said of web2py (except the author),
"Just don't."
--steve
On 5/4/11 at 6:41 PM, david.berthelot at gmail.com (David
Berthelot) pronounced:
>Thanks for the quick responses.
>Mako seems to be something that could work for me.
>
>Talking about the suggestion of looking into Web Frameworks, I used
>Drupal so far but I am not satisfied with the performance and the
>overhead of the data structure (even with memcache etc...), so I'm
>basically planning to rewrite my website from scratch in a lightweight
>way (from SQL point of view in particular, but also memcache etc...).
>
>I don't know enough details about other frameworks but my concerns,
>acquired with Drupal, are they might try to satisfy a wide audience
>and often at the expense of tight SQL queries. One more concern is the
>learning curve, took me one month to understand Drupal, it's a lot of
>time and yet there are still a lot of grey areas for me.
>
>So if there's a framework that's compact and fast I would be tempted
>to get a look into it, but time is short, I really only have 2 weeks
>to rewrite entirely my website which, by the way, is:
>http://codercharts.com
>
>Any suggestions are welcome and thanks again for the pointers ;)
>
>--
>David
>
>On Wed, May 4, 2011 at 4:11 PM, David Berthelot
><david.berthelot at gmail.com> wrote:
>>Hello,
>>
>>I have a simple question:
>>is there an equivalent to <?php ... ?> for mixing Python and HTML ?
>>
>>For example something like this:
>>
>><body>
>> <?python
>> if user == 1:?>
>> <h1>Welcome admin</h1>
>> <?python
>> else:?>
>> <h1>Welcome</h1>
>></body>
>>
>>Basically something similar in behavior to PHP but for Python ;)
>>
>>Thanks,
>>
>>David
>>
>_______________________________________________
>Baypiggies mailing list
>Baypiggies at python.org
>To change your subscription options or unsubscribe:
>http://mail.python.org/mailman/listinfo/baypiggies
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web at StevePiercy.com> <http://www.StevePiercy.com/>
More information about the Baypiggies
mailing list