<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Young Dutch Design &#187; OSX</title>
	<atom:link href="http://youngdutchdesign.com/tag/osx/feed" rel="self" type="application/rss+xml" />
	<link>http://youngdutchdesign.com</link>
	<description>Young Dutch Design is a new platform for young designers with frequently new added postings about productdesign, webdesign and other related subjects.</description>
	<lastBuildDate>Tue, 14 Jun 2011 20:25:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Local web development on Mac OSX</title>
		<link>http://youngdutchdesign.com/local-web-development-on-mac-osx</link>
		<comments>http://youngdutchdesign.com/local-web-development-on-mac-osx#comments</comments>
		<pubDate>Mon, 29 Mar 2010 21:52:17 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Chmod]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Virtual Host]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3439</guid>
		<description><![CDATA[In my spare time I&#8217;m developing a website based on Zend Framework which I run local, just on my Mac. It&#8217;s very fast, I do not need to upload the modified files and folders to the webserver and I&#8217;m saving money because I do not need web space right now, I only reserved the domain [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3441" title="webdevelopment" src="http://youngdutchdesign.com/wp-content/uploads/2010/03/webdevelopment-e1269555232156.jpg" alt="" width="200" height="200" />In my spare time I&#8217;m developing a website based on Zend Framework which I run local, just on my Mac. It&#8217;s very fast, I do not need to upload the modified files and folders to the webserver and I&#8217;m saving money because I do not need web space right now, I only reserved the domain I&#8217;d like to use in the future.</p>
<p>When I add more and more functionality I&#8217;m exploring a lot of handy tweaks or commands that are not always just as you see on your webserver. Here are several of this tweaks and I&#8217;m sure I&#8217;ll explore more in the future. Do you guys have some suggestions?<br />
<span id="more-3439"></span><!--index--></p>
<h2>Virtual host</h2>
<p>Setting up a virtual host is very easy and the url is very nice, short and clean if you have set it up. You can get a address like this: <em>http://domainname.local</em> or something like that.</p>
<p>Just add the following lines at the bottom of your <strong>.httpconf</strong> file that can be found in the folder <em>/etc/apache2/</em></p>
<p style="padding-left: 30px;"><em>&lt;VirtualHost *:80&gt;<br />
DocumentRoot &#8220;/Users/myusername/Sites/domainname/public&#8221;<br />
ServerName mylocaldomain.local</em></p>
<p style="padding-left: 30px;"><em># This should be omitted in the production environment<br />
SetEnv APPLICATION_ENV development</em></p>
<p style="padding-left: 60px;"><em>&lt;Directory &#8220;/Users/</em><em>myusername</em><em>/Sites/</em><em>domainname</em><em>/public&#8221;&gt;</em> <em><br />
Options Indexes MultiViews FollowSymLinks<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</em></p>
<p style="padding-left: 30px;"><em>&lt;/VirtualHost&gt;</em></p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/03/Screen-shot-2010-03-25-at-23.03.16-.png"><img class="alignright size-full wp-image-3440" title="Screen shot 2010-03-25 at 23.03.16" src="http://youngdutchdesign.com/wp-content/uploads/2010/03/Screen-shot-2010-03-25-at-23.03.16--e1269554637511.png" alt="" width="250" height="114" /></a></p>
<h2>Chmod</h2>
<p>For uploading files you&#8217;ll have to make the folder writable with the chmod command. Instead of opening your favorite ftp client, just open Terminal and type the following line:</p>
<p style="padding-left: 30px;"><em>Chmod 777 sites/domainname/etc/images/</em></p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/03/Screen-shot-2010-03-25-at-23.19.03-.png"><img class="alignright size-full wp-image-3450" title="Screen shot 2010-03-25 at 23.19.03" src="http://youngdutchdesign.com/wp-content/uploads/2010/03/Screen-shot-2010-03-25-at-23.19.03--e1269555768656.png" alt="" width="250" height="145" /></a></p>
<h2>MySQL server</h2>
<p><a href="http://dev.mysql.com/downloads/mysql/" target="_blank">Download MySQL Community Server</a> for OSX and have MySQL available in seconds. A nice MySQL status tab is added to the <strong>Preferences</strong> tab. You can also start the MySQL server on startup.</p>
<p>You can download <a href="http://www.phpmyadmin.net/home_page/index.php" target="_blank">phpMyAdmin</a> to maintain the database or use another MySQL administration tool.</p>
<h2>Google Maps</h2>
<p>If you need some Google Maps functionality it can be an outcome to develop on your own machine. I&#8217;ve <a href="http://code.google.com/apis/maps/signup.html" target="_blank">requested my API key</a> with the local addres, <em>http://domainname.local</em>, and this works! I&#8217;m glad Google hasn&#8217;t blocked this!</p>
<p><strong>NOTE</strong><br />
Google Maps is not available when another user on your network visits your testing server. If you&#8217;d like this you&#8217;ll need to buy a Google Enterprise license.</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/local-web-development-on-mac-osx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maintain your WordPress plugin using Versions at Mac</title>
		<link>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac</link>
		<comments>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac#comments</comments>
		<pubDate>Sat, 27 Feb 2010 16:49:51 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Versions]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3222</guid>
		<description><![CDATA[I&#8217;ve updated a couple of the WordPress plugins I&#8217;ve released in the past and I needed new software to do so. After a quick search I&#8217;ve found Versions, a little application for Mac OSX that has a nice user interface which is easy to use. I&#8217;ll be showing the method to publish your new WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3243" title="Versions 2" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.37.16-1.png" alt="" width="161" height="147" />I&#8217;ve updated a couple of the <a href="http://wordpress.org/extend/plugins/profile/crispijn" target="_blank">WordPress plugins</a> I&#8217;ve released in the past and I needed new software to do so. After a quick search I&#8217;ve found Versions, a little application for Mac OSX that has a nice user interface which is easy to use.</p>
<p>I&#8217;ll be showing the method to publish your new WordPress plugin in the <a href="http://wordpress.org/extend/plugins/" target="_blank">WordPress Plugin Directory</a>. Read more about the <a href="http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins">folder structure and the basics</a> of the subversion repository.</p>
<p>For this tutorial I&#8217;ll be using <a href="http://www.versionsapp.com/" target="_blank">Versions 2</a> that is available on their website.<br />
<span id="more-3222"></span><!--index--></p>
<h2>Write your plugin</h2>
<p>First of all: write, <a href="http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-plugins/" target="_blank">complete</a> and debug your plugin. There is a lot of documentation in the <a href="http://codex.wordpress.org/Developer_Documentation" target="_blank">WordPress Codex</a> where you can find you to do so and there are also dozens of great tutorials on the web available.</p>
<h2>Add your plugin to the Plugin Directory</h2>
<p>After your plugin is ready you add your plugin to the Plugin Directory by <a href="http://wordpress.org/extend/plugins/add/" target="_blank">sending the form on WordPress.org</a>. You&#8217;ll receive an email when your new plugin is accepted.</p>
<h2>Actions explained</h2>
<p>Just a few basic actions that are necessary for your to release your plugin in the plugin directory.</p>
<h3>Checkout</h3>
<p>Get all the files from your subversion account. You&#8217;ll download all the files and the file structure of your repository.</p>
<h3>Commit</h3>
<p>Upload all the new and modified files.</p>
<h3>Update</h3>
<p>Get only the updated files and folders</p>
<h2>Set the server settings</h2>
<p>After downloading Versions 2 just open the application and press the upper <strong>Repository </strong>button.</p>
<p><img class="alignnone size-full wp-image-3230" title="Screen shot 2010-01-05 at 04.03.56" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-05-at-04.03.56--e1262660710223.png" alt="" width="600" height="394" /></p>
<p>Enter all the fields that are requierd. Note, these are only the WordPress server settings.</p>
<p>The location is the url to the WordPress subversion server. You&#8217;ll find this url in the email that you&#8217;ve received when your plugin has been accepted. The username is automatically been placed after the <strong>http:// </strong>when you enter your username in the specified field. Enter your password en hit the <strong>Create</strong> button.</p>
<p><img class="alignnone size-full wp-image-3244" title="Screen shot 2010-01-09 at 17.40.36" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.40.36-.png" alt="" width="445" height="375" /></p>
<p>Your repository will be verified and if everything is alright the repository is added to the toolbar on the left of the interface.<br />
<!--adsense--></p>
<h2>Set up local settings</h2>
<p>Just select the bookmak and the main folder in the right column of the interface and press Checkout (The third icon on the left upper corner).</p>
<p><img class="alignnone size-full wp-image-3246" title="Screen shot 2010-01-09 at 17.51.12" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.51.12--e1263055977686.png" alt="" width="600" height="394" /></p>
<p>Browse to a local folder that you&#8217;d like to store your plugin. You do not need to create a subfolder, Versions will do this automatically. Press Checkout and Versions will copy the file structure from the WordPress server to your local machine.</p>
<p>In my case I&#8217;ll use the folder: <strong> </strong></p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/</strong></p>
<p><img class="alignnone size-full wp-image-3247" title="Screen shot 2010-01-09 at 17.54.12" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.54.12-.png" alt="" width="551" height="392" /></p>
<p>In this case it&#8217;s a existing plugin so there are some folders in the directories but that isn&#8217;t interfering this tutorial.</p>
<h2>Update or release your plugin</h2>
<p>Before we go any further, please be aware of the <a href="http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins">subverion folder structure</a>. I&#8217;ve published an article about this. Read this and you&#8217;ll understand what I&#8217;m going to do now.</p>
<h3>Copy the files to the local folders</h3>
<p>Just copy overwrite the plugin files to the local branche folder you&#8217;ve selected before you&#8217;ve pushed the checkout button so in my example it&#8217;s</p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/wordpress-easy-todo/branche/</strong></p>
<p>Create a new folder in the tags for the version you would like to share.</p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/wordpress-easy-todo/tags/1.1.5/</strong></p>
<h3>Do the versions magic</h3>
<p>Go to the Versions application and you&#8217;ll see the folder wordpress-easy-todo whith several files with questionmarks or edit icons in the left column.</p>
<ul>
<li>Select the files with a questionmark and press the <strong>Add</strong> button on the upper right.</li>
<li>Check if all the files are correct and if you do not have any overload in the folders. If so, mark them as deleted with the <strong>Delete </strong>button on the upper right.<br />
<strong>do not remove these files with finder, you&#8217;ll be ruin your repository bookmark and have to create a new one.</strong></li>
</ul>
<p>I&#8217;m going to update my plugin so I&#8217;ll have to add the folder 1.1.5.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.32.10-.png"><img class="alignnone size-full wp-image-3419" title="Update the file status" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.32.10--e1267288415670.png" alt="" width="600" height="370" /></a></p>
<p>The question mark for folder 1.1.5 is now changed into a plus icon.</p>
<p>Now move the folder of the previous version to the branches folder. Do not change the name so it stays a good version identifier in the future.</p>
<p><img class="alignnone size-full wp-image-3420" title="Screen shot 2010-02-27 at 17.35.32" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.35.32-.png" alt="" width="344" height="256" /></p>
<p>After you hit the OK button the folder will be moved to the branches folder after we&#8217;ve commited all the changes we&#8217;ve made.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.37.43-.png"><img class="alignnone size-full wp-image-3421" title="Screen shot 2010-02-27 at 17.37.43" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.37.43--e1267288701961.png" alt="" width="600" height="370" /></a></p>
<h3>Commit changes</h3>
<p>Select all the changed files and folders. The question mark identifier for the trunk folder is only mentioning that there are files in it with changes.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.39.43-.png"><img class="alignnone size-full wp-image-3422" title="Select all the modified files and folders" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.39.43--e1267288877342.png" alt="" width="600" height="370" /></a></p>
<p>Hit the <strong>Commit</strong> button on the left upper corner. Describe what the changes are and press the commit button.</p>
<p><strong><img class="alignnone size-full wp-image-3423" title="Describe the changes and press commit" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.42.14-.png" alt="" width="449" height="306" /><br />
</strong></p>
<p>The files are commited to the server and after that everything has to look like this</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.45.47-.png"><img class="alignnone size-full wp-image-3424" title="Screen shot 2010-02-27 at 17.45.47" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.45.47--e1267289213303.png" alt="" width="600" height="370" /></a></p>
<p>The WordPress server updates every 15 minutes so grab a cup of coffee or a beer and try to install your new plugin via your WordPress admin panel.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-28-at-23.12.30-.png"><img class="alignnone size-full wp-image-3433" title="Screen-shot-2010-02-28-at-23.12.30-" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-28-at-23.12.30--e1267395347147.png" alt="" width="600" height="135" /></a></p>
<h2>Notes</h2>
<p>Be sure you only <strong>add</strong> files and folders via the Finder interface. Please do not delete or move files and folders because this will ruin your plugin structure. You&#8217;ll get an error and in that case you have to remove the subversion bookmark from the Versions interface.</p>
<p>If your plugin isn&#8217;t updated you&#8217;ll have to check the status of all the files. When there are no icon&#8217;s shown in the left column of Version everything will be alright but be sure the <strong>tags </strong>folder only contains the folder of your latest version!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
