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

Comments

gravatar Tommy: Hello,

I'm very interessted in the combination of Windows Azure Cloud and the symfony Framework. So, do I understand you right? Your are now able to run symfony on Windows Azure (also in the Dev. Fabric)? Do you maybe have a step by step instruction how to realize it. That would be very nice.

Many greetings,
T.
November 3, 2010
gravatar Orlando IT services: There is so much that you can get from this. I am glad to see this is working out. I see so much coming from it.
November 3, 2011
gravatar Ultra Tall Ugg Boots: pretty much what a single call to the application should do, this means I have the basics covered. 8)
December 15, 2011
gravatar Sciatic nerve pain: How to get the output. This makes the things good for me and others also.
December 21, 2011
gravatar nystdh: pretty much what a single call to the application should do, this means I have the basics covered
December 23, 2011
gravatar sciatic nerve pain: Windows Azure provides a scalable environment with computing (web and worker roles), storage (blob storage, table storage), hosting (queue service), and management capabilities. It links to on-premises applications with secure connectivity, messaging, and identity management.
December 27, 2011
gravatar bestech dharuhera: After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.

December 29, 2011
gravatar bestech ananda: This site seems to receive a great deal of visitors.
December 29, 2011
gravatar lyme disease symptoms: Windows Azure provides a scalable environment with computing (web and worker roles), storage (blob storage, table storage), hosting (queue service), and management capabilities. It links to on-premises applications with secure connectivity, messaging, and identity management.
January 1, 2012
gravatar discount uggs: I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in your post. Thanks for sharing this one. discount ugg boots

January 3, 2012
gravatar cheap ugg boots: This is my first visit to your site. Today I have got a new site. I am really happy to be here. I am stay tuned here for your next blog... uggs boots discount

January 3, 2012
gravatar ugg boots cheap: Unlike other your piece of writing has a zeal that matters to your readers.it works according to the needs. discount uggs boots cheap

January 3, 2012
gravatar steelers jersey: This top ten issue is really helping me to choose which one is the best to work with. It doesn’t have to be number one but at least we can work with them well and they give us a good respond and the company has responsibility ugg boots cheap

January 3, 2012
gravatar coach outlet online: If you buy Coach items at the
coach outlet online

store, the goods will be sent out within 24 hours after confirming your payment and arrive to your door within 7 work days.No one can deny the shopping at the
coach factory outlet

is satisfactory. For the low prices and good quality.
January 29, 2012
gravatar coach outlet: coach outlet

handbags You can not just save your cash but also your time inside a convenient way to obtain the exact same bags product and do not be concerned the shippment of one's products.The
coach outlet store online

are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
January 29, 2012
gravatar discount uggs boots: Your first-class knowledge about this good post can become a proper basis for such people. nice one! ;)
February 1, 2012
gravatar colored contacts for dark eyes: Me había equivocado de almacenamiento SQLAzure y Azure tabla por alguna razón, y estaba tratando de conectarse a la tabla de almacenamiento al tiempo que estableció SQLAzure.
February 2, 2012
gravatar michael kors watches: This article was vey helpful to me. I believe this web site has very wonderful written subject matter articles. I recommended it on digg.

February 2, 2012

Php5_zce_logo

Upcoming events

I will be speaking 06-02-2012: D-Day
I will be speaking 17-02-2012: Techademy Trainingday February
I will be speaking 23-02-2012: Zend Webinar: Git for Subversion Users

Tags

1337 2008 2010 2011 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile alfred amsterdam apache api apple article articles atk atkMetaNode audioscrobbler automation azure backwards compatibility barcelona barcodes bash bbc bbq beatstad belgium best practices bittorrent blogging blogs boards of canada book books bughuntday bundle caching cake cal evans calendar career cat cerf certificate cfp clear cms cologne common sense communities community components conference conferences contest continuous integration contribute contribution crisis css custom d-day datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex docblox doctrine documentation download dpc dpc09 dpc10 dpc11 DPC2008 dreamhost drupal dv7 eclipse ed editors efficiency enterprise errors event events expertise ezcomponents facebook finland flickr fork framework frameworks freelance freeze frontend fun game games geoip germany getting real git github gnome-do google google calendar googletalk graceful degradation hack hackers hidden gem hiphop howto hp HR html http i386 ibuildings icann ide ideasofmarch idm imovie indy ingewikkeld integration international php conference internet interview ipad IPC ipc ipc08 ipc10 ipc11se iterm2 javascript jenkins jenkins-php job job openings jobeet john peel joomla joomladays kiva kubuntu launcher launchy left on the web libraries library lighttpd lime linktuesday linux live london loudblog m2ts mac magazines malware mambo marjolein mediterra meeting meme meta methodology micro-financing microframework microsoft migration movie music mysql namespace namespaces netbeans netherlands newsfire nllgg nos odmarco open source opinion ORM osx paradiso paris partnership pavilion pear pecl performance personal pfc10 pfc11 pfcongres pfcongrez pfz photo php php5.3 phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpday phpdoc phpdocumentor phpgg phpitalia phpnw phpnw08 phpnw11 phpstorm phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected prototype PSR-0 public python qa qr codes re2c recruiting refactoring review rewrite ruby on rails san francisco schedule scifi script security sensio seven things sfdaycgn sflive2011 shell scripting silex simplexml slides smfony software sogeti solar sound speakers spl ssh standard standards star trek static steer strings stylesheets subversion symfony symfony live Symfony2 symfonycamp symfonyday symfonylive symfonyUnderControlPlugin talk talks techademy technology techportal tek09 telecommuting terratec terrorism testfest testing textmate textpattern the right tool timeout tips tld todo tomas tools training twig uncon unet usability usergroup validation vhost video vim vinyl virus warp webinar weblogging webservices wiki windows winphp women wordpress work workshop world world of warcraft wpi writing wunderlist xml xpath xsd yara year youtube zc11 ZCE zemanta zend zend framework zend server zend studio zendcon Zend_Form zite
© 2004 - 2012 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