public marks

PUBLIC MARKS with tags php & pear

2010

pearhub.org

by Xavier Lacot
A service allowing to build pear packages directly and automatically from a github repository. OpenId login. Nifty.

pearhub.org

by Xavier Lacot
Pearhub is a pear channel and a pear package publishing platform. As a user, you can install packages. As a developer, you can publish packages.

2009

2008

PEAR :: Package :: System_Daemon

by kasi77 (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 kasi77 & 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.

2007

Working towards Pyrus and PEAR2, check it out or miss out - Lot 49: Greg Beaver's blog

by mbertier (via)
If you've been ignoring PEAR, perhaps it is time to take another look?

PDO for PHP5

by tehu
how to install PDO extension for PHP5 #5 & #6

Active users

nhoizey
last mark : 26/07/2010 08:50

Xavier Lacot
last mark : 16/06/2010 12:12

dzc
last mark : 13/05/2009 05:59

krachot
last mark : 11/01/2009 10:13

jean-gael
last mark : 22/10/2008 17:41

kasi77
last mark : 04/06/2008 18:27

after8
last mark : 06/04/2008 13:44

jdrsantos
last mark : 26/12/2007 13:11

srcmax
last mark : 18/12/2007 17:45

mbertier
last mark : 24/09/2007 07:45

kunix
last mark : 17/09/2007 07:18

tehu
last mark : 15/07/2007 17:43