Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
PHP Programming

SolarPHP 1.0 Released 125

HvitRavn writes "SolarPHP 1.0 stable was released by Paul M. Jones today. SolarPHP is an application framework and library, and is a serious contender alongside Zend Framework, Symphony, and similar frameworks. SolarPHP has in the recent years been the cause of heated debate in the PHP community due to provocative benchmark results posted on Paul M. Jones' blog."
This discussion has been archived. No new comments can be posted.

SolarPHP 1.0 Released

Comments Filter:
  • Re:blog (Score:3, Informative)

    by nacturation ( 646836 ) * <> on Thursday March 11, 2010 @06:27PM (#31445564) Journal

    It is being Slashdotted right now, so it's not known whether the limitation is the framework speed, the server it's on, available bandwidth, database performance, or something else.

  • google "cache:..." (Score:2, Informative)

    by MessyBlob ( 1191033 ) on Thursday March 11, 2010 @06:33PM (#31445642)
    cache: into Google search (the original link). With any luck, the old content being referred-to might be there.
  • Re:Yet another... (Score:2, Informative)

    by iamgnat ( 1015755 ) on Thursday March 11, 2010 @07:36PM (#31446504)

    When you go PHP, you know you're getting quality because it takes a special type of developer to wield the incredible power that raw PHP gives you.

    You forgot a /s right? Cause you have to be joking.

    PHP is indeed a powerful language, but your average PHP developer has no clue what they are doing if they can't just copy and paste it from somewhere (and then they still have trouble explaining how it's doing it). I'm not saying that there are good PHP people out there (I know a few actually), just that it has been the language of choice for anyone that picks up a book and thinks they are now a programmer for some time.

    In my last job I worked extensively with PHP and often rolled my own libraries and objects even when the basic functionality exists simply because I disagree with fundamental decisions that were made (like how they (don't) handle errors being the most common. PHP supports Exceptions for christ sake. Use them!).

  • Re:Performance? (Score:2, Informative)

    by Sollord ( 888521 ) on Thursday March 11, 2010 @07:37PM (#31446516)
    Till one realizes that the site is posted on /. of all places and it might impact the server a small amount.
  • by weston ( 16146 ) <> on Thursday March 11, 2010 @08:39PM (#31447174) Homepage

    Give us just a nice set of libraries. That's it.

    Pretty much Zend Framework in a Nutshell. Totally misnamed -- there is no Framework. It's a set of disparate libraries organized into a sort of class hierarchy that happens to have amongst it a Controller class.

  • by Anonymous Coward on Thursday March 11, 2010 @08:48PM (#31447244)

    And they don't appear to close half of their .php files with '?>'. Why is that?

    Because you avoid errors with trying to send headers after output since someone left whitespace at the end of a ?>

  • by profplump ( 309017 ) <> on Thursday March 11, 2010 @08:50PM (#31447274)

    No closing ?> tag?

    Because it's not XML, and it does not need to balance. The closing tag is just there to stop PHP processing and return to normal text mode. If you have no normal text to display it's completely optional. Heck, it might even help keep you from having trailing space/newlines/etc. at the end of your programatic output.

    Now I personally prefer to close everything, and would never leave a hanging opening tag, but it's has no benefit toward processing the page.

  • by jjohnson ( 62583 ) on Thursday March 11, 2010 @09:00PM (#31447378) Homepage

    As the AC noted below, it's considered a best practice to omit the ?> to avoid accidentally including non-processed whitespace after the closing tag when you include the file. If someone hits space after ?>, and you include that file and then try to print a header, it causes an error.

  • Clarification (Score:1, Informative)

    by Anonymous Coward on Thursday March 11, 2010 @11:54PM (#31448462)

    Pauls blog is indeed running Wordpress, but that's all it is - a personal blog. The framework site itself runs on Solar.

    This "performance debate" that people keep mentioning started back in 2006 when Paul benchmarked a select few frameworks ( Now even the creator of Symfony uses this method to compare performance. And Solar is still faster.

    It's not a new framework on the block. It has been in development for years and can behave as a full-stack framework, a collection of libraries, or something in the middle. Even Zend has borrowed ideas from Solar (

    I like to think of it as a framework for people who already know PHP. Having worked with CakePHP, CodeIgniter and a few others, there are far too many people in those communities who think that by using a framework they don't need to learn how to program. I'm pretty confident these people won't understand Solar. Hooray!

    Things to love about Solar:

"Let every man teach his son, teach his daughter, that labor is honorable." -- Robert G. Ingersoll