|
RSS feeds on your webpages Optimized for webmasters |
|
Home
Demo Download F.A.Q. |
Display by date - Display by feed
computer download english français games informatique jeux vidéos mac ordinateur pc php software téléchargement webmaster windows
New Rockville PHP Group - Brandon Savage
-
Mon February 6, 12
There are lots of active, vibrant developer groups in the DC area: DC PHP, Baltimore PHP, and the Frederick Web Tech group. The DC PHP Beverage Subgroup meets monthly in Northern Virginia. But in the middle between all these groups lies Montgomery County, Maryland. In that area live hundreds of developers who struggle to reach [...]
Revamping my development toolchain - Ben Ramsey
-
Mon February 6, 12
It used to be that once a year I would take a good, hard look at the tools I used and endeavor to learn something new or change my workflow with those tools. However, I've been living the #startuplife for the past two years, so it's been about three years since I last addressed my development toolchain. I decided to come up for air and take some time this weekend to rectify that by addressing five main areas: my terminal emulator, my shell, my terminal multiplexer, my IRC client, and my color scheme—yes, even my color scheme! In addition, I decided to push out my updated Octopress-powered blog, even though things are still a little rough around the edges. Switching to iTerm2I've been a long-time user of Terminal.app, but I had been hearing good things about iTerm2. I actually used iTerm (version 1) years ago, but I switched back to Terminal.app for reasons I cannot recall. Nevertheless, iTerm2 has come a long way, and I wanted to take advantage of some of its functionality like split panes, better full-screen support, etc. So, that was the first major change I made to my tools. Ditching bash for zshBash has been my favored shell since I began using Linux about fourteen years ago. I'd never given much thought to using a different shell, and to be honest, switching shells always seemed a daunting task. I thought I'd have to relearn my way around the shell, and everything I took for granted with Bash would be non-existent in a different shell. Fortunately, this is not true. As it turns out, zsh “can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh” (Wikipedia). I was able to switch to zsh without ditching my knowledge of bash. As a result, I've gained all the advantages of zsh, which include advanced customization and scripting capabilities, while continuing to provide most (if not all) the same functionality and commands I'm used to in bash. I have much more to learn, though, so if you have tips and tricks, please share. If you're interested in switching to zsh, I recommend checking out oh-my-zsh. It's a framework for managing your zsh configuration, and it contains lots of goodies. In addition, there are great posts by Mark Nichols and Jon Kinney that will get you quickly up-to-speed with oh-my-zsh. The latter post has the awesome title “It's not enough to bash in heads, you've got to bash in minds…with ZSH”. Using tmux instead of screenGenerally, I've really only used screen when I started noticing that my connection to a remote development machine was getting sluggish or I wanted to keep a constant connection to IRC, but tmux has opened my eyes to so many more possibilities that a multiplexer can offer. I've just only started using it, so I can't say much about it, but I encourage you to read Hawk Host's two-part post on tmux. Moving back to irssiI used irssi in a screen session for years. Then, I decided I needed Growl notifications from my IRC client. I quit using irssi in favor of Linkinus. I've used Linkinus for about two years—together with the IRC bouncer znc for some of that time—but I've continued to miss the flexibility and functionality of irssi. On a whim, I decided to switch back to irssi, but it wasn't without so Truncated by Planet PHP, read more at the original (another 3132 bytes)
PHPUnit Plugin For Sublime Text 2 - Stuart Herbert
-
Sat February 4, 12
Sublime Text 2 is a new cross-platform text editor that I've recently switched to. It's still in public beta, but already offers better performance (and battery life!) and a better look (fonts that render properly!) than Java-based IDEs such as Netbeans. One thing it didn't have was support for PHPUnit, so I've made a plugin. It's available to install via Package Control. You Need A phpunit.xml or phpunit.xml.dist FileTo use this plugin, your project needs to contain either a phpunit.xml or a phpunit.xml.dist file. This file contains all the configuration that needs to be passed to PHPUnit. The plugin searches upwards from your code, and will favour a phpunit.xml file over a phpunit.xml.dist file if it finds both. If you don't have one, you need to go and create one now. How To UseIf you have your code open in a Sublime Text 2 window, right-click inside the window to see what your options are:
If you have your tests open in a Sublime Text 2 window, right-click inside the window to see what your options are:
If you're someone who prefers keyboard over mouse, then you'll probably want to run the PHPUnit plugin commands from Sublime Text 2′s Command Palette: You get the same commands that appear on the right-click menu … the right commands will appear for the file that you're currently editing, just as you'd expect. Finally, you can also right-click on your phpunit.xml (or phpunit.xml.dist) file in the Project Sidebar, and run your unit tests using that specific config file. Helpful SnippetsLike TextMate before it, Sublime Text 2 also has a handy snippets feature, where it can insert a pre-crafted block of text (or, in our case, PHP code) to speed up your coding. I'm collecting most PHP-related snippets in my Additional PHP Snippets plugin (hat-tip to Rob Allen for the inspiration for this), but the PHPUnit plugin includes a few PHPUnit-related snippets to help.
Truncated by Planet PHP, read more at the original (another 664 bytes)
/dev/hell Podcast Episode #5 - Brian Moon
-
Fri February 3, 12
I was privileged to be invited to be a part of the /dev/hell podcast this week. Thanks to Chris and Ed for having me on. Check it out. And subscribe to their podcast.
Zend Framework application.ini Cheat-Sheet - Mayflower Blog - PHP
-
Fri February 3, 12
With the release of Zend Framework 1.8 came the long awaited component for bootstrapping a Zend Framework application. Many different bootstrapping-solutions became obsolete with Zend_Application. In the beginning of the framework most developers didn?t give much thought on bootstrapping. Most of the initialisation work was done directly in index.php, the central starting point of the application. Teams often moved that bootstrapping code to a separate configuration script. The solution worked, but many people wanted a more standardised process for application initialisation. Continue reading "Zend Framework application.ini Cheat-Sheet"
Another Serious Security Bug on PHP 5.3.9 - PHP Classes
-
Fri February 3, 12
By Manuel Lemos
PHP 5.3.9 release was mostly meant to fix a security bug, but it introduced a new more serious bug. PHP 5.3.10 was just released to fix this issue.
Meanwhile Debian Linux maintainers decided to stop enabling the Suhosin extension by default. This extension is used by several Linux distributions to provide protection against present and future security bugs of PHP. Read this article to learn more about the just fixed bug what you should do to avoid these security issues. You can also learn more what is the current PHP security status and the importance of the Suhosin extension to prevent PHP security problems.
PHP Summit in München - Sebastian Bergmann
-
Fri February 3, 12
This blog posting is in German as the event it relates to is German-only.Sorry for the inconvenience. Bei allen PHP-Themen zählt nichts mehr als die Praxis. Deshalb bieten wir unsere Power-Workshops interaktiv und mit intensivem Praxisbezug an. Über die behandelten Themen entscheiden die Teilnehmer mit ihren konkreten Fragen. Anstelle von Frontalunterricht erleben sie die Entwicklung von neuem Code unmittelbar. Mit Augenzwinkern und Spaß erläutern Sebastian Bergmann, Arne Blankerts und Stefan Priebsch Entwicklungsmethoden und Tools und stellen Trends und Konzepte vor. Der nächste PHP Summit findet im März in München statt. Und das sind die Workshops: Update PHP: Neue Features und Technologien nutzen Workshop von Sebastian BergmannPHP 5.3 und PHP 5.4 überzeugen im Programmieralltag durch eine Fülle relevanter Vereinfachungen. Lernen Sie die innovativen Features und geschickte Einsatzmöglichkeiten der neuen Versionen kennen. Entdecken Sie das Lösungspotenzial aktueller Technologien aus dem PHP-Umfeld (memcached, ZeroMQ ?) für Ihre Fragestellungen. Weg mit Strubbelcode: identifizieren ? verbessern ? vermeiden Workshop von Sebastian BergmannFrüher oder später wird unsauber geschriebener Code zum Ärgernis. Nicht nur für den, der ihn warten muss. Änderungen und Erweiterungen können im Extremfall den Code unwirtschaftlich machen. Lernen Sie schlechten Code durch statische Codeanalyse aufzufinden und in test- und wartbaren Code umzuschreiben. Lernen Sie mithilfe der SOLID-Prinzipien, nachhaltig wartbaren Code zu schreiben. Best Practices ? aus dem Alltag für den Alltag Workshop von Arne BlankertsNatürlich könnte man das Rad jeden Tag neu erfinden. Meist fehlt dafür die Zeit, Spaß macht es auch nicht und Fehler können sich so immer wieder an denselben Stellen einschleichen. Für die vielen alltäglichen Probleme, die nur geringfügig von schon vorhandenen Lösungen abweichen, gibt es clevere Ansätze, die das Leben leichter machen. In einer komplett vom Auditorium gesteuerten Live Session zeigt der Workshop dafür programmatische Konzepte und lädt zur Diskussion über Tools und klassische Fragestellungen ein. Auf Fehler sicher vorbereitet sein Workshop von Arne BlankertsProgramme und Webseiten enthalten Fehler. Immer. Sie werden sichtbar, wenn Benutzer falsche, ungültige oder unerwartete Eingaben machen, der Zugriff auf die Datenbank plötzlich unmöglich ist oder die Festplatte überläuft. Um solche und andere Probleme sicher abzufangen, gibt es verschiedene Ansätze, die hier vorgestellt und diskutiert werden. Wie man Exceptions richtig anwendet, warum ein eigener Error Handler hilfreich ist und dass Debugging viel mit Sicherheit zu tun hat, vermittelt der Workshop lebendig und anschaulich. Objektorientierte Programmierung (OOP) in PHP I: Basiswissen Workshop von Stefan PriebschDer Workshop klärt die Frage, was es mit der objektorientierten Programmierung eigentlich auf sich hat. Jenseits der bekannten Standardbeispiele führt er praktisch in die OOP mit PHP ein. Dabei werden neben den Grundlagen und zentralen Prinzipien der OOP interessante Features beispielsweise aus der Standard PHP Library (SPL) vorgestellt und ihr sinnvoller Praxiseinsatz vorgeführt. Neben Faktenwissen wird eine Denkweise vermittelt, die es erlaubt, unnötig komplizierte Ansätze von vornherein zu umgehen. Objektorientierte Programmierung (OOP) in PHP II: Aufbauwissen Workshop von Stefan PriebschDer Workshop zeigt Teilnehmern, die mit den Grundlagen der OOP vertraut sind, fortgeschrittene Techniken wie Dependency Injection, abstrakte Klassen, Interfaces und Best Practices für erfolgreiche OOP. Eine Live-Coding-Session macht den Einsatz der vorgestellten Techniken in der Praxis erfahrbar. Außer Faktenwissen zeigt der Workshop, dass gute Lösungen einfache Lösungen sind: Einfache Objekte sind leichter wieder zu verwenden und vermeiden Fehler. PHP-Anwendungen testen: Basiswissen Workshop von Sebastian BergmannDer Workshop vermittelt grundlegende Kenntnisse und Fähigkeiten im Einsatz von PHPUnit bei Unit Tests, Datenbank-Interaktionstests, Edge-to-Edge- Tests und End-to-End-Tests. Sie lernen alles, was Sie über das Schreiben, Ausführen und Organisieren von Unit Tests mit PHPUnit beherrschen müssen. PHP-Anwendungen testen: Aufbauwissen Workshop von Sebastian BergmannPHPUnit clever einsetzen: Die Teilnehmer lernen die besten Praktiken beim Einsatz von PHPUnit und erprobte Strategien bei der Einführung von Testmaßnahmen an vorhandener So Truncated by Planet PHP, read more at the original (another 6664 bytes)
Excited About PHP Again - Brandon Savage
-
Fri February 3, 12
Ten months ago when I started at Mozilla, I began transitioning away from PHP and into Python and Django. This was inevitable: the Mozilla Webdev team favors Python over PHP in almost every webapp (Socorro is the critical exception). However, over time I had become disillusioned with the direction that PHP was taking. The project [...]
DMSFilter Library 1.0.1 and Bundle - Rafael Dohms
-
Thu February 2, 12
The past weeks I finally had some time to invest in the DMS library again, so i got busy with a few things. I also had to fix a big problem which had gone unnoticed to me, so i have to thank Mr. Guilherme Blanco for pointing it out. Sadly this means a BC break, so please follow and make adjustments. The BC break: ->filter() becomes ->filterEntity()The reasoning here is simple, PHP still supports legacy from PHP4 meaning a function with the same name as the class is understood as a constructor. This generates a few nasty notices, and it made enough sense to rename the function, making it clear like the other ones. The DMSFilterBundleAlong with this i had time to work on building a Bundle so you can plug filtering into Symfony 2 just as you would with validation. Composer supportThis bundle is also available on Packagist, making it easy to install, i'll also add the DMS and Filter library as standalones to this soon. TagsI finally tagged the releases as 1.0, or rather 1.0.1 as i quickly found a few fixes to put in. The rest remains, here are the links: DMS Library: github DMS Filter Library (sub-tree split): github DMS Filter Bundle (sub-tree split): github packagist/composer © Rafael Dohms for Rafael Dohms, 2012. |
Permalink |
No comments
PHP 5.3.10 Released! - PHP: Hypertext Preprocessor
-
Thu February 2, 12
The PHP development team would like to announce the immediate availability of PHP 5.3.10. This release delivers a critical security fix.Security Fixes in PHP 5.3.10:Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830.All users are strongly encouraged to upgrade to PHP 5.3.10.For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.
Last updated : Mon February 6, 12 - 21:15:04
|