Entries tagged as process
bazzline arguments array autocomplete backport behavior cli client command component component github.com composer console csv debian debian 6 english filter fork free as in freedom free software free_as_in_freedom generator git github github.com lgpl lgplv3 limit manager link locator lock module ohloh.net open source opensource packagist packagist.org php pipeline posix process fork manager propel readline requirement rest server shutdown signal handler thread web zend framework 2 buffer buffer manipulation code com cronjob example file heartbeat json links log level log level weight log request log4php php 5.3 php5 phpunit proxy logger psr logger psr standard psr-3 logger release testcase validator classmap configuration diskspace filesystem gpl hamburg help howto linux mindworks mysql mysql cluster replication phpug private project project symfony type hint vcf xml yaml 1080p 32c3 acta activedirectory addon advertisement ajax algorithm alias alternativlos amazon android anonymous function ansible antifragile software apache apache-ant apress apt-get aptitude arch arch linux architecture archlinux archzfs arduino arm array_replace attraktor audio aur ausbeutung auth autoloading avc awareinterface backend backup bankster bash bash. howto beta bios blog book bounce management bridged broken browser brüsselokratie bug bürgerüberwachung business model c++ cache caldav car ccc checksum chrome cifs client-server closures cloud cms coding standard combine composer nyancat conference congress constants convert couchdb count create_function crypto cryptome.org cubox cups curl dac daily data management data mapper database datamining date datenschutz datetime dbms debug debugger debugging decorator delete Demokratie demonstration dependency injection dependentinterface design pattern design patterns desktopmanager deutsch deutschland development devop diff dkms docker domain driven domain driven design domain model donate donation dpkg dtrace dummheit email emscripten encoding energie error error solving erziehung europa event event driven exploit export extension extract files facebook fcc feature fedora fefe fight for the future file manager file synchronization filesytem filtering finanzindustrie find firefox firefox os fix fluxbox flyway framework free bsd freeze freifunk frontend froscon fsf function gadgat game gdm gentoo german gesetz gnupg goals goldene mitte google gpt gpu grep grub gtk guest gui hack hackfressenbuch hacking hardened hardware hardware database HaXe hdd hdmi helper hhvm holiday host hosts housekeeping html html 5 httpd https i3wm illumos image tool imagemagick import improvement independent infrastructure initiative injectinterface innodb installer intel interface internet explorer interval iso it java javascript jenkins jquery kde kde active plasma kernel kernel howto kgraft kickstart kvm laf lambda function language lantern law leanpub led leedtime legacy code lenovo library limit link docker link zend framework 2 link. opensource live_cd lobby locale logger luks lvm lxc mac machtwahn mail maintenance mariadb markdown marketing marktfreie mattermost mbr meego meetup meinungsfreiheit memory mempo milax mint mkdir mobile device mock modelstorm monitoring monsanto mootools framework mozilla multiboot multilingual multimedia music musikpiraten nas netbeans network neutralität nextcloud nosql note notes notion nsa ntpd number openbox openelec openjdk opensolaris openssl openzfs operation system orm owncloud p2p packagemanager packages pacman pair programming pcmanfm pear pentadactyl percona performance perl5 permission pgp phantomjs phar php 5.4 php user group php.usergroup phpcs phpstorm phpughh ping piwik plugin podman policy politik pollution portable application powershell printer privacy profile programming language proxy quake raspberry pi raspberrypi recession redis refactoring regex replace report return path rpc rsync rust scaling schwarzraubmordnazikommunistenterrorkopierer screenshoot search search engine security sed selinux serendipity services sha1 shadow copy shell shellscripting slides smart smarty smtp snapshot snippet soap sorting soziale verantwortung sozialverhalten specification spl splitter ssh sshfs ssl/tls steuerveruntreuung storage storage management string sudo svn syncthing synergy systemd systemV tablet tabs tag talk talks tanenbaum targeted te team teamviewer template terminator test test proxies themes thinkpad thunderbird tizen tmpfiles.d tomcat tool tool.bazzline.net totalüberwachung translation true story ttip tutorial uberspace überwachungsstaat udev uefi ultra-low-cost computer uml unit test unittest unix unrar update upgrade usb usb stick useability user management usergroup usort uuid vi view helper vim virtual box virtual reality virtualizationm qubes os visual vorratsdatenspeicherung vote web. link webbrowser webperformance webservice website weltenretter weltenvebesserer weltenverbesserer weltenzerstörer windowmanager windows windows 7 wireshark working with strings wsdl wxwidgets x11 xbmc xfce4 xrandr xserver zabbix zenburn microsoft windows terminal zend framework zend framework controller plugin zendframework zendframework2 zfs zfsonlinux zones zpool branch gesetze merge mirror pull pull_request push burn comm pdo quote sort tar uniq 31c3 3dcenter.org abgeordnetenwatch altona america_fuck_yeah apple atom atomkraft atomlobby atommüll autonome backdoor bebörden behörden berlin big data bildung bnd brick c3s captcha ceta chelsea_manning clothes color config crowdfunding data mining ddos demo demokratie detusch deuschland die partei digitalcourage drm eff egk empfehlung encryption engish es gibt nur gute menschen und schlechte menschen - eugh euhg eula ev fbi fehlinformation film filmindustrie filz filzpartei finnland fleisch flintenuschi foebud fracking frankreich free freiesmagazin freiheit statt angst freiheitskämpfer freiheitstattangst fsfe gaby_weber geld gema gemafrei genfood gentechnik gesetzt gkdz gnu guide gummiboot guug hamburg bürgerschaft hebammen hilfe human illegal indect installation iot kalenderwoche klima kombinatorik konzern krieg kriegstreiber lamp lazy_factory lebensweisheit lobbycontrol lobbyismus logging lügenpresse lügner luneos maleware manning mantel markenware markfreie martkfreie medien merkel-effect messenger microsoft mieter mitmachen mobile money muddi mustererkennung nachruf naturliebe nebeneinkünfte netzfrauen netzpolitik netzpolitik.org netzsperre nfc niedergang öffentlich öl openmoko openstreetmap panikmache patent patente petition php 5.5 portal pro-linux pro-linux.de queues rathaus red hat reporter ohne grenzen reverse engineering rfid rückblick rundfunk sailfishos schattenregierung schlanenöl schwarzgeld scoring selbstregulierung sexualität sicherheit smart-meter snowden solr soziale unverträglichkeit sozialsystem spenden sql steuerrecht subselect suspend teufelszeug theorie time tipp tisa ubuntu umweltschutz umweltverschmutzer urheberrecht usa verfassungsbeschwerde verräter verräterpartei verschwender veruntreuung video volksentscheid vulkan wahl wahlen wasser wau holland web lobbycontrol webos weltenverbesser weltenvernichter weltenzerstörder weltverbesserer whistleblower wikileaks wikipedia.org zenburn zensur zucker chemnitz database layout graphic pdf presse rockbox smf aspect oriented programming contao explode hint phpmyadmin runtime shared installation subquery traits unconference
version 1.0.0 of process pipeline component for php released
I happy to announce the release of 1.0.0 of bazzlines process pipeline component for php.
This component will easy up the creation of process pipe.
Indeed, it is a pseudo pipeline (process collection or process batch) since the php process is single threaded so far.
Special thanks to Ralf Westphal and especially for his book the architects napkin.
Why?
- separate complex operations into simpler
- easy up unit testing for smaller processes
- separate responsibility (data generator/transformer/validator/flow manipulator)
- create process chains you can read in the code (separate integration code from operation code)
- no dependencies (except you want to join the development team)
How to use?
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
use Net\Bazzline\Component\ProcessPipe\InvalidArgumentException;
use Net\Bazzline\Component\ProcessPipe\Pipe;
try {
$pipe = new Pipe();
$pipe->pipe(
new ProcessOne(),
new ProcessTwo()
);
$output = $pipe->execute($input);
} catch (ExecutableException) {
//handle process exception
} catch (InvalidArgumentException) {
//handle pipe exception
}
How to install?
By Hand
mkdir -p vendor/net_bazzline/php_component_process_pipe
cd vendor/net_bazzline/php_component_process_pipe
git clone https://github.com/bazzline/php_component_process_pipe
With Packagist
composer require netbazzline/phpcomponentprocesspipe:dev-master