 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Adam Patterson's Blog: DIY simple staging server.
by Chris Cornutt October 21, 2011 @ 10:29:41
Adam Peterson has posted an interesting idea for those out there running an internal staging server they want to constantly keep up to date with the main line of code (without manual intervention) - a git pull web frontend combined with git post-receive hooks.
This [move from svn to git] left a bit of a gap in my process where I could no longer test on a remote server without updating it manually by S/FTP or opening terminal and manually calling a git pull. Open terminal and manually git pull it did break up the work flow a bit so using the Dingo framework I created a very simple Git helper and gave it its own URL something like git/pull.
He added a post-receive hook to his git server that calls this "git/pull" URL on the staging server and updates the code on the server. This provides an easy asynchronous way to update things on another server. Note, though, that this should never be done on a publicly accessible server - it's a pretty large security hole (or at the very least made secure somehow). He used Dingo to create his interface, but something like the Slim micro-framework could have worked just as well. You can view his code on github.
voice your opinion now!
git pull workflow staging server postreceive hook
Smashing Magazine: Cleaning Up The Mess How To Keep Your Coding Workflow Organized
by Chris Cornutt January 21, 2011 @ 10:47:10
On the Smashing Magazine site today Brian Hoyt has some suggestions for you to use to keep your workflow organized when developing your applications (code, file structure, assets, database, etc).
Perhaps in the past you've tried to build a more complex, cutting-edge website like [our example], and the project started off with great enthusiasm, but ended up in a nightmarish mess that you couldn't maintain. Your client lost interest when new features started getting too hard to add, and you started having to work late at night, tracking down bugs that you couldn't even find the relevant file for. After a project like that, it's not hard to see the relevance of a well-organized website project.
He talks about some general principles like "don't over-organize" and "don't mix aspects of the site" as well as some more specific things like a website size to structure recommendation and parts of a site and how to handle them - assets, stylesheets, javascript, the database structure/values and, of course, the code.
voice your opinion now!
organized opinion workflow website structure
Zend Developer Zone: Zend Framework Dispatch Workflow Diagram
by Chris Cornutt May 13, 2009 @ 08:47:33
In this new post to the Zend Developer Zone, they point out a workflow diagram Polley Wong has come up with showing how the Zend Framework's dispatch system works (request handling).
I've been researching Zend Framework lately and was curious about what's actually happening behind the scene of the whole dispatch process. Inspired by Thorsten Ruf's (zenddispatch_en.pdf) clear and beautifully presented workflow, I decided to go a step deeper and crawl Zend Framework's code. I came up with my own version of the flexible yet complicated workflow.
You can check out this new PDF here. It diagrams out an overall view of the request handling, a look at what happens inside the front controller including components like the Controller Dispatcher, Action Controller, Action Helper Broker and Response Object.
voice your opinion now!
zendframework dispatch workflow diagram polleywong
KillerPHP.com: What is Source Control and Why Should I Use It?
by Chris Cornutt November 06, 2007 @ 12:54:00
On the KillerPHP.com website today, there's a good beginner's guide (from J. Lenensold) about using version control in your development - specifically Subversion.
As projects start to get a little larger, it becomes crucial that you manage your code in an easy and organized manner. Using subversion is a breeze with tools like TortoiseSVN on windows and SCPlugin on the mac.
This article is an attempt at introducing the concept of SVN. There are many great tutorials out there that outline the steps for installing SVN on windows, mac and linux.
He talks about why using version control is a good thing, how it can speed up testing and even relates it back to PHPers with a sample workflow (with graphic) and some helpful hints as you introduce this very handy functionality into your development process.
voice your opinion now!
sourcecontrol subversion development workflow sourcecontrol subversion development workflow
|
Community Events
Don't see your event here? Let us know!
|