News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Cal Evans' Blog:
Sun VirtualBox as a virtual development environment for PHP
October 08, 2008 @ 20:20:54

In a new blog post Cal Evans shares a solution he's come up with to help simplify his PHP development - using the Sun VirtualBox software to create a self-contained, controlled environment to run his scripts.

The more I thought about it though, the more I realized there had to be a better way. My current setup doesn't allow me to do things like test PHP 5.3 without setting up a whole new server just for that purpose, or maintain an environment like my production server.

He was looking for something that would work on a laptop, allow for easy environment switching and let him work on multiple projects at once. He came across the VirtualBox software and adapted it to his own needs (including shares folders between instances and multiple instances running Ubuntu) on his local machine.

2 comments voice your opinion now!
virtualbox tutorial virtual environment shared komodo windows ubuntu



Cognify.com:
Write Your Own Virtual Host Control Panel - Part 1
July 30, 2008 @ 09:31:13

Mark Kimsal has posted part one of a new series he's working up on creating a virtual host control panel by pairing with PHP a few other technologies.

I still come across a person now and then who does not appreciate the power that any server control panel gives you. [...] They reduce the margin of error that a human can bring to the table when editing files and performing commands "by hand". If host control panels are so good, why would you want to write your own control panel when there are so many out there already? Well, the answer is, there aren't any open source ones.

He talks about starting out right by defining the build and the technology to use and only then gets started coding. His application uses the Cognify framework, SQLite, Nanoweb and, of course, PHP. At the end of this part of the series, you'll have the framework set up and a sample module in place to mess with.

0 comments voice your opinion now!
hosting panel control cognify framework virtual host


PHPImpact Blog:
Virtual Appliances LAMP development made easy
May 26, 2008 @ 12:05:14

On the PHP::Impact blog, Federico Cargnelutti shares some quick steps for setting up a virtual appliance on your system for "LAMP development made easy".

In this article I will show you why the LAMP platform has become the platform of choice for the development and deployment of high performance Web applications. To get a LAMP development environment fired up without the hassles of configuring everything from scratch you only need one thing, a Virtual Appliance.

He explains what the virtual appliance is and show the three step (really just two) process to getting things all set up and working with a complete Ubunutu, Taskel and Zend Framework installation layered on top of your OS now.

0 comments voice your opinion now!
lamp development virtual appliance vmware ubuntu


Stubbles Blog:
vfsStream 0.1.0 Released
December 27, 2007 @ 11:11:00

On the Stubbles blog, Frank Kleine has posted about the release of a new wrapper class he's developed to go around a virtual file system.

Some minutes ago I released the first version of vfsStream. vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.

The idea for the class came about when he thought about the use of real databases vs test databases and applied it to file systems. You can grab the latest version from their trac website as well as get more information about known issues and a brief example of its use.

0 comments voice your opinion now!
vfsstream release virtual file system unittest phpunit simpletest database vfsstream release virtual file system unittest phpunit simpletest database


Tobias Schlitt's Blog:
Virtual Properties
May 10, 2007 @ 07:57:00

In response to this previous post from Jeff Moore, Tobias Schlitt shares some of his own comments on the subject - mainly that he wholeheartedly agrees.

The usage of interceptors (__get()/__set()/__isset()/__call()) makes your API a lot more readable and comfortable, while maintaining the purpose behind getters and setters: Checking the correctness of values assigned to a property and wrapping around retrieval mechanisms for a property. I personally call the way of maintaining value-correctness for properties through interceptors virtual properties, which fits quite nice I think.

Tobias gives an example of what he means by these "virtual properties" with an illustration from something widely used on the eZ Components libraries - comparing one method of setting text to an object to another (just setting versus the wrappers).

0 comments voice your opinion now!
virtual properties setter getter interceptor ezcomponents virtual properties setter getter interceptor ezcomponents


PHP Security Blog:
Cross Virtual Host Cookie Theft
December 15, 2006 @ 08:09:00

In this new post on the PHP Security Blog, Stefan Esser brings up an interesting issue when dealing with web applications - being able to bind a script/application to a different port on the local machine.

Unfortunately the ability to bind yourself to a port and receive connections is a threat to webapplications installed on different virtual hosts on the same IP, even if other security measures in place, like tight filesystem permissions or executing PHP script with the permission of the owner.

He gives an example in PHP of how this can happen and one of the scary side effects of having it in the same domain - the cookie information is passed in. It's a simple concept that could have very bad consequences in the wrong hands.

Additionally, you don't even have to create it in PHP either. As cyberlot mentions, it could be created in any language that has socket functions. Be sure to check out the comments for more thoughts and comments on the post.

1 comment voice your opinion now!
virtual host cookie theft socket example function virtual host cookie theft socket example function


ThinkPHP Blog:
Virtual Data Grid becoming reality soon
June 26, 2006 @ 12:19:34

Björn Schotte has posted this anticipatory post for the powerful Ajax + PHP tool coming from the TurboAjax.com group - a virtual data grid.

If you use Dojo, have a look at the fabulous widgets called TurboWidgets from TurboAjax.com: it's available for non-commercial and commercial usage. One of the great widgets is a data grid which can be customized in a wide variety.

As I've discovered in the TurboWidget forums, they're working on a virtual data grid. Imagine you want to display a list of 100,000 or more items which can be a major pita especially when working with slow internet connectivity. The solution is a real virtual data grid

He points to a demo they've posted and includes two screenshots, one of the previous situation with data grids like this, and a shot of theirs in action (loaded with 100,000 rows).

0 comments voice your opinion now!
virtual data grid coming soon turbowidgets turbodatagrid virtual data grid coming soon turbowidgets turbodatagrid



Community Events









Don't see your event here?
Let us know!


releases zendframework mysql job ajax PHP5 PEAR database release application cakephp security conference package developer book code framework zend example

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework