Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
PHP Programming

Taking the Sting Out of PHP 5 Programming 159

bfioca writes "Where are the all-in-one PHP frameworks that make building well-factored and maintainable applications as easy as building simple sites? O'Reilly ONLamp's recent article Simplify PHP Development with WASP shows how to make a simple database-backed site with WASP in just a few lines of code. Other PHP 5 frameworks such as symfony and PRADO have been getting a lot of recent attention as well."
This discussion has been archived. No new comments can be posted.

Taking the Sting Out of PHP 5 Programming

Comments Filter:
  • Drupal? (Score:4, Informative)

    by rjung2k ( 576317 ) on Sunday January 22, 2006 @05:37PM (#14534522) Homepage
    I don't claim to be a web architecture guru, but what's wrong with Drupal? [drupal.org] Open source, PHP 5-friendly, and does everything from vanity sites to corporate sites.
  • Re:Drupal? (Score:3, Informative)

    by carndearg ( 696084 ) on Sunday January 22, 2006 @05:55PM (#14534592) Homepage Journal
    Drupal is a content management framework, these are application frameworks. In other words Drupal is the application and once you've installed it and whatever modules you need all you have to do is input your content while an application framework requires you to use it to write an application before you can think of content. Drupal is very useful if you want to do what it or one of its modules already does but it is less flexible for custom applications.
  • Re:Drupal? (Score:2, Informative)

    by arivanov ( 12034 ) on Sunday January 22, 2006 @05:55PM (#14534596) Homepage
    Looking at the frequency of attempted exploits for drupal holes on my website there is a lot wrong with it (I do not even have PHP installed). At least from security perspective.
  • by Nigel182 ( 948029 ) on Sunday January 22, 2006 @06:57PM (#14534872)
    Quick note: WASP does use the MVC paradigm. Here's a link to the MVC portion of the sample application tutorial. http://wasp.sourceforge.net/content/?q=node/7#Mode l.2C_Views.2C_and_Controllers [sourceforge.net]
  • Re:Drupal? (Score:4, Informative)

    by truthsearch ( 249536 ) on Sunday January 22, 2006 @07:01PM (#14534894) Homepage Journal
    No, it takes no hacking to work multisite. I'm running 3 sites on one code base right now. The URLs are very short. There's nothing horrible about them. And if you turn on the right module you can automatically link to /title/page+title. Learn about an app before complaining about it.
  • Re:I need PHP (Score:2, Informative)

    by hazah ( 807503 ) on Sunday January 22, 2006 @07:23PM (#14534997)
    Look, unless you are able to at least glue these components with SOME code, you aren't going to get anywhere. Just forget about it, because such an elaborate GUI does NOT exist. GUI isn't your solution either, since you don't understand the fundamentals of the problems you are trying to solve. Sorry, but you're either going to have to hit the books, or pay/convince someone else to do this for you.
  • Re:I need PHP (Score:2, Informative)

    by Magic5Ball ( 188725 ) on Sunday January 22, 2006 @08:21PM (#14535243)
    Macromedia/Adobe Dreamweaver has *limited* support for what you describe (table views [kind of], forms, db updates, page layout, and maybe cookies). You still won't be able to design digg.com with zero understanding of how PHP and web apps work though, regardless of how good the tool is.

    Also, your understanding of databases and interfaces needs to be more sophisticated than building a contact manager in MS Access...
  • by NoSuchGuy ( 308510 ) <do-not-harvest-m ... dot@spa.mtrap.de> on Sunday January 22, 2006 @09:01PM (#14535413) Journal
    Bad security by default.
    Read here. [google.com]
  • by Parham ( 892904 ) on Sunday January 22, 2006 @09:53PM (#14535650)
    This is the one point I have to agree with. PHP has great documentation (with loads of comments). I had to learn Python in school and to this day I still can't browse around the documentation properly without getting frustrated. Python is a great language, it enforces great structure and readability, but the docs for it are incredibly annoying.
  • Re:Drupal? (Score:3, Informative)

    by kbahey ( 102895 ) on Sunday January 22, 2006 @10:34PM (#14535826) Homepage
    You probably saw scans for the old versions of xmlrpc.

    This was a third party library that we incorporated in Drupal a while back to do some remote stuff (e.g. remote blogging, ...etc.)

    If you do not use third party client apps to post, you can delete the file xmplrpc.php altogether if you wish.

    When it was discovered that it has security flaws, we replaced it completely.

    Newer versions are as secure as they can be.

  • Re:Drupal? (Score:5, Informative)

    by kbahey ( 102895 ) on Sunday January 22, 2006 @10:39PM (#14535850) Homepage
    Disclaimer: I am a Drupal community member and developer.

    I think you have to hack it to get it to work multisite?


    Nope.

    Drupal has multi site out of the box, and has been like that for years. For some 18 months, I ran 4 different domain out of the same code base and the same database even (with database prefixes).

    Also, the URLs are pretty horrible.


    Drupal boasts "clean URLs" out of the box as well. This means that urls do not have to be www.example.com?q=node/123 but rather www.example.com/node/123 (this requires mod_rewrite).

    Moreover, Drupal has out of the box the path module which allows you to alias any page to any URL you like. There is also a contributed module (pathauto) that makes this totally automated.

    Check my web site for examples (all URLs are aliased).

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...