|
|
|
|
|
by zacstewart
5650 days ago
|
|
I've definitely been trying to abstract all my models out so that I can swap out a new DAL if needed. I've got a pretty extensive SQL class going, but the app still has some hard coded SQL queries in it. I'm not too sure I'd be enticed to use lots of python modules. I think this may be a programming character flaw, but I am averse to using pre-built stuff in my code, otherwise I'd be using CakePHP or Codeigniter instead of my own framework right now. I always want to build everything from scratch. |
|
But aside from that issue, consider this: You have probably create quite a war chest of software you've created for rocking and rolling problems, in PHP. Python's package structure makes it a lot easier to re-use software than it is in PHP. There are some amazing micro-frameworks out there, that let you use other people's code, just the parts you need, without any bloat. But even if you ignore what other people have written, and want to write it all yourself, Python is a way better place to be. Using WSGI you ahve all kinds of options for ultra-fast, lean and mean hosting of code that you write for frameworks.
But things like Flask may appeal to you: http://flask.pocoo.org/ It's a collection of a handful of tiny things that together form an alternative to something like Django. Considering you've eschewed CakePHP, Flask may interest you greatly. There are actually a number of micro frameworks like this. Playing with, reading the code, or using some of these things may be fun for you.
Edit: "FLASK" not FLASH. Oops.