News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stuart Herbert's Blog:
PHP Components Shipping Web Pages With Your Components
August 16, 2011 @ 13:13:06

Stuart Herbert's latest post in his "PHP Components" series looks at an optional but handy thing you can include in your component's package - web pages (be they a manual or other kind of information). This new post talks about where they should lie in the component's package structure.

I'm now going under the bonnet of our components, and looking at the different file roles that the PEAR installer expects to find when we distribute our component as a PEAR-compatible package. It isn't very often that a component needs to ship web pages too, but should the need arise, here's how to do it.

He starts by defining what a "web page" could be (HTML, Javascript, CSS, etc) and gives the place in the hierarchy they should fit. When you use the PEAR client to install the package, these files are placed in the "www" folder of your PEAR installation.

0 comments voice your opinion now!
component webpage structure tutorial pear


blog comments powered by Disqus

Similar Posts

Lorna Mitchell's Blog: Retrieving Product Attributes from Magento's V2 API

DevShed: Working with MySQL and Sessions to Serialize Objects in PHP (Part 3)

Juozas Kaziukenas' Blog: Zend Framework and Microsoft IIS

Michael Nitschinger's Blog: Getting Started with Couchbase and PHP

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP


Community Events





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


package series community framework composer release symfony application interview library language podcast voicesoftheelephpant update laravel version tool security opinion introduction

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