- Nov 29, 2005
- 2,411
- 0
- 0
My PHP coding is pretty brutal (I'm guessing) but I'm starting to code up some serious stuff, and I figure I might as well use one of those frameworks/libraries, right? You'd assume (hope?) that the code would be more modular, and more importantly, more secure. Just stuff like functionizing database connections with appropriate error reporting and crap like that. Obviously not just stuff like that, but that's the general idea. Trying to keep my code clean, modular and secure. It's to the point where I keep thinking about how I could use a function to do this, and more than likely, it's already been done.
What I'm coding up, at least initially is this database submission system. It looks at some information in a local file, parses it and makes some "guesses" as to what to fill out in a form (as intelligently as possible, just based on some rules). For example, I want to prepopulate some possibly helpful google searches, so the user just has to click on them, and they'd [hopefully] open in another windows. Then, the user has to fill out any remaining form fields (if there are any), clicks submit, and it goes on to the next entry. So nothing too crazy, I think. It's just a lot of database connections and stuff, as the "guesses" to what to fill out in the fields will be based on other things in the database.
So that's the first part of what I'm doing.
Eventually, my code will be "linked" (somehow, don't ask me how yet) to a CMS, most likely Wordpress or Drupal.
Any thoughts on which way to go? Do these things have steep learning curves?
What I'm coding up, at least initially is this database submission system. It looks at some information in a local file, parses it and makes some "guesses" as to what to fill out in a form (as intelligently as possible, just based on some rules). For example, I want to prepopulate some possibly helpful google searches, so the user just has to click on them, and they'd [hopefully] open in another windows. Then, the user has to fill out any remaining form fields (if there are any), clicks submit, and it goes on to the next entry. So nothing too crazy, I think. It's just a lot of database connections and stuff, as the "guesses" to what to fill out in the fields will be based on other things in the database.
So that's the first part of what I'm doing.
Eventually, my code will be "linked" (somehow, don't ask me how yet) to a CMS, most likely Wordpress or Drupal.
Any thoughts on which way to go? Do these things have steep learning curves?