<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/&quot;CkQBRH87eCp7ImA9Wx5QF0U.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517</id><updated>2010-09-06T09:39:15.100-04:00</updated><title>Boring Guys Blog</title><subtitle type="html">php, mysql, subversion, xml</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.boringguys.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Rich</name><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>86</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/boringguys" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="boringguys" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUcEQ3w_cCp7ImA9WxBUEkU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-6662918679028866418</id><published>2010-02-27T11:10:00.000-05:00</published><updated>2010-02-27T11:10:02.248-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-27T11:10:02.248-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="zend" /><category scheme="http://www.blogger.com/atom/ns#" term="code" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Export from Wordpress blog and Import to Blogger</title><content type="html">This script exports your posts and categories from your locally hosted Wordpress blog and imports them into a new Blogger blog online.  The script is based on the Blogger examples for working with PHP and blog data.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://github.com/rzygler/misc/blob/master/xfer_to_blogger.php"&gt;Code to export from hosted Wordpress blog and import to Blogger at github&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You need to have the Zend Framework up and running on your system as it contains all the GData libraries for working with Google data in PHP.  This script doesn't use any of the MVC, so you just need to have the files somewhere that you can require them.  &lt;a href="http://framework.zend.com/"&gt;More on Zend Framework here.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You need to edit line 8 to point to the path of your Zend Framework.  You also need to update the database connection variables right below that to match your wordpress blog.&lt;br /&gt;
&lt;br /&gt;
Some caveats:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Blogger can only import 50 blog posts per day before tripping some anti-spam protection.  So the SQL "limit" clause around line 322 will need to be adjusted.  It is set to get the first 50 posts and publish them.&lt;/li&gt;
&lt;li&gt;Wordpress "categories" become Blogger "labels"&lt;/li&gt;
&lt;li&gt;Blogger forces any imported comments to the blog posts to originate from you, the author, of the blog. &amp;nbsp;So I have omitted these from my script, figuring it would look crazy to be talking to myself. &amp;nbsp;You could hack this script to add those back in. &amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
What's great about Blogger is that you can create a new test blog and run this script, which allows you to select which Blogger blog you wish to update and go from there.&lt;br /&gt;
&lt;br /&gt;
The usage is:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;php xfer_to_blogger.php --user=email@email.com --pass=password&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The email and password here are the ones you used in setting up your Blogger account.&lt;br /&gt;
&lt;br /&gt;
Let me know how you make out and if you have any suggestions for the code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-6662918679028866418?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2010/02/export-from-wordpress-blog-and-import.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6662918679028866418?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6662918679028866418?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2010/02/export-from-wordpress-blog-and-import.html" title="Export from Wordpress blog and Import to Blogger" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DU4FRnk5fip7ImA9WxBQGE8.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-3866946225590167934</id><published>2009-09-13T02:39:00.001-04:00</published><updated>2010-01-18T10:18:37.726-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-18T10:18:37.726-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Thinking of moving this blog to blogger.com or wordpress.com</title><content type="html">Haven't decided yet, but here's a nice summary of the features involved in &lt;a href="http://pulsed.blogspot.com/2007/07/blogger-wordpress-chart.html"&gt;blogger.com vs wordpress.com&lt;/a&gt;.&amp;nbsp; I wonder if tumblr or posterous are more relevant now?&amp;nbsp; I've got a ton of this old stuff to port over.&amp;nbsp; Looks like I won't be able to show comments made by their rightful authors for old posts no matter which site I use.&amp;nbsp; Decisions decisions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-3866946225590167934?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2009/09/thinking-of-moving-this-blog-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3866946225590167934?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3866946225590167934?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2009/09/thinking-of-moving-this-blog-to.html" title="Thinking of moving this blog to blogger.com or wordpress.com" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkUERnk5cSp7ImA9WxBQGE8.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-5081526301039937570</id><published>2009-07-23T05:36:00.001-04:00</published><updated>2010-01-18T10:23:27.729-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-18T10:23:27.729-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="facebook" /><category scheme="http://www.blogger.com/atom/ns#" term="jobs" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Hiring PHP5 Programmers</title><content type="html">My company has placed an ad looking for more PHP5 programmers to work mostly in the social networking area.&amp;nbsp; We have a coding test that we give to everyone whose resume passes muster.&amp;nbsp; It's a basic test, includes some CRUD database functions as well as creating a basic Facebook app.&amp;nbsp; We specify PHP5 all over the place. &lt;br /&gt;
&lt;br /&gt;
But no one who takes the test ever uses any of PHP5's attributes.&amp;nbsp; Not one test app has come back using classes of any kind other then the Facebook reference. &lt;br /&gt;
&lt;br /&gt;
Am I being too hard on people for this?&amp;nbsp; Maybe we need to specify that creating classes is recommended if not mandatory?&amp;nbsp; I don't&amp;nbsp; know what the answer is, but I know that upon receiving several recent test apps in "PHP5" that have include files that contain only functions, I'm a little depressed.&amp;nbsp; And yes, I used the quotes around php5 on purpose. &lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-5081526301039937570?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2009/07/hiring-php5-programmers.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/5081526301039937570?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/5081526301039937570?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2009/07/hiring-php5-programmers.html" title="Hiring PHP5 Programmers" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkYNQ34-cSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-8243103833781143705</id><published>2009-07-08T02:10:00.001-04:00</published><updated>2010-01-15T15:43:12.059-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:43:12.059-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><title>Ubuntu Add/Remove Program List Empty</title><content type="html">For future personal reference (and maybe others as well), installing Adobe Air tends to break the Add Remove app in Ubuntu.&amp;nbsp; Here's the solution, in a terminal, if you will. &lt;br /&gt;
&lt;br /&gt;
&lt;hr size="1" style="background-color: white; color: white;" /&gt;&lt;br /&gt;
&lt;div style="margin: 5px 20px 20px;"&gt;&lt;br /&gt;
&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left;"&gt;sudo apt-get --reinstall install gnome-app-install&lt;/pre&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-8243103833781143705?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2009/07/ubuntu-addremove-program-list-empty.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/8243103833781143705?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/8243103833781143705?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2009/07/ubuntu-addremove-program-list-empty.html" title="Ubuntu Add/Remove Program List Empty" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkUMRXo5fSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-7656896957591125473</id><published>2009-01-30T02:53:00.001-05:00</published><updated>2010-01-15T15:44:44.425-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:44:44.425-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>How good system administration is like new underwear</title><content type="html">I can't remember the last time I bought my own underwear.&amp;nbsp; I may not have EVER bought any for myself.&amp;nbsp; Each Christmas, there's typically a few new pairs of boxers under the tree with my name on them.&amp;nbsp; Well, more precisely, my name is on the wrapping paper that the underwear come in, not actually on the boxers themselves (because I'm either too old now or much too young to have people labeling my clothes for me). &lt;br /&gt;
&lt;br /&gt;
But I never have to worry about underwear.&amp;nbsp; There's an unseen process chugging along that keeps my clothes drawers replenished with fresh undergarments.&amp;nbsp; It's a constant.&amp;nbsp; The underwear is just there and it just works. &lt;br /&gt;
&lt;br /&gt;
Good quality system administration is like new underwear because it's a constant, it's just there, and it just works. &lt;br /&gt;
&lt;br /&gt;
If the development team is worried about placating the system administration team or if the dev team constantly has to work around various odd limitations in the system, then you're system administration is not like new underwear at all.&amp;nbsp; It's like a sock that has holes. &lt;br /&gt;
&lt;br /&gt;
You don't want to worry when you put on your socks in the morning that your big toe might shoot out of your sock into the cold morning air, right?&amp;nbsp; Is there a more uncomfortable feeling?&amp;nbsp; Similarly, you don't want to launch your new app and have to cross your fingers that the database is going to hold up.&amp;nbsp; (Perhaps I'm starting to mix metaphors here with all the underwear and socks talk) &lt;br /&gt;
&lt;br /&gt;
But my point is this... When your dev team has to worry about the system administration, they're going to spend more time talking about and coming up with solutions to issues that could probably be addressed by more robust system administration.&amp;nbsp; That makes your programming projects take longer.&amp;nbsp; And that's costing you money.&amp;nbsp; Real countable money. &lt;br /&gt;
&lt;br /&gt;
So get yourself a good admin.&amp;nbsp; Pay them wisely.&amp;nbsp; Give them new toys to play with.&amp;nbsp; And never worry about your underwear again. &lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-7656896957591125473?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2009/01/how-good-system-administration-is-like.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7656896957591125473?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7656896957591125473?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2009/01/how-good-system-administration-is-like.html" title="How good system administration is like new underwear" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkQASHY9eip7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-7501719365501389759</id><published>2008-12-20T04:08:00.001-05:00</published><updated>2010-01-15T15:45:49.862-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:45:49.862-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><title>Google Adsense and Google Analytics may be blocked by McAfee</title><content type="html">I can't confirm what's going on but I believe that at least McAfee and maybe other firewall appliance providers recently starting blocking &lt;strong&gt;googlesyndication.com&lt;/strong&gt; in the software of their appliances.&amp;nbsp; It started happening at work this week where all of a sudden Google Adsense and parts of Google Analytics were unavailable to us.&amp;nbsp; When I traced it, it was all requests to &lt;strong&gt;*.googlesyndication.com&lt;/strong&gt;, mostly &lt;strong&gt;pagead2.googlesyndication.com&lt;/strong&gt;.&amp;nbsp; Once we created an entry within our McAfee appliances to allow those addresses through, everything went back to normal.&amp;nbsp; YMMV. &lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-7501719365501389759?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/12/google-adsense-and-google-analytics-may.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7501719365501389759?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7501719365501389759?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/12/google-adsense-and-google-analytics-may.html" title="Google Adsense and Google Analytics may be blocked by McAfee" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkMGRHc9cCp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-3791922934765990001</id><published>2008-12-15T02:57:00.001-05:00</published><updated>2010-01-15T15:47:05.968-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:47:05.968-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><category scheme="http://www.blogger.com/atom/ns#" term="subversion" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Development Environment layout using Linux, Apache, PHP, and Subversion</title><content type="html">Some of the age old questions I face lately are: &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;What's for dinner?&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Should I accept that friend request on Facebook for the friend of a friend of a friend that I knew 15 years ago?&lt;/li&gt;
&lt;li&gt;What's the best development and test environment layouts for PHP using Apache as a web server with Subversion for version control for multiple developers?&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Some of you may be asking yourselves the same questions.&amp;nbsp; The choice of dinner is a personal one.&amp;nbsp; I won't go into that except to say that everyone loves a good burrito.&amp;nbsp; Spicy!&amp;nbsp; And you probably don't care about my take on Facebook etiquette since your friends list probably dwarfs mine. &lt;br /&gt;
&lt;br /&gt;
But I do have some definite thoughts on the layout of development environments.&amp;nbsp; And I find that there's a huge lack of information about this on the interweb, so here you go. &lt;br /&gt;
&lt;br /&gt;
We use Linux, Apache, PHP, and subversion in our development environment and so these instructions will be biased towards these topics but I think you can apply this method using various other technologies. &lt;br /&gt;
&lt;br /&gt;
I like to give each developer their own development web site and development database.&amp;nbsp; I find it's easier for everyone to have their own individual sandbox to play in.&amp;nbsp; We give them each their own domain using their initials, something like &lt;strong&gt;rzdev.domain.com&lt;/strong&gt; for me and &lt;strong&gt;vbdev.domain.com&lt;/strong&gt; for another developer, Vinny Bag-o-Donuts.&amp;nbsp; We set the Apache directories up on the Linux dev box in a similar fashion: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/var/www/rzdev.domain.com/ &lt;br /&gt;
/var/www/vbdev.domain.com/&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
This has a few benefits.&amp;nbsp; If I need to show Vinny something with my site development, I can just send him the link to &lt;strong&gt;http://rzdev.domain.com/broken-page&lt;/strong&gt;.&amp;nbsp; I can make changes to code, even major infrastructure code and not break anything for the other developers.&amp;nbsp; We do the same thing with the databases, prefacing them with our initials. &lt;br /&gt;
&lt;br /&gt;
Now, since our dev boxes use Linux, we set up Samba for sharing on these web directories.&amp;nbsp; This means that all the devs can edit files and use source code management on the Linux server itself or on their Windows machines (we use either Eclipse or Zend Studio and create projects on the shares, that's a whole different posting!). &lt;br /&gt;
&lt;br /&gt;
This dev site layout is closely linked to the way we use Subversion for version control.&amp;nbsp; When we start a new site or application, if we can split out the development evenly enough, we'll just have everyone work from the trunk version of the code, with each developer working on their own little section. Each developer puts the trunk in their Apache dir and we edit the Apache configs to reflect this: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/var/www/rzdev.domain.com/trunk/ &lt;br /&gt;
/var/www/vbdev.domain.com/trunk/&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
The root of the dev sites typically look like this: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/var/www/rzdev.domain.com/trunk/docs&lt;/strong&gt; ( your Apache document root ) &lt;br /&gt;
&lt;strong&gt;/var/www/rzdev.domain.com/trunk/lib &lt;/strong&gt; ( non-public PHP library code ) &lt;br /&gt;
&lt;br /&gt;
When we commit code changes in Subversion, we have a hook that updates our main development site here: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/var/www/dev.domain.com/trunk&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
Again, that site can be seen on the web at http://dev.domain.com/&amp;nbsp; This way, we can do integration testing on our code to make sure our new code doesn't break code from someone else within the dev site. &lt;br /&gt;
&lt;br /&gt;
Now, the important thing here is that the Quality Assurance (QA) and Testing people ( if you're lucky enough to have them ), don't use any of these previously mentioned sites for their testing.&amp;nbsp; Why not?&amp;nbsp; Well, because if they're doing a good job and are therefore sufficiently anal, they're going to complain when code is changing on the site they're looking at. &lt;br /&gt;
&lt;br /&gt;
So we give them their own test site and database that's viewed on the web at &lt;strong&gt;http://test.domain.com/&lt;/strong&gt; and setup in apache at: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/var/www/test.domain.com/trunk/docs&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;/var/www/test.domain.com/trunk/lib&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
The developers will meet and create the list of files and database changes that get moved over to the test site.&amp;nbsp; How the actual moving is done doesn't really matter.&amp;nbsp; If you have the time and energy to set up some Ant or Phing tasks, that works great.&amp;nbsp; But copying/rsyncing files and running some SQL on the test database works just as well.&amp;nbsp; The most important part is that the developers meet to decide which part can go to test.&amp;nbsp; Otherwise, you could have code going to test and eventually production that might not be fully vetted. &lt;br /&gt;
&lt;br /&gt;
When QA finds bugs in &lt;strong&gt;test.domain.com&lt;/strong&gt;, they can send them to the developers.&amp;nbsp; The developers can instantly start working on fixing the bugs in their own dev space at &lt;strong&gt;rzdev.domain.com&lt;/strong&gt; and not affect the other developers or the ongoing testing of the application.&amp;nbsp; Pretty nice right? &lt;br /&gt;
&lt;br /&gt;
Advantages of this approach &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Uses source code management&lt;/li&gt;
&lt;li&gt;Developers can unit test their own code&lt;/li&gt;
&lt;li&gt;Developers can do integration testing between each other's code&lt;/li&gt;
&lt;li&gt;Developer A typically doesn't destroy code or data that developer B is using&lt;/li&gt;
&lt;li&gt;Developers don't destroy code or data that QA/testing is looking at&lt;/li&gt;
&lt;li&gt;Developers can both edit files and use source code management in either Linux or Windows environment&lt;/li&gt;
&lt;li&gt;Very scalable.&amp;nbsp; Adding new developers into the mix is as simple as adding their respective sub domains and databases (of course, this can also be viewed as a disadvantage, see below)&lt;/li&gt;
&lt;li&gt;Less bugs make it to production&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Disadvantages &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Lots of sysadmin overhead initially and with each subsequent domain added.&amp;nbsp; You have to set up all those developer sites, rzdev, vbdev, etc.&amp;nbsp; Same overhead when using branching within subversion.&amp;nbsp; Plus, you have to setup all those databases and setup the config code to connect to the appropriate database for each developer domain.&lt;/li&gt;
&lt;li&gt;Lots of file space for all the sites and databases.&lt;/li&gt;
&lt;li&gt;Confusing for lone wolf and gunslinger developers who are used to overwriting production or each other's development code (too bad for them!)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
So what do you think?&amp;nbsp; How do you setup YOUR PHP development environment? &lt;br /&gt;
&lt;br /&gt;
..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-3791922934765990001?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/12/development-environment-layout-using.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3791922934765990001?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3791922934765990001?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/12/development-environment-layout-using.html" title="Development Environment layout using Linux, Apache, PHP, and Subversion" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;AkYCRnw9cSp7ImA9WxBQGE8.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-7745860330490644394</id><published>2008-11-05T02:27:00.001-05:00</published><updated>2010-01-18T10:22:47.269-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-18T10:22:47.269-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="microsoft" /><title>Mysql and PHP help Obama become President of the United States</title><content type="html">We have our answer to my earlier question about &lt;a href="http://www.boringguys.com/2008/06/06/obama-and-mccain-website-technology/"&gt;technology used by Obama and McCain&lt;/a&gt;.&amp;nbsp; One small step for LAMP, one giant leap for LAMP-kind.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-7745860330490644394?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/11/mysql-and-php-help-obama-become.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7745860330490644394?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7745860330490644394?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/11/mysql-and-php-help-obama-become.html" title="Mysql and PHP help Obama become President of the United States" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkIERn0-eSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-1540790950623024384</id><published>2008-10-30T05:27:00.001-04:00</published><updated>2010-01-15T15:48:27.351-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:48:27.351-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><category scheme="http://www.blogger.com/atom/ns#" term="business" /><title>linkedin.com needs to sync up company names when the company name changes</title><content type="html">My invites to present and former colleagues via &lt;a href="http://www.linkedin.com/"&gt;linkedin.com&lt;/a&gt; have started to tumble in as opposed to the normal trickle.&amp;nbsp; I think that's a fairly accurate sign of our flagging economy as anything I can personally put a number on.&amp;nbsp; Of course it could also be that I'm a loser who has never really used linkedin a lot and so have practically no contacts there.&amp;nbsp; ;-) &lt;br /&gt;
&lt;br /&gt;
What's annoying however is the way linkedin keeps track of company names and what happens when a company name changes.&amp;nbsp; For instance, let's say I work at a company called "Davisons."&amp;nbsp; I put that in my linkedin profile.&amp;nbsp; "Davisons" gets bought by "Johnson, Inc" and they change the name of the company to "Johnson Davisons."&amp;nbsp; So any new people coming into the company know it as "Johnson Davisons," not just "Davisons."&amp;nbsp; When they look for current employees on linkedin, they won't find all of them because some have the old company named listed while some will have the new company name listed.&amp;nbsp; Not to mention how bad this problem gets when one of your previous employers changes names after you have left. &lt;br /&gt;
&lt;br /&gt;
This problem is what I would call an issue with &lt;em&gt;&lt;strong&gt;name history&lt;/strong&gt;&lt;/em&gt;.&amp;nbsp; This kind of &lt;em&gt;&lt;strong&gt;name history&lt;/strong&gt;&lt;/em&gt; problem is starting to creep into other areas of the web as well.&amp;nbsp; I've already had the misfortune of trying to email someone I haven't emailed in a few years and reached a completely different person (ie, one person's email acct was shut down and another started with the same address).&amp;nbsp; Pretty embarassing -- makes me think twice about starting emails with "Hey dirtbag!&amp;nbsp; Long time no see!" &lt;br /&gt;
&lt;br /&gt;
The solution for linkedin's &lt;em&gt;&lt;strong&gt;name history&lt;/strong&gt;&lt;/em&gt; problem is pretty simple.&amp;nbsp; They should ask you if the company has gone by any other names and let you choose from possible alternates (or even free type them).&amp;nbsp; It won't take long for their system to build up the necessary relationships between past and current company names.&amp;nbsp; It could even be pretty slick and auto-update old companies in your profile to their present name if the name is now different from what you specified. &lt;br /&gt;
&lt;br /&gt;
A search for employees of "Davisons" in this case would give you both Davisons and Johnson Davisons and whatever other company names are "linked in" to this company.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-1540790950623024384?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/10/linkedincom-needs-to-sync-up-company.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1540790950623024384?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1540790950623024384?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/10/linkedincom-needs-to-sync-up-company.html" title="linkedin.com needs to sync up company names when the company name changes" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkIDR34-fyp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-6585494401283997488</id><published>2008-06-20T06:01:00.001-04:00</published><updated>2010-01-15T15:49:36.057-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:49:36.057-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><title>Firefox 3 is my panacea</title><content type="html">So one of my biggest technological hurdles has been overcome, I can finally switch folders in gmail since I upgraded to Firefox 3.&amp;nbsp; Sounds small, I know, but I was one of the few afflicted by this &lt;a href="http://www.boringguys.com/2007/11/14/gmail-20-crashing-firefox-with-extreme-prejudice/"&gt;weird bug&lt;/a&gt; on both my work and home machine.&amp;nbsp; And I got to use the word "panacea" in a grammatically correct title.&amp;nbsp; Ahh, life is good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-6585494401283997488?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/06/firefox-3-is-my-panacea.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6585494401283997488?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6585494401283997488?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/06/firefox-3-is-my-panacea.html" title="Firefox 3 is my panacea" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkYDSHkyeyp7ImA9WxBQGE8.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-299109959787846886</id><published>2008-06-06T09:01:00.001-04:00</published><updated>2010-01-18T10:22:59.793-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-18T10:22:59.793-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="microsoft" /><title>Obama and McCain website technology</title><content type="html">Hey all, I just realized that &lt;a href="http://www.johnmccain.com/"&gt;johnmccain.com&lt;/a&gt; is running MS Windows and .NET while &lt;a href="http://www.barackobama.com/index.php"&gt;barackobama.com&lt;/a&gt; is running LAMP with PHP.  May the best tech, errr, candidate win. &lt;br /&gt;
&lt;br /&gt;
Also, &lt;a href="http://my.barackobama.com/page/s/techinterest"&gt;Obama needs a PHP contractor in Boston, Ma&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-299109959787846886?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/06/obama-and-mccain-website-technology.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/299109959787846886?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/299109959787846886?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/06/obama-and-mccain-website-technology.html" title="Obama and McCain website technology" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkEDR3w_eCp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-720456588401899828</id><published>2008-05-20T01:46:00.001-04:00</published><updated>2010-01-15T15:51:16.240-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:51:16.240-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="jobs" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><category scheme="http://www.blogger.com/atom/ns#" term="business" /><title>Beware the Lone Wolf PHP Developer</title><content type="html">With all the posts on &lt;a href="http://www.phpcult.com/blog/frankly-my-dear-i-dont-give-a-damn-interviewing-techniques-for-the-rest-of-us/"&gt;interviewing PHP candidates&lt;/a&gt; popping up lately, I thought I'd post this draft that I've been sitting on for awhile that's related to new jobs and interviewing candidates. &lt;br /&gt;
&lt;br /&gt;
I've run into the Lone Wolf PHP Developer at several places I have done work.  Sometimes, I've had to work side-by-side with the Lone Wolf.  Other times, I've replaced the Lone Wolf who had moved on to different hunting grounds.  Still other times I've had to hire people and had to choose between a Lone Wolf and several other candidates. &lt;br /&gt;
&lt;br /&gt;
Just who is this Lone Wolf and why should we fear them so much?  Here are some telltale signs of the Lone Wolf PHP Developer: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;The Lone Wolf doesn't understand how to work in a team of developers. They typically don't even understand what benefits that would create. They do all development on their own, listening to very little input from qualified sources.&lt;/li&gt;
&lt;li&gt;The Lone Wolf got to page 141 on Enter-A-Beginner-PHP-Book-Title-Here and no further.  Objects?  They've never heard of them.  They must not need them.&lt;/li&gt;
&lt;li&gt;The Lone Wolf re-invents the wheel for every project and doesn't use standard tools and practices.&lt;/li&gt;
&lt;li&gt;The Lone Wolf eats their young.  OK, I made that one up.  Frankly, how could a Lone Wolf have young anyway?&lt;/li&gt;
&lt;li&gt;The Lone Wolf is perfectly satisfied with doing programming work on production servers and using FTP to deploy their code.  It never occurs to them that they should strive to create development and test environments.  It never occurs to them that deployment via FTP doesn't scale higher then one developer.&lt;/li&gt;
&lt;li&gt;The Lone Wolf doesn't know what the letters SCM, CVS, or SVN are, or how to use them in their daily work.&lt;/li&gt;
&lt;li&gt;The Lone Wolf never reads my blog or any other blogs on programming.  The Lone Wolf may not know what a blog is.&lt;/li&gt;
&lt;li&gt;The Lone Wolf says crazy things like "MySQL can't do transactions" and somehow gets management to believe them.&lt;/li&gt;
&lt;li&gt;The Lone Wolf was initially adored by management because they launched a lot of code live during their short stay.  Too bad all that code is buggy and completely un-maintainable moving forward.  Management doesn't like that.&lt;/li&gt;
&lt;li&gt;The Lone Wolf whips up incredibly stupid and unnecessarily complex solutions like template systems in which the templates are stored in a database instead of the file system/memory/cache.  They shun using tried and true templating methods like PHP files, XSLT, or at the very least, Smarty. (see also: reinventing the wheel)&lt;/li&gt;
&lt;li&gt;The Lone Wolf names variables after themselves that mean nothing to anyone else (ex, $lonewolfFlag )&lt;/li&gt;
&lt;li&gt;And worst of all… The Lone Wolf PHP Developer fails to realize that there are other developers out there in the business world, trying to earn a living just like they are.  By failing to conform to development standards that have been proven and tested, they make everyone's job more difficult.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Now, I personally have run into this Lone Wolf scenario with other programming languages as well.  But I think because it is so simple to work with PHP without much formal training that it lends itself to this problem much more readily then other languages.  The blessing and curse of PHP is that it is the new VB 6.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-720456588401899828?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/05/beware-lone-wolf-php-developer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/720456588401899828?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/720456588401899828?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/05/beware-lone-wolf-php-developer.html" title="Beware the Lone Wolf PHP Developer" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkAFQHc9fyp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-1433107194557994983</id><published>2008-05-13T01:50:00.001-04:00</published><updated>2010-01-15T15:51:51.967-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:51:51.967-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="jobs" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>PHP Developer Jobs are the Hottest EVER!!!</title><content type="html">** I'll preface this by saying that I'm not specifically looking for a new position but I think it is important to be aware of the market that you serve.  Even in happy times during my employment, I routinely scan job ads to see the health of the market and to gauge its direction.  ** &lt;br /&gt;
&lt;br /&gt;
If anecdotal evidence means anything, and sometimes it does... and at the risk of sounding like a teenage girl writing on a myspace page, the PHP job market is literally blasting off!  I've never seen the market for PHP programmers as strong as it right now in the NYC/Philadelphia region. &lt;br /&gt;
&lt;br /&gt;
While there are lots of PHP jobs in the usual suspects like small start-ups, there also seem to be a number of jobs at established companies and developer shops.  I'm also seeing a definite split in PHP jobs where there are both entry level jobs as well as jobs for more experienced people with titles like "Senior PHP Developer" and "PHP Tech Lead."  I can't remember seeing so many senior PHP positions.  The salaries I'm seeing are also at an all time high.  Many ads have salary ranges that extend well into 6 figures. &lt;br /&gt;
&lt;br /&gt;
As far as requirements I have seen, there definitely seems to be a shift towards frameworks like Symfony and Zend Framework as well as items specifically mentioning IDEs like Eclipse and Zend Studio.  However, I rarely see mention of source code management and unit testing.  Hopefully those items were cut from the job ads due to space requirements.  ;-) &lt;br /&gt;
&lt;br /&gt;
If you are a PHP developer in the area and are highly experienced, get ready to reap the rewards for your hard work.  If you are a hiring manager in the area, prepare to shell out more for top talent. &lt;br /&gt;
&lt;br /&gt;
So what is everyone else seeing in their area with regards to PHP developer jobs? &lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-1433107194557994983?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/05/php-developer-jobs-are-hottest-ever.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1433107194557994983?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1433107194557994983?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/05/php-developer-jobs-are-hottest-ever.html" title="PHP Developer Jobs are the Hottest EVER!!!" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkAMR3Y7eCp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-4770110757772211290</id><published>2008-04-16T01:30:00.001-04:00</published><updated>2010-01-15T15:53:06.800-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:53:06.800-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Setting up Google App Engine SDK</title><content type="html">I've started playing around with the Google App Engine SDK.  So far I've found this fellow's posts on &lt;a href="http://daily.profeth.de/2008/04/google-app-engine-eclipse-pydev.html"&gt;setting up Python, Eclipse, PyDev, and the Google App Engine&lt;/a&gt; very helpful.  He also has a great post on &lt;a href="http://daily.profeth.de/2008/04/er-modeling-with-google-app-engine.html"&gt;ER-modeling and relational models in Google App Engine&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Check them out. &lt;br /&gt;
&lt;br /&gt;
.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-4770110757772211290?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/04/setting-up-google-app-engine-sdk.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/4770110757772211290?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/4770110757772211290?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/04/setting-up-google-app-engine-sdk.html" title="Setting up Google App Engine SDK" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0EFRHk6fSp7ImA9WxBRGUs.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-2351588021399574793</id><published>2008-04-15T10:06:00.000-04:00</published><updated>2010-01-08T11:53:35.715-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-08T11:53:35.715-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="google" /><title>First impressions on Google App Engine</title><content type="html">&lt;span&gt;&lt;/span&gt;&lt;a href="http://code.google.com/appengine/docs/whatisgoogleappengine.html"&gt;From the Google site&lt;/a&gt;:
&lt;p style="margin-left: 0.5in"&gt;&lt;em&gt;Google App Engine lets you run your web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.&lt;/em&gt;&lt;/p&gt;
&lt;p style="margin-left: 0.5in"&gt;&lt;em&gt;You can serve your app using a free domain name on the &lt;code&gt;&lt;span style="font-size: 10pt"&gt;appspot.com&lt;/span&gt;&lt;/code&gt; domain, or use &lt;a href="http://www.google.com/a/"&gt;Google Apps&lt;/a&gt; to serve it from your own domain. You can share your application with the world, or limit access to members of your organization.&lt;/em&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Without actually firing up the SDK yet, here are my initial thoughts:&lt;/p&gt;

&lt;ol style="margin-top: 0in" start="1" type="1"&gt;
&lt;li class="MsoNormal"&gt;Do we      trust Google?&lt;span&gt;  &lt;/span&gt;With our data?&lt;span&gt;  &lt;/span&gt;With our users?&lt;span&gt;  &lt;/span&gt;I love the idea of the Google App Engine (GAE), a scalable      web app system where you only have to worry about coding your business      logic and structuring your models.&lt;span&gt;       &lt;/span&gt;This is kind of like Amazon’s EC2 on steroids.&lt;span&gt;  &lt;/span&gt;No sysadmin stuff like with EC2, just      coding.&lt;span&gt;  &lt;/span&gt;However I do not love that Google is already in the web app space themselves and is now      marketing a web app space hosting platform.&lt;span&gt;  &lt;/span&gt;You have to trust them a little bit more      then I’m comfortable with.&lt;span&gt;  They've already got your users  and your data and your code.  Don't they conceivably control your business at that point?  Maybe I'm being paranoid here.&lt;/span&gt;Plus, there’s the lock-in factor.&lt;span&gt;       &lt;/span&gt;If I develop my app using MySQL as a backend, I know I could with      only some minor pain change that backend to Oracle.&lt;span&gt;  &lt;/span&gt;It’s all SQL at some point.&lt;span&gt;  &lt;/span&gt;How would you swap out of using the      Google DataStore API?&lt;span&gt;  &lt;/span&gt;It’s a      proprietary system with no published standards.
&lt;span&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;GAE is      currently only in Python.&lt;span&gt;  &lt;/span&gt;No PHP      love?&lt;span&gt;  &lt;/span&gt;I realize a lot of Google      runs on Python and C++ and that’s what it is in their wheelhouse.&lt;span&gt;  &lt;/span&gt;But I still consider Python to be a      fringe language.&lt;span&gt;  &lt;/span&gt;If GAE were opened      up to support PHP and C#, it would blast off in popularity.&lt;span&gt;  &lt;/span&gt;Then again, a Python only crowd is a      good beta test before the crush of PHP devs comes in.
&lt;!--[if !supportLineBreakNewLine]--&gt;
&lt;!--[endif]--&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;The      DataStore API (ie, BigTable) is difficult to wrap my head around.&lt;span&gt;  &lt;/span&gt;After spending so many years carefully      crafting db tables and relationships to get the most bang for my buck, I      now have to throw out a lot of that hard-earned knowledge. &lt;span&gt; &lt;/span&gt;I need to think in terms of objects (or      columns) instead of rows.There are still relationships and keys to keep track of but not in the      traditional ways of SQL.&lt;span&gt;  &lt;/span&gt;It seems      like much more of your data fetching is done in code rather then in      SQL.&lt;span&gt;  &lt;/span&gt;The shift in thinking reminds      me of my own move to Object-Oriented Programming.&lt;span&gt;  &lt;/span&gt;I whined like a baby during that phase      of my programming development (well, at least I did on the inside).&lt;span&gt;  &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="MsoNormal"&gt;&lt;o&gt; &lt;/o&gt;Hopefully I’ll get some more time to play with this stuff soon and report back.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-2351588021399574793?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/04/first-impressions-on-google-app-engine.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/2351588021399574793?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/2351588021399574793?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/04/first-impressions-on-google-app-engine.html" title="First impressions on Google App Engine" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Ak8FQHs7fip7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-2673404594935327900</id><published>2008-04-09T13:22:00.001-04:00</published><updated>2010-01-15T15:53:31.506-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:53:31.506-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="subversion" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>wordpress 2.5 and subversion</title><content type="html">For some reason, performing an &lt;strong&gt;svn update&lt;/strong&gt; on the external repository &lt;strong&gt;http://svn.automattic.com/wordpress/trunk/ &lt;/strong&gt;does absolutely nothing.&amp;nbsp; This is pretty baffling behavior.&amp;nbsp; Same &lt;a href="http://www.h4x3d.com/when-svn-up-does-not-work-wordpress-subversion/"&gt;wordpress and subversion issue also mentioned here.&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
I've also tried /tags/2.5&amp;nbsp; and /branches/2.5 and nothing.&amp;nbsp; No changes come across.&amp;nbsp; Very weird.&amp;nbsp; Anyone else getting this?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-2673404594935327900?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/04/wordpress-25-and-subversion.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/2673404594935327900?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/2673404594935327900?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/04/wordpress-25-and-subversion.html" title="wordpress 2.5 and subversion" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Ak8DQns5eCp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-6588080479582217577</id><published>2008-03-19T05:46:00.001-04:00</published><updated>2010-01-15T15:54:33.520-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:54:33.520-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Symfony sfException Call to undefined method BaseModel::__toString</title><content type="html">Working on some projects in Symfony recently.  I ran into a problem when I used the symfony admin generator to create a "backend" module for a table that has a foreign key relationship. &lt;br /&gt;
&lt;br /&gt;
Symfony was looking for me to have a __toString() function in my model so it could create the drop down menu.  So for instance, let's say you have tables like countries and states in your schema.xml.  Country_id in the states table is a foreign key to the Countries table like so: &lt;br /&gt;
[xml] &lt;br /&gt;
&lt;column autoincrement="true" name="id" primarykey="true" required="true" type="SMALLINT"&gt;  &lt;/column&gt;&lt;column name="country_id" required="true" type="SMALLINT"&gt;  &lt;foreign foreigntable="countries"&gt;  &lt;reference foreign="id" local="country_id"&gt;  &lt;/reference&gt;  &lt;/foreign&gt;  &lt;/column&gt;&lt;column name="name" size="40" type="VARCHAR"&gt;  &lt;/column&gt;&lt;column name="abbrev" size="2" type="VARCHAR"&gt;  &lt;/column&gt;&lt;br /&gt;
&lt;table idmethod="native" name="states"&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
[/xml] &lt;br /&gt;
&lt;br /&gt;
When you do: &lt;br /&gt;
[code] &lt;br /&gt;
symfony propel-init-admin backend states States &lt;br /&gt;
[/code] &lt;br /&gt;
Symfony is going to create the edit and create actions of the States screens with a drop-down menu of countries that the state is a part of.  The value of the country drop down is the country_id.  the value needs to be set in a __toString() function in your Country propel model.  The easiest thing is to just return a simple string name (if that's in your db model): &lt;br /&gt;
&lt;br /&gt;
[php] &lt;br /&gt;
&lt;br /&gt;
function __toString() &lt;br /&gt;
{ &lt;br /&gt;
return $this-&amp;gt;name; &lt;br /&gt;
} &lt;br /&gt;
[/php] &lt;br /&gt;
&lt;br /&gt;
That should solve the problem.  It's odd that this comes up.  And I couldn't find anything on it when googling.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-6588080479582217577?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/03/symfony-sfexception-call-to-undefined.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6588080479582217577?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6588080479582217577?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/03/symfony-sfexception-call-to-undefined.html" title="Symfony sfException Call to undefined method BaseModel::__toString" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;Ak4FRns7eSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-6640575162001910991</id><published>2008-03-10T05:20:00.001-04:00</published><updated>2010-01-15T15:55:17.501-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:55:17.501-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Drupal 6 and new Apress Drupal book</title><content type="html">I have been working on a couple of projects using &lt;a href="http://drupal.org/"&gt;Drupal&lt;/a&gt; lately that required creating some custom modules.  So again, I flipped thru my well-worn copy of &lt;a href="http://www.apress.com/book/view/1590597559"&gt;Pro Drupal Development&lt;/a&gt;.  Here is my earlier &lt;a href="http://www.boringguys.com/2007/07/03/book-review-of-pro-drupal-development-by-john-k-vandyk-and-matt-westgate-published-by-apress/"&gt;review of Pro Drupal Development&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Drupal has released version 6 now.  So I click to the Apress site and lo and behold, they're already working on &lt;a href="http://www.apress.com/book/view/1430209895"&gt;Pro Drupal Development, 2nd edition&lt;/a&gt; which will feature updates for Drupal 6.  If it is as good as the first book, it will be a must have for any Drupal developer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-6640575162001910991?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/03/drupal-6-and-new-apress-drupal-book.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6640575162001910991?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/6640575162001910991?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/03/drupal-6-and-new-apress-drupal-book.html" title="Drupal 6 and new Apress Drupal book" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0cERH46fCp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-3841615999469205929</id><published>2008-02-18T14:33:00.001-05:00</published><updated>2010-01-15T15:56:45.014-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:56:45.014-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><category scheme="http://www.blogger.com/atom/ns#" term="subversion" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Using Subversion externals property for WordPress upgrades</title><content type="html">&lt;o&gt;&lt;/o&gt;I find that upgrading apps like WordPress, Drupal, Symfony and open source PHP apps is simple for less complicated environments, but once you start adding in things like new directories, custom themes/modules, source code control as well as separate development, test, and production systems, the upgrades start to get pretty hairy. &lt;br /&gt;
&lt;br /&gt;
Take WordPress for example.  A typical upgrade of WordPress involves copying the new WordPress files over your existing files.  Then you have to copy back safe versions of things like wp-config.php, .htaccess (if you're using it), as well as any custom themes/modules from the wp-content/ directory.  Not to mention any of your own directories that should exist alongside your wp-includes/ and wp-content/ directories.  After that you can run the upgrade.php file. &lt;br /&gt;
&lt;br /&gt;
These upgrade steps aren't terrible.  They're quite a bit better then most open source apps out there but they still suffer from a few problems: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;If you have your code, including your WordPress install, in Subversion or another source code control system, you have to commit all the files that change with each WordPress version.  There may be files added, deleted, etc.  You'll have to keep combing thru "svn status" messages to figure out everything you need to do to get all the WordPress files into your repository.  This can be painful.  And take a long time.&lt;/li&gt;
&lt;li&gt;WordPress is specifically written so that you don't ever have to muck with the guts of it.  You create themes and plugins for added functionality.  So, since you're not maintaining the code that powers WordPress, do you really need all those deltas in your Subversion repository?  I think not.&lt;/li&gt;
&lt;li&gt;What do you do with your own code in directories that sits alongside wp-includes/?  What if it’s in a Subversion repo?&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
The &lt;a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion"&gt;WordPress site also has instructions for using Subversion with your site&lt;/a&gt;.  Here, they advocate the use of “svn switch” to update your site.  This is much more manageable and solves a few of the above problems.  Most svn users can probably can get away with this method.  But unfortunately not me. &lt;br /&gt;
&lt;br /&gt;
I have additional directories on some of my sites that I need to add into my WordPress install.  So I  have to copy/move them into the WordPress dirs which gets tough.  And then my “svn status” will get all wonky because my WordPress dir is under one repo and my code is under another.  This was endlessly confusing for me. &lt;br /&gt;
&lt;br /&gt;
So I found myself looking for a way to completely wall off my WordPress install from the rest of my files.  I was reminded recently of the use of the Subversion externals property and my mind started buzzing with possibilities.  With "externals," I can say: &lt;br /&gt;
&lt;blockquote&gt;Pull the stable WordPress code from WordPress.org and put it into this directory named /docs/wp/&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Then my other directories, which are under my own local subversion repo can exist at /docs/dir1, /docs/dir2, etc.  Of course, some Apache Alias magic is needed to make all this work. &lt;br /&gt;
&lt;br /&gt;
Here's the way I set it up for my some of my projects.  So far so good.  This is a bit hairy to set up but subsequent upgrades are a breeze.  I use this across development, testing, and production systems (how to get those environments to work with WordPress  will be another entry) &lt;br /&gt;
&lt;br /&gt;
First off, the previous Apache document root for domain1 was at &lt;strong&gt;/www/domain1/docs&lt;/strong&gt;, so the WordPress files wound up like this: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/www/domain1/docs/wp-content/&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;/www/domain1/docs/wp-includes/&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
But I also have a lot of dirs that sit alongside of wordpress like this: &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;/www/domain1/docs/dir1&lt;/strong&gt; &lt;br /&gt;
&lt;strong&gt;/www/domain1/docs/dir2&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
We're going to wind up changing that. &lt;br /&gt;
&lt;br /&gt;
Create an subversion external property in /www/domain1/docs for WordPress &lt;br /&gt;
[code] &lt;br /&gt;
$$ cd /www/domain1/docs &lt;br /&gt;
$$ export SVN_EDITOR=vi     ( or your editor of choice ) &lt;br /&gt;
$$ svn propedit svn:externals &lt;strong&gt;.&lt;/strong&gt; &lt;br /&gt;
[/code] &lt;br /&gt;
vi starts up and you can add the following line: &lt;br /&gt;
&lt;br /&gt;
[code]wp http://svn.automattic.com/WordPress/tags/2.3.3[/code] &lt;br /&gt;
&lt;br /&gt;
Save and exit &lt;br /&gt;
[code]$$ svn commit &lt;br /&gt;
$$ svn update [/code] &lt;br /&gt;
&lt;br /&gt;
( This downloads the WordPress code from the above address into your wp/ directory.  Now we are cooking. ) &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Now, /www/domain1/docs/wp is where all your WordPress code lives.&lt;/li&gt;
&lt;li&gt;Copy wp-config.php to /www/domain1/docs/wp/&lt;/li&gt;
&lt;li&gt;Copy .htaccess to /www/domain1/docs/wp/&lt;/li&gt;
&lt;li&gt;Create a link from the stock wp-content/ dir to your personal wp-content dir like this&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
[code]$$ cd /www/domain1/docs/wp &lt;br /&gt;
$$ rm -Rf wp-content/    ( use -Rf with care please! ) &lt;br /&gt;
$$ ln -s /www/domain1/docs/wp-content wp-content &lt;br /&gt;
[/code] &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;In Apache config, set document root for this domain to /www/domain1/docs/wp&lt;/li&gt;
&lt;li&gt;Put wp-content/ dir and any other non-WordPress dirs/files into  /www/domain1/docs&lt;/li&gt;
&lt;li&gt;Create an alias for wp-content/ and any other non-WordPress dirs/files in Apache config&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
[code] &lt;br /&gt;
Alias /wp-content     /www/domain1/docs/wp-content &lt;br /&gt;
Alias /dir1           /www/domain1/docs/dir1 &lt;br /&gt;
Alias /dir2           /www/domain1/docs/dir2 &lt;br /&gt;
[/code] &lt;br /&gt;
This looks like a lot of work, but it's really only a lot the first time around.  Next time WordPress has an upgrade: &lt;br /&gt;
[code] &lt;br /&gt;
$$ cd /www/domain1/docs &lt;br /&gt;
$$ svn propedit svn:externals .      ( change the tag to new version of WordPress ) &lt;br /&gt;
$$ cd wp/ &lt;br /&gt;
$$ rm wp-content      (to remove the link) &lt;br /&gt;
$$ svn update         (to update to new version of WordPress) &lt;br /&gt;
$$ rm -Rf wp-content/ &lt;br /&gt;
$$ ln -s /www/domain1/docs/wp-content  wp-content &lt;br /&gt;
[/code] &lt;br /&gt;
&lt;br /&gt;
Everything after the propedit in this group can and should be scripted which will basically give you a 2 step process for upgrading  WordPress, while keeping you wp-content/ dir under local source code control, as well as leaving room for any other directories or files your site might require. &lt;br /&gt;
&lt;br /&gt;
This technique will probably also work with Symfony although I haven’t tried it yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-3841615999469205929?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/02/using-subversion-externals-property-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3841615999469205929?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/3841615999469205929?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/02/using-subversion-externals-property-for.html" title="Using Subversion externals property for WordPress upgrades" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0cMRHg-fSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-55612984199426443</id><published>2008-02-17T04:42:00.002-05:00</published><updated>2010-01-15T15:58:05.655-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:58:05.655-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><title>"SSL Error: certificate verify failed" for Amazon S3 using s3sync</title><content type="html">Amazon has changed their certificates for SSL access to the S3 service.&amp;nbsp; If you are receiving this error and you are using s3sync, you can &lt;a href="http://s3sync.net/forum/index.php?topic=164.msg674#msg674"&gt;look here for new certs for SSL access to S3&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Long term though, this is a problem with my (and possibly your) backup solution.&amp;nbsp; &lt;a href="http://developer.amazonwebservices.com/connect/thread.jspa?messageID=77207%F0%92%B6%97"&gt;Look here for more info.&lt;/a&gt;&amp;nbsp; Specifically this bit: &lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;The certificate chain supporting Amazon S3 SSL is an implementation detail of the system that may change from time to time. A robust application should not depend on the Amazon S3 SSL certificate being signed by a particular certification authority. However, you can depend on the fact that we will only use reputable CAs that are widely supported by existing user-agents. The easiest way to select root CAs to bundle with your application is to simply import the set from a modern web browser with a large market share. &lt;br /&gt;
&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-55612984199426443?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/02/error-certificate-verify-failed-for.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/55612984199426443?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/55612984199426443?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/02/error-certificate-verify-failed-for.html" title="&amp;quot;SSL Error: certificate verify failed&amp;quot; for Amazon S3 using s3sync" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;A0YARXwyfSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-5463551187005232145</id><published>2008-01-17T05:20:00.001-05:00</published><updated>2010-01-15T15:59:04.295-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T15:59:04.295-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><title>You know you’ve made it when the spammers start using your name.</title><content type="html">&lt;o&gt;&lt;/o&gt;All of a sudden, I have a bunch of returned email in one of my inboxes.  Looking thru it, it appears that some spammer has been sending email thru various open relays around the world and using random names at this domain as the email address of the sender.   &lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;o&gt;&lt;/o&gt;At first I freaked out thinking they were coming from my server.   I looked around the box and didn’t see any evidence of abuse.  And I’m not in any server blacklists either. On a whim, I tried connecting to some of the sending servers specified in the emails and sure enough, I could send email out from a couple, so I don’t believe there’s anything fishy going on with my server.  I’ve notified the appropriate people regarding the open relays.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;o&gt;&lt;/o&gt;Most normal people will never have heard of my site.  It’s not famous or popular.  So when they get an email from an address at this site, they should immediately know that it’s spam.  It’s not like sending an email out from a site that a lot of people use like the dozen “service at paypal” emails I receive each week.  I’m just a rinky-dink site about programming that earns a few dollars a month in advertising, not even enough to cover my costs.  &lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;o&gt;&lt;/o&gt;But I can see the spike in traffic this is creating as people either open the spam email or look at the sender and want to know more.  (question – exactly who are these people that have time to research every single spam item they receive? I think I want their job ).  With traffic going up, bandwidth usage goes up, and eventually costs go up.  Traffic going up because more people are reading my site is great.  Traffic going up because people are ticked off at me is not so great.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;o&gt;&lt;/o&gt;I’m still perplexed as to how to get this spammer to stop using my domain name as the sender’s address.   &lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-5463551187005232145?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2008/01/you-know-youve-made-it-when-spammers.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/5463551187005232145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/5463551187005232145?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2008/01/you-know-youve-made-it-when-spammers.html" title="You know you’ve made it when the spammers start using your name." /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0UMRH84fyp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-1538017098053242440</id><published>2007-12-13T06:11:00.001-05:00</published><updated>2010-01-15T16:01:25.137-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T16:01:25.137-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>People work with WS-* web services in PHP?  Why?</title><content type="html">I'd love to give &lt;a href="http://www.ws02.com/"&gt;ws02&lt;/a&gt; a fair shake because they have an open source business model.  They have a &lt;a href="http://wso2.com/products/wsf-php/"&gt;web services framework for PHP&lt;/a&gt; which seems interesting from an academic standpoint.  But I think WS-* web services are WAY too complicated when compared to &lt;a href="http://en.wikipedia.org/wiki/Representational_State_Transfer"&gt;REST&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Just look at this &lt;a href="http://biz.yahoo.com/bw/071211/20071211005351.html?.v=1"&gt;new product description from ws02&lt;/a&gt;: &lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;The &lt;strong&gt;WSO2 IS&lt;/strong&gt; enables LAMP and Java websites to provide strong authentication based on the new interoperable Microsoft CardSpace technology, which is built on the open standards Security Assertion Mark-up Language (SAML) and WS-Trust.&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Your life is now 1 minute shorter after trying to read and fully understand that paragraph.  Nevermind how much time would be spent trying to actually get this stuff to work. &lt;br /&gt;
&lt;br /&gt;
I spent a lot of time in 2001-2002 working with Amazon's merchant program and the SOAP feeds required for putting client product on the Amazon site.  I generally think that Amazon has a pretty good clue about how to do things technically and they seemed to make it as easy as possible while using SOAP.  But it was still way too complicated for what we were trying to achieve (ie, send a list of available product to Amazon to sell ).  And at the time, it was a nightmare in PHP.  Now of course, we have the official PHP SOAP extension and some items in PEAR to work with too (does nusoap still exist?) &lt;br /&gt;
&lt;br /&gt;
But I've run screaming from WS-anything since then, only getting caught in its claws a few times.  It hasn't gotten any easier.  It's gotten more difficult.  And more pointless.  &lt;a href="http://www.tbray.org/ongoing/When/200x/2007/11/21/WS-dammerung"&gt;I'm not alone in this thinking&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
So I guess the ws02 folks are trying to solve the issue of authentication for web services.  Hasn't &lt;a href="http://code.google.com/apis/accounts/Authentication.html"&gt;web services authentication&lt;/a&gt; been solved already in a much easier way too?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-1538017098053242440?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2007/12/people-work-with-ws-web-services-in-php.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1538017098053242440?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1538017098053242440?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2007/12/people-work-with-ws-web-services-in-php.html" title="People work with WS-* web services in PHP?  Why?" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0QBQX4_eSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-1290397954545294815</id><published>2007-11-14T07:20:00.001-05:00</published><updated>2010-01-15T16:02:30.041-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T16:02:30.041-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="system-administration" /><title>Gmail 2.0 crashing Firefox with extreme prejudice</title><content type="html">It's mostly when clicking different folders like "spam."  I wasn't sure what was going as this just started happening the past 3 days when I noticed that sure enough, I've&lt;a href="http://www.downloadsquad.com/2007/10/29/google-prepping-gmail-2-0/"&gt; been moved over to Gmail 2.0&lt;/a&gt;.  I tried disabling and then finally uninstalling  all my add-ons (plugins) to Firefox to no avail.  Selecting "older version" in the top right nav of the gmail page made the problem go away.  If you're listening google, please fix this. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;UPDATE:&amp;nbsp;&lt;/strong&gt; you may need to select "older version" every day or at least a couple of days a week since gmail doesn't seem to remember that setting.&amp;nbsp; And even the latest Firefox 2.0.0.11 with no extensions has this problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-1290397954545294815?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2007/11/gmail-20-crashing-firefox-with-extreme.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1290397954545294815?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/1290397954545294815?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2007/11/gmail-20-crashing-firefox-with-extreme.html" title="Gmail 2.0 crashing Firefox with extreme prejudice" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0MHR3w9eip7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-7933516862150077603</id><published>2007-10-31T04:09:00.001-04:00</published><updated>2010-01-15T16:03:56.262-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T16:03:56.262-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="python" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="application-development" /><title>Open source twitter clone anyone?</title><content type="html">Does anyone know of an open source twitter clone?&amp;nbsp; Preferably in PHP or Python.&amp;nbsp; Not a client mind you, but the server guts of receiving IMs and doing something with them, enabling followers, public viewing, etc.&amp;nbsp; I want to implement this on an intranet inside a corp network and obviously not display our tweets for public consumption, but only internal consumption.&amp;nbsp; If this doesn't exist, what do you all think is the easiest way to create this?&amp;nbsp; An instance of jabber or something else?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-7933516862150077603?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2007/10/open-source-twitter-clone-anyone.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7933516862150077603?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/7933516862150077603?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2007/10/open-source-twitter-clone-anyone.html" title="Open source twitter clone anyone?" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0MBQ34_fSp7ImA9WxBQFUU.&quot;"><id>tag:blogger.com,1999:blog-9024009237222671517.post-9178636369812721153</id><published>2007-10-25T05:04:00.001-04:00</published><updated>2010-01-15T16:04:12.045-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-01-15T16:04:12.045-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="facebook" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="microsoft" /><title>Is Microsoft buying Facebook a good thing for PHP?</title><content type="html">Microsoft is &lt;a href="http://www.downloadsquad.com/2007/10/24/microsoft-buys-a-240-million-piece-of-facebook/"&gt;buying a piece of Facebook&lt;/a&gt;.   What do we all think this means for PHP since Facebook is one of the "web 2.0" leaders built on PHP?  The way I see it, here are the options: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Facebook continues on its merry path, taking only funding from Microsoft&lt;/li&gt;
&lt;li&gt;Facebook continues on its merry path, taking funding from Microsoft in addition to some development "resources."  Resources here could be people, equipment, and technology.  The free people, equipment, and technology probably won't fit very well in a LAMP environment.  Pressure to move infrastructure to MS-friendly environment mounts.&lt;/li&gt;
&lt;li&gt;Microsoft rewrites the whole thing in C#&lt;/li&gt;
&lt;li&gt;Microsoft learns how simple and scalable PHP is and freaks out, unleashing a FUD campaign the likes of which we've never even dreamed of.&lt;/li&gt;
&lt;li&gt;Microsoft learns from the open source environment, partially embraces it, and creates PHP.net, a half functioning version of PHP for .net framework.&lt;/li&gt;
&lt;li&gt;Microsoft learns from the open source environment, fully embraces it, and abandons Windows by creating their own GUI for the next version of Linux.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
In reality, I can really only see #1 or #2 happening.  Your thoughts?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9024009237222671517-9178636369812721153?l=blog.boringguys.com' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="text/html" href="http://blog.boringguys.com/2007/10/is-microsoft-buying-facebook-good-thing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/9178636369812721153?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9024009237222671517/posts/default/9178636369812721153?v=2" /><link rel="alternate" type="text/html" href="http://blog.boringguys.com/2007/10/is-microsoft-buying-facebook-good-thing.html" title="Is Microsoft buying Facebook a good thing for PHP?" /><author><name>Rich</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="00873646380513671633" /></author><thr:total>0</thr:total></entry></feed>
