Improving Framework performance

Paul Jones responded to recent Symfony 2 benchmarks to show that the Solar Framework is not as slow as the original tests show and in fact if it used preloading like Symfony 2 does it would be faster..

This is something I have always thought was needed and its something I brought up in Zend Framework discussions back when I was seni-involved.

Solar Framework Shorts - The Road to Solar 1.0

If you haven't taken a look at the Solar Framework in the past now is the time to do so as the three biggest complaints about Solar are on the road to be resolved.

Solar Framework Shorts - Sending emails using Solar

Sending email using the Solar Framework is not only extremely simple but very flexible as well. Solar splits the process of sending email into 2 logical parts, creating the message "package" and sending the "package"

Solar Framework Shorts - Extending Solar Config to the DB

Solar_Config is a great configuration system but at times you find yourself wanting more, by itself Solar_Config has a few weaknesses.

1. All the config is file based, changes to the config require a push.

2. If you store client config in Solar_Config files this makes #1 even worse

3. On a large site only small portions of the config may be used at once, why load it all into memory.

You have a couple options, each have highs and lows related to how they work

To understand how and were you can inject new config you have to understand how its loaded.

In your Solar.config.php

Solar Framework Shorts - Creating your own OpenID Auth Adapter

Your using Solar and decide you need OpenID support but Solar doesn't have an Adapter for that! What are you to do!

Solar makes heavy use of Adapter based classes, Solar_Auth is one of these. This makes adding additional methods pretty easy and allows you to borrow from other Frameworks without having to Hack in a third party auth setup, You can use the basics provided by Solar.

Solar Framework Shorts -The rabbit hole that is Solar.config.php

While the subject might sound dark and scary the reality is the Solar Frameworks config system is one of the things that I truly enjoy about Solar 99% of the time.

Its that other 1% you need to be aware of to keep yourself out of the rabbit hole.

Solar Framework Shorts - Using Jquery with Solar

When appropriate I will be publishing any code related to these shorts at sfer Solar Framework Extension Repository, all code and examples for this short can be found here.

When it comes to Jquery integration you have 2 main uses. Calling a php function from a website or calling Jquery functions from php both are done through an XMLHttpRequest

Solar Framework Shorts - Replicated MySQL for performance

You want to scale your Solar Framework application with minimal amount of work, one way to do this is to use Solars MysqlReplicated adapter. This adapter directs all SELECT related queries to the configured slaves, all other queries and transactions go the the master server.

Frameworks are like Hammers

What Framework is the best? What Framework is the fastest? What Framework is the easiest? All of these questions have been asked or answered by pretty much any programmer that exists but what is the true correct answer?

Solar Framework Shorts - Model to Form the quick way

One of the great features of solar concerns auto creation of forms. Not only will Solar auto build a form based on a model record but it will also do basic formatting depending on filters.. For example if $item->states is validation using a list of states then the form generator will create a select box with that list of states to choose from.

Ok, so you now you know how great it is, lets get to the "Short" part of things

Syndicate content (C01 _th3me_)