 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Vid Luther's Blog: Changing MySQL storage engine for one table in your Propel/Symfony project
by Chris Cornutt September 29, 2009 @ 08:26:15
Vid Luther has a new post to his blog showing how to switch the storage engine only one (or any number of individual tables) in your MySQL-backed Propel/Symfony project.
I need one MyISAM table in my schema, I'm using Symfony 1.2 and Propel 1.3. As flexible as Symfony and it's YAML files are, Propel currently doesn't allow you to change the storage engine on the fly. [...] So, the next best thing to do now is to have it so that when Symfony runs propel:insert-sql, I can piggyback my own SQL to it. Luckily, this is possible, and it's explained here.
He gives an example of how he's doing it - making a simple alter table script, putting it into a SQL file and pushing it out into the project's setup via a "propel:insert:sql" command.
voice your opinion now!
symfony storage engine mysql change tip
Derick Rethans' Blog: Variable tracing with Xdebug
by Chris Cornutt March 25, 2009 @ 11:16:52
Derick Rethans has made a quick post about an update he's made to the XDebug function traces to add in information on variable modifications.
After I had a quick look at the feasibility of this feature I spend some time on implementing it for Xdebug's HEAD branch that is going to become Xdebug 2.1. Variable modification tracing can be enabled by setting the php.ini xdebug.collect_assignments setting to 1. Of course this can also be done in either .htaccess or by using ini_set(). This setting requires general execution tracing to be enabled as well and it's only available for human readable trace files (the default format).
He gives examples of how two example scripts would be logged to the trace file - one inside of a basic function and another showing updates to the properties on a class.
voice your opinion now!
variable trace update change xdebug trace file output
IBM developerWorks: What's new in PHP V5.3, Part 5 Upgrading from PHP V5.2
by Chris Cornutt February 26, 2009 @ 11:14:56
On the IBM developerWorks blog the next article in their "What's new in PHP V5.3" series has been posted. In this fifth part looks at some of the changes and issues you might face when making the upgrade (including slightly modified function behavior and deprecated functions).
In this final part of the series, learn about things to consider when upgrading from PHP V5.2. There are changes that break backward-compatibility and features that are deprecated in PHP V5.3 for removal in future versions. Some enhancements to existing features within PHP are also covered.
Changes included in the list are:
- Syntax changes
- Changes to functions and methods
- Extension changes
- Build changes
- Deprecated items
voice your opinion now!
php5 upgrade change compatibility deprecation
CSS-Tricks.com: Using Weather Data to Change Your Website's Appearance through PHP and CSS
by Chris Cornutt February 18, 2009 @ 12:08:03
On the CSS-Tricks.com site today there's a quick tutorial on changing up the look and feel of your site based on an external source. More specifically, they give the example of updating the graphics of your site depending on the weather in your area via PHP and CSS.
Using a little magic and trickery (read: PHP and CSS), we can change the appearance of a website automatically based on the weather outside, in real time! In the example site we have created, the header graphic will change to one of four different styles based on Sunny, Rain, Snow, and Cloudy.
Their example makes a request to the Yahoo! weather data for a location and brings it in to PHP where the XML is parsed (via a regular expression) and the current conditions are parsed out. This condition is then passed out into the page as the class type on the header and, based on the CSS already defined, the correct image is pulled in as the background.
voice your opinion now!
weather data yahoo change header css graphic external source
PHPImpact Blog: Propel 1.3 uses PDO instead of Creole
by Chris Cornutt August 25, 2008 @ 10:22:23
On the PHP::Impact blog Federico points out a new feature/update that the Propel team has made to help with performance - a change from Creole to the based PDO layer that PHP includes.
This change has a number of implications, particularly for those who are executing SQL directly. PDO's API is loosely similar to Creole's, so this change shouldn't require any major re-architecture.
New features that come along with this move you might have to upgrade for include the newer DSN format for build/runtime properties, the removal of the mysqli adapter, SPL autoload integration and a few API changes you'll have to look out for. You can find out more information on the Symfony framework's support for these changes on the sfPropelPlugin and DbFinderPlugin pages.
voice your opinion now!
pdo creole proel change symfony sfpropelplugin dbfinderplugin
Matthew Turland's Blog: Goodbye WordPress, Hello Habari
by Chris Cornutt June 23, 2008 @ 09:36:17
Matthew Turland has said goodbye to Wordpress and hello to Habari - a "next-generation free software blogging platform". He also includes one of the more helpful tips for those thinking on doing the same:
So after eventually getting fed up with WordPress, especially after the WYSIWYG editor disappeared in the 2.3.3 update, I finally decided to bite the bullet and migrate my blog over to Habari. Once I'd been through the process, I thought I'd write a short blog entry about the experience.
The two tips he mentions are about exporting the old content (made simple from the WordPress admin interface) and making Habari support his WordPress URL scheme (so as not to loose links to any content out there). He found this to help on that front.
voice your opinion now!
habari wordpress change wysiwyg migrate blog software
PHPImpact Blog: Open-source PHP applications that changed the world
by Chris Cornutt May 23, 2008 @ 08:47:44
On the PHP::Impact blog, Federico has written up a bit of a "history of PHP applications" since 1998 that have changed the community (and the online world) by being released.
From managing databases to shopping, writing blogs to sending emails. Ten years of passion, great software architectures, team work and revolutionary ideas. Here are the most influential open-source PHP applications to date.
Among those on the list are things like SquirrelMail (1999), phpBB (2000), Drupal (2001) and WordPress (2003). More lately things like frameworks and content management systems have been popular and are being developed with more structure and better standards than some of their predecessors.
voice your opinion now!
opensource application change community blog cms ecommerce
|
Community Events
Don't see your event here? Let us know!
|