Hacking Fixed, and Python on the Web

Hey Everyone, just an update on the last post. I was able to dig through the wordpress files and find where the hack was and it appears to be fixed now.

Again if you notice anything strange happening here, redirects to external sites and whatnot, please let me know.

Also, does anyone here use any of the python web frameworks? I’d like to try my hand at them, but I’m having difficulty deciding between Pylons, Django, and Zope. I’m a total n00b when it comes to web programming, so it’s something that I’d like to be better at, so one of my requirements is being easy for beginners to learn.

If anyone has any thoughts or advice please post a comment.

22 thoughts on “Hacking Fixed, and Python on the Web”

  1. Try turbogears. It has the tooling of django, but if you want to do something different, it is sitting on top of pylons.

  2. Django has the most users of any of the web frameworks except maybe Zope/Plone. If you want something easy to use, django is probably the easiest to go with just because of it’s huge amount of documentation and robust community.

    Alternatives include TurboGears, Pylons, web2py, Grok (which is on top of Zope), and several others. Now that I think about it, Zope isn’t Zope any more…it’s BlueBream.

  3. actually depends what you need. probably best for you would be to django since its most spreaded. but also look into repoze.bfg, great framework, and very good documentation … my favorite tool. but then again if you need something more then web framework like cms, then you should definetly look into zope world. plone is rocking here. but keep in mind learning *any* cms takes time and patience so does with plone or any other cms you will use.

  4. I was in the same dillema 1 year ago … In my opinion go with Django!

    pros: easy workflow, great documentation, large and evergrowing community.

    I don’t think any other framework can compete at this time..

  5. Another vote for Flask, from someone who’s gone through extensive use of Zope (ages ago), Pylons, Turbogears, and experiments with many others before finally realizing they all just try to do too darn much. If not Flask, better do Django just because it’s the biggest bandwagon there is these days.

  6. Bottle for simple projects or Turbogears. Django is the biggest bandwagon but less flexible and neatly designed that Pylons.

  7. I seriously hope it’s paying out, because the pages look absolutely horrible with all the ads – hard to see the contents of your posrts.

  8. Interesting, I took a quick look at flask and bottle (since I hadn’t seen them before) and they both look really interesting.

    I’ve spent all my development time on the desktop, so this web framework stuff is really new to me. I’m just thinking about a simple app to start that would allow people to perform calculations in a web page. I assume that I don’t have to do it in Python, and could probably handle it in an easier way, but I wanted to try some python on the web to learn something new.

    Thanks for the comments everyone.

  9. pylons is very good and use pylons book(http://pylonsbook.com/) to understand it. They say its hard to learn and they are wrong and it may take some time because your learning an orm like sqlalchemy and templating like mako and routes(url mapping) and many more like paste and beaker and webhelpers and formencode.and if dont like mako you can use genshi or jinja and this goes for most the other components.

    before all that you learn wsgi(http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface) by learning how its implemented in pylons

    NOTE: the book is for pylons 0.9.7 and pylons latest version is pylons 1.0 . use the book to learn pylons overall and learn the changes from updated docs (http://bitbucket.org/bbangert/quickwiki)(http://bitbucket.org/bbangert/pylons)

  10. any chance you could write about your proceedings in the “Welcome to Python”-style? I’m at the same point, when it comes to web development. But I’m too stupid to think of an interesting topic for my first web project.

  11. Interesting, what I like about Django is that is seems to have a lot of followers, but some of the simple ones interest me because they are so simple.

    @till
    I do think that I will blog about what I decide to do. Hopefully I get the time to start investigating this!

  12. Wish I had come across this soeonr. We needed to move our community website (currently very old and written in ColdFusion) to a CMS. I considered both Rails and Django as a starting point, and building a CMS on top of those, but Plone did so much of what we wanted already. All I need to do is skin it, and read some objects from mysql via sqlAlchemy and make a simple interface for those objects. Those objects are not the bulk of the site however, which can be handled with normal plone folders and pages. So before xmas I transferred a lot of pages over, and started the remaining 10%.Oh boy! what a mess! I got both the plone 3 theming book and the professional plone development book, and went to the zope book and various online tutorials on plone.org. I am completely confused, and that little bit now looks like a mammoth task. Maybe it would have been simpler to write it myself, at least I could easily understand how Django works. Both books have step-by-step procedures to follow, which are actually pretty much what I want to do, but in both cases following the books quickly results in errors (on the theming book, I don’t think I got through a single chapter successfully). Furthermore, it seems very fragile. Very soon after a new installation ./bin/plonectrl start’ stops working, no idea why. The OS X PloneController app continues to start it up by some magic. Sometimes it all goes wrong. I made the mistake of thinking backing up the data.fs file was sufficient before trying anything (the docs seem to suggest this) but not so, on several occasions I have had to restore the entire installation from Time Machine in order to start it again. The error message is indecipherable.I realize that the Plone community is aware that it is too complex right now, and is working on that, but right now, I’m seriously considering giving up and just writing in from scratch’ using Django. It may take at least as long to do it, but hat time is spent coding, not scratching my head and restoring from backups.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>