Felix Geisendorfer’s Blog: Migrating from WordPress to CakePHP

Original post provide by PHP Freaks

Felix Geisendorfer is in the process of moving his blog from Wordpress to a customized lightweight CakePHP replacement he’s developing to be extended later on. His post shares some of the tips he found so far.

In this post I’m simply going to throw out some snippets to show how I’m currently approaching the whole process in order to give both my insight into what works and what doesn’t, while also hoping to get some people to share their insight into migrating legacy apps to CakePHP.

The tip in this post is primarily about the database side of things his porting over of the information from the Wordpress table model to his new customized schema. His code example for the migration is included.

Previous Articles:
Community News: MySQL AB Project Officially Supports PDO
Of course mysqli will also be actively maintained. But they will also make mysqlnd play nicely with PDO etc. There's budgets and time lines for the project so things are already moving along and developers to the project will soon be assigned.
Greg Beaver's Blog: Working Towards Pyrus And PEAR2, Check It Out Or Miss Out
Greg Beaver talks about a big push that he's making towards PEAR2 by working hard on an integral piece of the puzzle the Pyrus installer. I'm churning out code to turn its installer, Pyrus, from vaporware into actual code. Along these lines, there has been significant progress.
Christopher Jones' Blog: Book Review: PHP Oracle Web Development
The result is an excellent book that joins the PHP and Oracle worlds together. Christopher talks about some of what the book covers (like installation and code snippets) and the book's excellent focus on different topics, giving each it's own full coverage.
Community News: PHPPodcasts.com Launched
It's an archival site and a place for people to explore the different podcasts available for PHP developers before subscribing to them. Currently, there's four podcasts under the PHPPodcast umbrella Zend's own PHP Abstract, php|architect's Pro PHP podcast, the phpBB podcast and the CakePHP group's own podcast, The Show.
Secunia.com: Mandriva Update For PHP
This fixes some vulnerabilities, where some have unknown impacts and others can be exploited by malicious, local users to bypass certain security restrictions, malicious users to bypass certain security restrictions, gain escalated privileges, disclose potentially sensitive information, or cause a DoS (Denial of Service), and by malicious people to bypass certain security restrictions and cause a DoS.
More Articles:
Nexaweb Delivers Enterprise Web 2.0 Suite At AJAXWorld
Nexaweb Technologies, provider of the leading standards-based platform for building and deploying Enterprise Web 2.0 (EW2.0) applications, today announced the latest release of its Nexaweb Enterprise Web 2.0 Suite. Nexaweb?s Enterprise Web 2.0 Suite enhanced design and management features, as well as its interoperability with leading governance solutions from Layer 7 and HP Systinet, make it the ideal RIA, composite application and enterprise mash-up development and deployment platform for IT organizations and the heterogeneous and distributed business groups they serve.
Gopal Vijayaraghavan's Blog: APC Autofilter: The Real Story
To illustrate, he talks about how a simple bit of functionality in PHP, includes, really work. He describes how they're handled (evaluated at run time) and how the APC relates to this process. He presents a dilemma where classes are created in two different ways (inside and outside included files) and a problem that could cause the APC caching to not cache a file at all after a certain point.
Excel 2007 Multiplication Bug
=A1+1 returns 100,001, which appears to show the formula is in fact 100,000... =A12 returns 131,070, as if A1 had 65,535 (which it should have been). =A11 keeps it at 100,000. =A1-1 returns 65,534. =A1/1 is still 100,000.
SPL Article Published
All too often, I think developers overlook the SPL because it appears massively unwieldy and difficult to understand. While it is often difficult to understand due to lack of proper documentation (articles/tutorials/examples), it is not unwieldy. Rather, it’s fairly easy to use… once you get the hang of it.
Lampooning Benchmarks
PHP_FALIAS(chop, rtrim, arginfo_rtrim) PHP_FALIAS(ini_alter, ini_set, arginfo_ini_set) PHP_FALIAS(doubleval, floatval, arginfo_floatval) PHP_FALIAS(is_int, is_long, arginfo_is_long) PHP_FALIAS(is_integer, is_long, arginfo_is_long) PHP_FALIAS(join, implode, arginfo_implode) PHP_FALIAS(fputs, fwrite, arginfo_fwrite) PHP_FALIAS(sizeof, count, arginfo_count) So, what can we learn from this?

Leave a Reply