Getting some output

So time for some work on my European WinPHP Challenge entry tonight. Previously, I worked on setting up my Windows environment, and now it's time to work on getting my basic PHP setup running and configure the webserver to actually serve my PHP stuff.

First of all, I didn't want to reinvent the wheel for some basic stuff. So I did some research and ended up using several libraries:

 

  • phpAzure: A library for connecting to Windows Azure services
  • symfony request handler: Handling requests
  • symfony response handler: Handling responses

 

Using this, I've created a basic system that allows me to easily handle the request with a single front controller, delegate the actual execution to a controller, then pass back (a decorated version of) the content the controller returns to the client. Since that is pretty much what a single call to the application should do, this means I have the basics covered.

After having the basic setup up and running, it was time to configure IIS to actually start serving content. I was happily surprised that, because I was using the Web Platform Installer, PHP was already fully configured and the only thing I needed to do was change the document root on the default "site" (which is the IIS term for Apache's VirtualHost) to my local clone of MediTerra, and restart the site. Pointing my browser to "localhost" then did the trick! Now that was easy!

Of course, the app still doesn't actually do something so my next task will be to start implementing actual functionality into the controllers to manage the content of Azure Storage. This will be something for my next WinPHP session. 


Add comment

Php5_zce_logo

not tested in IE


Upcoming events

I will be speaking 08-10-2010: Symfony Day Cologne 2010
I will be speaking 09-10-2010: Symfony workshop

Tags

1337 2008 2010 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile amsterdam apache apple article articles atk atkMetaNode audioscrobbler azure backwards compatibility barcelona bbc bbq beatstad belgium best practices bittorrent boards of canada book books bughuntday caching cake cal evans career cat cerf certificate cfp clear cms cologne common sense communities community conference conferences continuous integration contribute crisis css custom datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex documentation download dpc dpc09 dpc10 DPC2008 dreamhost dv7 eclipse ed efficiency enterprise errors event events expertise ezcomponents facebook flickr framework frameworks freelance freeze frontend fun games germany getting real google googletalk graceful degradation hack hackers hidden gem hiphop howto hp html http ibuildings icann ide idm imovie indy ingewikkeld internet IPC ipc ipc08 javascript job jobeet john peel joomla kubuntu left on the web lighttpd lime linux live london loudblog m2ts mac malware mambo marjolein mediterra meeting meme meta methodology microsoft movie music mysql namespace namespaces netbeans netherlands nllgg odmarco open source opinion ORM osx paradiso pavilion pear performance personal pfc10 pfcongres pfcongrez photo php phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpgg phpitalia phpnw phpnw08 phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected public qa recruiting refactoring review rewrite ruby on rails schedule scifi script security seven things sfdaycgn simplexml slides smfony software sogeti solar sound standard standards star trek static steer strings subversion symfony Symfony2 symfonycamp symfonyday symfonyUnderControlPlugin talk talks technology techportal tek09 telecommuting terratec terrorism testfest testing textpattern tips tld tomas training twig uncon unet usability usergroup validation vhost video vinyl virus warp weblogging wiki windows winphp women work workshop world world of warcraft wpi writing xml xpath xsd yara year youtube ZCE zemanta zend zend framework zend server zend studio Zend_Form
© 2004 - 2010 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1