public marks

PUBLIC MARKS from kasi77 with tag pear

2008

PEAR :: Package :: System_Daemon

(via)
System_Daemon is a PHP class that allows developers to create their own daemon applications on Linux systems. The class is focussed entirely on creating spawning standalone daemons, and for example includes: 1. Methods to generate OS-specific startup-files (init.d) (currently only Debian/Ubuntu are supported), so that your application gets started on reboot as well. 2. Methods for logging purposes 3. Simple syntax 4. Support for PEAR's Log package 5. Can run with or without PEAR (PEAR adds more elegance & functionality) 6. Default signal handlers, but optionally reroute signals to your own handlers. 7. Log levels comply with PEAR_LOG_ levels but are called SYSTEM_DAEMON_LOG_ for (in)dependency reasons 8. Set options like max RAM usage Une alternative à http://www.glagla.org/weblog/2007/11/05/programmer-un-demon-en-php/

Sniffing refactoring needs

by 2 others (via)
While still messing around with the PHP_CodeSniffer Pear package, I took a somehow jealous 1000 feet look at some prominent code inspection tools of the Java community: PMD and Checkstyle. Browsing their available rule sets/checks I soon recognized that guaranteeing the coding standard adherence is just a partial aspect of these tools. The following post will focus on one of these additional aspects, which is finding problems related to the code size of the inspected code artifacts, by showing how to port two selected rules to sniffs for utilization with the PHP_CodeSniffer tool. These ported sniffs can be used to automatically spot obvious code smells in the code base and to signal the need to apply the appropriate and odour reducing activity known as refactoring. Further more a complete set of code size sniffs, going beyond the trageted realm of the sniffs to come, could be used to speed up the feedback loop and to reduce the effort for manual code reviews.

2006

Setting up your own PEAR channel - the official way - Lot 49 - Greg Beaver's blog

by 3 others (via)
This means that in order to set up your own personal channel, you need to take these steps

PEAR :: Bug #6061 :: problem creating root node with Oracle

line 975 replace : $parent['norder'] = is_null($tmp_order) ? 0 : $tmp_order; by : $parent['norder'] = (is_null($tmp_order) or empty($tmp_order)) ? 0 : $tmp_order;

2005

There and Back Again » HTML_AJAX

les posts du créateur de Pear::HTML_Ajax sur son blog

DB_DataObject_FormBuilder

The DB_DataObject_FormBuilder package

The Log Package

by 1 other
pear log manual

kasi77's TAGS related to tag pear

ajax +   blog +   bug +   channel +   clevermarks +   code +   codesniffer +   courbe +   cr�er un channel pear +   daemon +   db +   db nestedset +   db-2-mdb2 +   demon +   développement +   faq +   graphique +   groupe:clever-age +   html +   html safe +   inittab +   java +   linux +   log +   mdb2 +   nestedset +   pear db +   php +   php5 +   php_codesniffer +   pod +   svg +   todo +   tools +   xss +