Monday, 5 December 2011

Notes on SVN, PEAR, Pyrus

Basic SVN Workflow

1.       Check out the Project
2.       Update in the morning, and allways before you check in.
3.       Always check in the files at the end of the day.
4.       If you know that other people are working on the same file, you should check in several times a day.
5.       Check in after you have done major revisions.
6.       Remember to compile the program before you check in, so that you know you do not check in a defect file.


PEAR (PHP Extension and Application Repository)
PEAR is a framework and distribution system for reusable PHP components. The purpose of PEAR is to provide:

- A structured library of open-source code for PHP users
- A system for code distribution and package maintenance
- A standard style for code written in PHP, specified here
- The PHP Extension Community Library (PECL), see more below
- A web site, mailing lists and download mirrors to support the PHP/PEAR community

Some basic terminology:

PEAR Packages

The smallest unit that can be managed by Pyrus or the PEAR Installer is a package. A package is a collection of files that are organized and defined by a meta-information file called package.xml. A package also contains meta-information about the collected files, such as the name of the package, the channel that the package is from, the version of the package, information on the developers who created the package, and any external dependencies the package has on other packages or installation requirements (such as minimum PHP version). Packages can exist as a collection of files on disk, or can be placed into an archive in phar, tar, or zip format and then later installed on another system.

 PEAR Channels

Channels are alternative package sources. By using channels, you can install packages that are not part of PEAR. Prominent PHP projects like Horde and PHPUnit distribute their software through PEAR-compatible channels.
In addition to providing the package archives for download, a PEAR Channel must also provide some meta-information that the installer can use to locate the package releases and determine which is the best release to download.

Channels have a file that defines the capabilities of the channel named channel.xml located in its document root (for instance, pear.php.net's channel.xml) and some meta-information in REST format. A channel can also provide a public frontend for users to browse the contents of the channel online, such as PEAR's public frontend.

A REST channel server simply delivers files in a certain directory structure. The content of those files is static. Their location is relative to the URLs given in the channel.xml baseurl tags.

Ref. Link (that's all you need): http://pear.php.net/


Pyrus

In botany (the science of plants), Pyrus is the genus of the pear family, and thus includes all of the pear-producing trees and shrubs under its taxonomical umbrella. In PHP (the hypertext programming language), Pyrus is the next-generation PEAR Installer, a revolutionary package management and distribution system that extends the functionality of the PEAR Installer's already advanced functionality. Pyrus is also friendlier to projects outside of PEAR that wish to take advantage of the strengths of PEAR through channels.

Pyrus represents the cumulative effort of years of work, experience with the PEAR Installer since its inception in 1999, and feedback from users like you. We are very proud to present the best installation tool for PHP.



ROI


“In finance, rate of return (ROR), also known as return on investment (ROI), rate of profit or sometimes just return, is the ratio of money gained or lost (whether realized or unrealized) on an investment relative to the amount of money invested. The amount of money gained or lost may be referred to as interest, profit/loss, gain/loss, or net income/loss. The money invested may be referred to as the asset, capital, principal, or the cost basis of the investment. ROI is usually expressed as a percentage.

Used to evaluate the efficiency of an investment or to compare the efficiency of a number of different investments. To calculate ROI, the benefit (return) of an investment is divided by the cost of the investment; the result is expressed as a percentage or a ratio.

Keep in mind that the calculation for return on investment and, therefore the definition, can be modified to suit the situation -it all depends on what you include as returns and costs. The definition of the term in the broadest sense just attempts to measure the profitability of an investment and, as such, there is no one "right" calculation. This flexibility has a downside, as ROI calculations can be easily manipulated to suit the user's purposes, and the result can be expressed in many different ways. When using this metric, make sure you understand what inputs are being used.

Traditionally, when IT professionals and top-management discuss the ROI of an IT investment, they were mostly thinking of “financial” benefits. Today, business leaders and technologists also consider the “non financial” benefits of IT investments.

Financial Benefits include impacts on the organization's budget and finances, e.g., cost reductions or revenue increases.  Non Financial Benefits include impacts on operations or mission performance and results, e.g., improved customer satisfaction, better information, shorter cycle-time.”

Ref. Link: http://en.wikipedia.org/wiki/ROI


Assets

“An asset is a resource controlled by the entity as a result of past events and from which future economic benefits are expected to flow to the entity. In financial accounting, assets are economic resources. Anything tangible or intangible that is capable of being owned or controlled to produce value and that is held to have positive economic value is considered an asset. Simply stated, assets represent ownership of value that can be converted into cash (although cash itself is also considered an asset).

The balance sheet of a firm records the monetary value of the assets owned by the firm. It is money and other valuables belonging to an individual or business. Two major asset classes are tangible assets and intangible assets. Tangible assets contain various subclasses, including current assets and fixed assets. Current assets include inventory, while fixed assets include such items as buildings and equipment.
 
Intangible assets are nonphysical resources and rights that have a value to the firm because they give the firm some kind of advantage in the market place. Examples of intangible assets are goodwill, copyrights, trademarks, patents and computer programs, and financial assets, including such items as accounts receivable, bonds and stocks.”

Ref. Link: http://en.wikipedia.org/wiki/Asset  

No comments:

Post a Comment