Archive for November 29th, 2006

Chris Hartjes’ Blog: Using CakePHP’s Native Web Service Support

On reading a message on the CakePHP mailing list about the web services built into the framework, Chris Hartjes decided to embark on his own look at what functionality the framework offers and how easy it is to use.

Might I add that until I tried this, I had never built a web service with CakePHP before. I found that by turning on the debug mode and actually following the instructions that were in the error messages (best undocumented feature of CakePHP if you ask me) I was able to build.

His code, while it worked, was one-upped by another’s submitted to the mailing list (Samuel DeVore) so he’s included that code in his example rather than the original. His example makes a TestController, an XmlComponent, and an XmlHelper to vary the output from a normal HTML to an XML format based on if “xml” is included in the path of the location.

Continue Reading · Add comment

Symfony Project: Announcing symfony 1.0 beta 1

As mentioned both here on the symfony project’s website and here on the Zend Developer Zone, a new beta release of the framework has been made - version 1.0 Beta 1.

It’s been a long time since the latest beta release (0.7.1915), and even a longer time since the last stable release (0.6.3). Today, we are happy to announce the release of symfony 1.0 Beta 1, and this is a major step towards the version 1.0, which should come shortly.

New features in this release include:

  • Easier installation and larger compatibility
  • Major performance improvement
  • New unit test library
  • Easier templating
  • Better and more flexible Model layer

Check out these and all of the great features of this popular framework over on their website and grab this latest download from their download page.

Continue Reading · Add comment

PHPBuilder.com: Import MS Access Data to MySQL 5

In this new tutorial on PHPBuilder.com, Ken Lin demonstrates how to import some data from an MS Access database into the most recent version of MySQL (version 5).

In this article, I will discuss whether or not to migrate your MS Access data to MySQL. Then, I will cover about the considerations, planning, and preparations which should made before migrating your data.

He follows the (good) practice of plan first, shoot later when approaching the subject. He talks about the differences between the two systems, when to and not to make the import jump, and some steps to do to prepare things for the leap.

He choses the Navicat tool to make the transition, stepping through the process the import wizard will follow to make the push much easier than a manual import/export.

Continue Reading · Add comment

Multi-Table Queries with Oracle 10G XE

Queries are quantitative questions you pose to a database. Questions such as how many employees make more than 2 . a year or which employee has worked for more than two years are typical examples. In some cases to answer questions like the ones above you may go no further than looking it up in one table. However some questions may need more than one table and it is not uncommon that several tables must be used to provide the answer….

Essentials Whitepaper The Four Essential Steps to DR Data Protection for AIX and LINUX. Learn More.

Continue Reading · Add comment

PHP Security Blog: Suhosin 0.9.15 comes with Transparent phpinfo() Protection

According to this new post on the PHP Security Blog, there’s a new META tag the Suhosin extension includes in the output of a phpinfo page to help resolve some of the issues with Google (and buddies) storing the contents of the page, giving a potential attacker information they could exploit.

[The] extra META TAG to the HTML output of phpinfo() that forbids indexing and archiving by robots. For fairness reasons following the embedded links is still allowed to robots, because a lot of projects […] to get at least a few backlinks for their work, that might result in a better search engine positioning.

The patch can be downloaded from their site.

Continue Reading · Add comment