<?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>Who So &#187; Development</title>
	<atom:link href="http://www.trondhuso.no/blog/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trondhuso.no/blog</link>
	<description>Blog about PHP, HTML, CSS, patents and all things inbetween</description>
	<lastBuildDate>Tue, 20 Dec 2011 23:45:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP-Tip: Commenting your code</title>
		<link>http://www.trondhuso.no/blog/2010/05/17/php-tip-commenting-your-code/</link>
		<comments>http://www.trondhuso.no/blog/2010/05/17/php-tip-commenting-your-code/#comments</comments>
		<pubDate>Mon, 17 May 2010 20:52:32 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[commenting]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=248</guid>
		<description><![CDATA[This really isn&#8217;t a PHP-tip, but more like a programming tip. But since I do most of my development in PHP (and some in C#, and some on VB) I put it up as a PHP-tip. So there. This post is all about commenting. Some do it, some don&#8217;t. I tend to do it. Sometimes [...]]]></description>
			<content:encoded><![CDATA[<p>This really isn&#8217;t a PHP-tip, but more like a programming tip. But since I do most of my development in PHP (and some in C#, and some on VB) I put it up as a PHP-tip. So there.<br />
This post is all about commenting. Some do it, some don&#8217;t. I tend to do it. Sometimes I even comment to much. But that&#8217;s sometimes better than not doing it at all.<br />
Why should you comment your code: </p>
<ol>
<li>Because sometime in the future you might have to go back to the code and fix it. It&#8217;s always nice to know what the initial idea was. And with years and years of programming, you now know a better way to do it. If you don&#8217;t have the comment, you have to analyze your own code much more thoroughly.</li>
<li>If someone else is going to work with your code, it is always nice for them to read your comments. It makes it easier for them to understand the code and to get into it.</li>
<li>It can be fun looking at the comments you&#8217;ve written. I recently looked over some code I did back in 2005(ish) and here I write: &#8220;<em>This part is done in an amazingly stupid way</em>&#8221; or what about: &#8220;<em>I must do this to keep the string value</em> (line break and some code)<em>Really&#8230;????</em>&#8220;.<br />
I posted this on twitter and I got an answer from Frank W. Zammetti (<a href="http://twitter.com/fzammetti">fzammetti</a>):  <em>&#8220;The person that wrote this is a grade A a**hole&#8230; oh wait, it was me!&#8221; <strong>I wrote that one once.</strong></em><br />
I just couldn&#8217;t stop laughing.
</ol>
<p>This is my style of commenting (example in PHP/C/C++/C#-style)<br />
My first line in the file is always the name of the file. This is a habit I&#8217;ve grown to use. It is smart when you are editing code in e.g. VI where you not necessary get the name of the file in the titlebar.<br />
<code><br />
<?php</p>
<p>// name-of-file.php</p>
<p></code></p>
<p>Next comes a general description of what the code in the file shall do:<br />
<code><br />
/**<br />
 * This file is used to create and edit blog posts<br />
 *<br />
</code><br />
Eclipse, Komodo-IDE and NetBeans (And probably other IDEs) supports @todo in the comment. By adding this "tag" you add tasks to your tasks list.<br />
I tend to add tasks in the beginning of the file.<br />
<code><br />
 * @todo: This file need some work.<br />
 * @todo: Fix the code related to creating blog posts<br />
</code><br />
In the same area I also write out bugs that I have fixed, or tasks that I have completed:<br />
<code><br />
 * FIXES:<br />
 * 01.01.2010: Fixed a bug related to updating a blogpost<br />
 * 17.05.2010: Translated all of the comments from Norwegian to English<br />
 */<br />
</code><br />
(note/suggestion) I wouldn't mind if the IDEs could have a @fixed element that I could add to the end of the line so that the IDE could mark out the task as completed.</p>
<p>Then in the code I can comment like this (note that PHP-example is just as an example here):<br />
<code><br />
// Fixing the string so that it is ready for SQL-input<br />
$string = mysql_real_escape_string($string);</p>
<p>// Creating a string for a dropdown-menu.<br />
foreach ($this as $that) {<br />
   $string .= $that;<br />
}<br />
</code></p>
<p>I also sometimes use comments to clear my head or to get a clear overview of the task at hand. This is especially important when you feel that the task is complicated.<br />
An example could be:<br />
<code><br />
/**<br />
 * In this section we shall create the tree-view.<br />
 * We must remember that all nodes starting with W shall be at the top<br />
 * And that we shall mark posts with pictures with a (p) or a small icon<br />
 * Also remember that no lines can be longer than 25 characters. Check the <strong>left</strong> syntax in mySQL...<br />
 */<br />
</code></p>
<p>This is also good practice when you sometimes do not return to the code in a couple of days. An example could be:<br />
<code><br />
/**<br />
 * continue here on Monday.<br />
 * The idea behind the following section is ... .... .. . . ..<br />
 */<br />
</code></p>
<p>Hope this post regarding commenting your code is of any help for you. If you have any great examples of self criticism in your code, please do post them as comments... (No pun intended)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/05/17/php-tip-commenting-your-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I am considering moving back to Windows</title>
		<link>http://www.trondhuso.no/blog/2010/02/01/why-i-am-considering-moving-back-to-windows/</link>
		<comments>http://www.trondhuso.no/blog/2010/02/01/why-i-am-considering-moving-back-to-windows/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 08:00:03 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Move]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uninstall]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=191</guid>
		<description><![CDATA[I&#8217;ve been a Linux Ubuntu Desktop user for quite some time now. Ever since I experienced how Linux could save an old laptop. And I must admit. It is nice to not think about viruses and such, not that this is something that worries me when I am using a computer with Windows installed. It [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a Linux Ubuntu Desktop user for quite some time now. Ever since I experienced how Linux could save an old laptop.</p>
<p>And I must admit. It is nice to not think about viruses and such, not that this is something that worries me when I am using a computer with Windows installed. It is also nice to have a stable computer that does not show me the blue screen from time to time; and lastly: It is very nice to not reboot every time you have installed a new program or updated your system.</p>
<p>How ever: There are reasons for not using Linux for me anymore:</p>
<ul>
<li> I am developing in more than just PHP. I am also doing some C# development for the Windows operating system.<br />
Yes. I can use Mono for this type of work, but as the .Net framework is more known and better distributed (aka: Installed) on most systems, it is better to use native .Net and use Visual Studio.<br />
Also. When it comes to PHP-development I am moving from writing directly on the test-web server (aka on the laptop) and in stead write in the defined workspace of the IDE, and then move the code to the test web server. This because I don&#8217;t want to clutter my test web server with SVN-directories, nor do I want to accidentally upload SVN-directories to the production web server.</li>
<li>Better PHP development tools<br />
If I move back to Windows I can choose from a wide range of programs. Like for instance PHPed or the PHP Delphi plugin which is a Rapid application Development tool. PHPed shall work on Linux under Wine, but I haven&#8217;t installed Wine, and I am not sure if I want to install and run wine.</li>
<li>I need access to a clients network which is using a closed VPN-system.<br />
My client is using CheckPoint VPN which there was a Redhat (RPM) package for back in the days. Now there isn&#8217;t any such thing. And if you search for it, you&#8217;ll see that I am not alone here. To fix this I have borrowed a computer from this client which is a tad bit older than this one and quite a lot slower.</li>
<li>Limitations in Open Source software<br />
As I am working on a database project that is soon to be launched, I need more than one type of export/import into this one. Currently the importing is CSV-files, but as Excel can export in XML, this is a serious alternative. This is also something that I can instruct partners on how to do. This way I can normalize external data.<br />
The alternative in Open Office is creating an XSLT document and transforming the sheet. The benefit with this solution is that you have more control on the outcome.<br />
And it would have been an option if most partners out there used Open Office. They aren&#8217;t. They are using MS Office.<br />
I&#8217;ve also read that the XSLT-support in Open Office isn&#8217;t really that easy to work with. There are very few messages that shows if something is wrong, and the only way to find out that there is something wrong with the XSLT-document, is that the program freezes. Now that&#8217;s user friendly&#8230; Not that XSLT document transformation is user friendly to begin with&#8230;</li>
<li>I need accounting software and invoice software that supports Norwegian standards. I have found a Norwegian invoice program, but has failed to find accounting software.</li>
<li>Quality: I really don&#8217;t think that the quality on Open Source software is that great. Yes, it cures and itch &#8211; mostly for the developer(s), but that&#8217;s pretty much it. (I believe I have written posts regarding the &#8220;business&#8221;-model behind Open Source Software before, please check).</li>
<li>Linux based Desktop OS isn&#8217;t really that stable.<br />
I have had a few hard freezes and I have had soft freezes. Hard freezes is where the LEDs on the computer is blinking and everything is either black or frozen. Soft Freezes is where there are parts of the OS that works, while other things have stopped working. Like when I am writing this: The mouse pointer is frozen to the side of the screen &#8211; and it is impossible to move it around. So X or Mouse support has frozen&#8230; sigh.</li>
</ul>
<p>As I am looking at my list now, there are less reasons for me to stay on Ubuntu and more reasons for me to move back to Windows. But I&#8217;ll give this a few more weeks and months and then we&#8217;ll see what happens.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/02/01/why-i-am-considering-moving-back-to-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Goal achievement: Becoming a better C#-developer</title>
		<link>http://www.trondhuso.no/blog/2010/01/20/goal-achievement-becoming-a-better-c-developer/</link>
		<comments>http://www.trondhuso.no/blog/2010/01/20/goal-achievement-becoming-a-better-c-developer/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 08:00:42 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MonoDevelop]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=171</guid>
		<description><![CDATA[I am currently coding a translator service in Windows in C# (VS 2005) and so I am on track on the goal of becoming a better C#-developer. I really like the C# language and the .Net framework, and most importantly the Visual Studio development tool. Microsoft has done so many things correct when they developed [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently coding a translator service in Windows in C# (VS 2005) and so I am on track on the goal of becoming a better C#-developer.<br />
I really like the C# language and the .Net framework, and most importantly the Visual Studio development tool. Microsoft has done so many things correct when they developed VS.<br />
Now Visual Programming isn&#8217;t something new from the guys in Redmond, USA. I have been on and off developing in <a href="http://en.wikipedia.org/wiki/Visual_Basic" target="_blank">Visual Basic since version 1.0</a> which was released in 1991. So Microsoft has quite a history to look back on and use when they develop these tools.<br />
I also believe that learning C# makes me a better PHP-developer too (which is also on the list of goals for 2010).<br />
One thing though, and I know I am not alone here. Switching back and forth between C# and VB.Net makes you add some ; (semicolons) at the end of each line. And C# is now looking more intuitive than VB.Net.<br />
I shall also spend some time in Mono Develop. This because it uses C# as well. And the more you code&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/01/20/goal-achievement-becoming-a-better-c-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP vs ASP.Net</title>
		<link>http://www.trondhuso.no/blog/2010/01/20/php-vs-asp-net/</link>
		<comments>http://www.trondhuso.no/blog/2010/01/20/php-vs-asp-net/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 08:00:11 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=174</guid>
		<description><![CDATA[Well, this isn&#8217;t really a VS-blog-post, I just had a discovery while reading up on ASP.Net (Professional ASP.Net 2.0) and I see here that PHP has a way to go when it comes to make web development more productive. Yes we have more control on our code and so on, but the .Net Framework and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this isn&#8217;t really a VS-blog-post, I just had a discovery while reading up on ASP.Net (Professional ASP.Net 2.0) and I see here that PHP has a way to go when it comes to make web development more productive.<br />
Yes we have more control on our code and so on, but the .Net Framework and Visual Studio just makes things quite attractive for web developers.<br />
<em>I never really believed that I would ever write this in a blog post!</em><br />
I mean, there are components for everything.<br />
Want to create a login form? Drag it onto the canvas.<br />
What about a tree of data? Drag it onto the canvas &#8211; change the settings and boom.<br />
Want to create a portal? Use the .Net Portal Framework &#8211; which makes it possible for you to create something like Sharepoint! (well, that what it looked like in the book)</p>
<p>That is, is, is &#8230; awesome (<em>Again, I never really believed that I would ever write this in a blog post</em>)</p>
<p>There are of course cons related to .Net web application development.<br />
Configuring the IIS-server isn&#8217;t quite understandable, and you cannot go to the IIS.conf file to see what has been done to it in order to make it work like it is. So I would give Apache the victory here!</p>
<p>I have been working/maintaining/fixing on some websites that has been depended on .dll-files. One we recently had to upgrade from 1.1 to 3.5, and making it work under 3.5 wasn&#8217;t all that understandable &#8211; well at least not for me &#8211; but then again, I am still a Noob when it comes to .Net Web Application Development.<br />
Again, I&#8217;ll give PHP the advantage here as it is much easier to understand what has been done. the PHP.ini-file and such is easy to either go through or diff against the default PHP.ini to spot differences.</p>
<p>But for rapidness, especially when you start a project from scratch &#8211; ASP.Net gets one point. </p>
<p>This is where PHP must be heading. Yes it is easier to start with PHP. Or at least that is what used to be the best argument to start programming your dynamic web solution with PHP. But dragging, do some coding, and so on, will mean that .Net development will narrow the gap between PHP and ASP.Net.</p>
<p>According to websites PHP is still the most popular language to use when it comes to web development.<br />
A search on PHP and asp on GoogleFight returns:<br />
301.000.000 (301 million) results for PHP and 98.800.000 (98.8 million) results for asp<br />
ASP.net returns 30.400.000 (30.4 million) hits.</p>
<p>TIOBE Programming Community Index for January 2010 tells us that PHP is on the rise. It&#8217;s on third place behind Java and C, but in front of C++. VB is in fifth while C# is on 6th place. I believe I would put those two together to get some ASP.Net figgures.<br />
The two/three languages below:<br />
3  	5  	  	PHP  	10.071%  	+1.19%  	  A<br />
5 	4 		(Visual) Basic 	7.354% 	-1.81% 	  A<br />
6 	6 		C# 	5.767% 	+0.16% 	  A</p>
<p>PHP is still my language of choice, but I will follow ASP.Net closely. .Net 2.0 is dated and so I need a book for 3.5&#8230; (and probably 4.0) to see what&#8217;s new. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/01/20/php-vs-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monodevelop vs Visual Studio &#8211; or what the monoteam could learn from VS</title>
		<link>http://www.trondhuso.no/blog/2010/01/16/monodevelop-vs-visual-studio-or-what-the-monoteam-could-learn-from-vs/</link>
		<comments>http://www.trondhuso.no/blog/2010/01/16/monodevelop-vs-visual-studio-or-what-the-monoteam-could-learn-from-vs/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 08:00:04 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MonoDevelop]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=163</guid>
		<description><![CDATA[What a long title&#8230; But why not. This week has been exhausting for mr. Huso. It has been some security holes and more. But I have also noticed something that I think the mono developer team should start doing. This past week I was part of a small team that upgraded a website from .Net [...]]]></description>
			<content:encoded><![CDATA[<p>What a long title&#8230; But why not.<br />
This week has been exhausting for mr. Huso. It has been some security holes and more.<br />
But I have also noticed something that I think the mono developer team should start doing.<br />
This past week I was part of a small team that upgraded a website from .Net 1.1 to .Net 3.5. In this process I noticed that, and I knew this from earlier, that with each visual studio release there is a new .Net Framework.<br />
So: If you run vs 2008, you are coding against .net 3.5. The new VS 2010 will use the 4.0 version of the framework.<br />
How about MonoDevelop (which is an just as awesome IDE/RAD).<br />
There is a bug in Podsleuth that I wanted to look at and hopefully fix (tired of not being able to update my iPod in Banshee under Ubuntu). So I fired up MonoDevelop. But since I needed debugging information on the &#8220;service&#8221;, I needed some help. Best place is IRC.<br />
And I got in touch with some people there. And they told me that MD 2.2 has this feature. So of I went to download and install it (apt-get and so on).<br />
Unfortunately MD2.2 does not fire a dependency warning on Mono 2.4 that it also needs. So installing and using MD2.2 isn&#8217;t quite as easy.<br />
So this is what the MD/M-team should learn from the guys in Redmond: Whenever you update the Mono Framework, update the MonoDevelop package as well. And release them at the same time!<br />
Maybe they should change the versioning as well, following VS. So MonoDevelop 2.4 could be MonoDevelop 2010. Mono could follow the versioning that they are doing now.<br />
Important: This is not meant to disgrace the great work the Monodevelop-team is doing, it&#8217;s just a public personal suggestion&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/01/16/monodevelop-vs-visual-studio-or-what-the-monoteam-could-learn-from-vs/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://www.trondhuso.no/blog/2010/01/08/ides-supportin-php-under-linux/</link>
		<comments>http://www.trondhuso.no/blog/2010/01/08/ides-supportin-php-under-linux/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 08:00:59 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=148</guid>
		<description><![CDATA[I have been testing out quite a few Integrated development environment applications, also known as IDE, to be used to develop websites in PHP. These are the ones that I&#8217;ve tried: Komodo Aptana Eclipse / With Aptana &#8220;plugin&#8221; Netbeans Round up Komodo This IDE is created by Active State and in their commercial text they [...]]]></description>
			<content:encoded><![CDATA[<p>I have been testing out quite a few <a href="http://en.wikipedia.org/wiki/Integrated_development_environment" target="_blank">Integrated development environment</a> applications, also known as IDE, to be used to develop websites in PHP. These are the ones that I&#8217;ve tried:</p>
<ul>
<li><a href="#komodo">Komodo</a></li>
<li><a href="#aptana">Aptana</a></li>
<li><a href="#eclipse">Eclipse / With Aptana &#8220;plugin&#8221;</a></li>
<li><a href="#netbeans">Netbeans</a></li>
<li><a href="#roundup">Round up</a></li>
</ul>
<p><a name="komodo"><br />
</a></p>
<h2><a name="komodo">Komodo</a></h2>
<p>This IDE is created by <a href="http://www.activestate.com/komodo/features/" target="_blank">Active State</a> and in their commercial text they write: «Code smarter and faster with Komodo IDE 5, the award-winning professional development environment for dynamic languages and open technologies.»<br />
You maybe code smarter, but faster? I found the <a href="http://en.wikipedia.org/wiki/Autocompletion" target="_blank">autocompletion</a> in Komodo slow – at least for PHP which is the only language I have used it for.<br />
Also: It was impossible to create a new <a href="http://en.wikipedia.org/wiki/Subversion_%28software%29" target="_blank">Subversion</a> repository for the project you were working on. The whole <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> deal was one of the reasons for me to stop using this IDE – which I have paid $295 for since I liked it in the beginning.<br />
I also became annoyed of the things disappearing when I started up the IDE. I have reported this to Active State and it seamed to be related to the HTML-renderer of that first page.<br />
For the price of this IDE I am also expecting more. I would expect it to be able to do drag&#8217;n drop web development, but Active State has no plans on implementing such a feature.<br />
Yes. I have asked.<br />
Last thing: The application is still in version 5.2 and has been so for quite some time. And I don&#8217;t know if development has continued.<br />
<a href="#menu">Up</a></p>
<p><a name="aptana"><br />
</a></p>
<h2><a name="aptana">Aptana Studio</a></h2>
<p><a href="http://www.aptana.com" target="_blank">Aptana Studio</a> is based on <a href="http://www.eclipse.org" target="_blank">Eclipse</a> and I started to like this one in the beginning. I also paid $99 for the license for this software.<br />
Six months later Aptana INC decided to let the application be free – and the only things you&#8217;ve really had paid for was <a href="http://en.wikipedia.org/wiki/SSH_file_transfer_protocol" target="_blank">SFTP-support</a>.<br />
That annoyed me so much that I decided to remove it. Also: Auto completion in this application wasn&#8217;t as good as I expected.<br />
Overall an OK IDE, but I think it&#8217;s to much to call it a Studio.<br />
<a href="#menu">Up</a></p>
<p><a name="eclipse"><br />
</a></p>
<h2><a name="eclipse">Eclipse</a></h2>
<p>I decided to use <a href="http://www.eclipse.org" target="_blank">Eclipse</a> after it became available in the <a href="http://www.ubuntu.com" target="_blank">Ubuntu</a> Repo, and after som intallation of needed packages I can now do <a href="http://www.php.net" target="_blank">PHP</a> development in the IDE. Since Aptana is based on Eclipse I didn&#8217;t expect any big surprises and I didn&#8217;t get any either.<br />
I did how ever hope that the Code complete that comes with the PHP Development Package would speed things up. Nope. It could be that my <a href="http://www.dell.com" target="_blank">Dell D420</a> is not as powerful as it should for these types of applications.<br />
<a href="#menu">Up</a></p>
<p><a name="netbeans"><br />
</a></p>
<h2><a name="netbeans">Netbeans</a></h2>
<p>I tried <a href="http://www.netbeans.org" target="_blank">Netbeans</a> from <a href="http://www.sun.com" target="_blank">Sun</a> (now <a href="http://www.oracle.com" target="_blank">Oracle</a>?) after I saw a videocast from <a href="http://www.zend.com" target="_blank">Zend</a> where one of the developers used the IDE. It seemed as if Codecomplete was fast, which it might be, but I didn&#8217;t find it as fast as I want it to. Nor was it stable. Sometimes code complete worked, and sometimes not.</p>
<p>I didn&#8217;t use it as long, and it has been a while since I tried it, and so I don&#8217;t remember if it had SVN support or how it worked. Maybe I should install it again.</p>
<p>I got a suggestion that I should try the latest 6.8 version, and so I have. And NO, I don&#8217;t like Netbeans. Word Wrap is lacking, and dialogs are not native. Also some of the fields in dialogs are way to small.<br />
<a href="#menu">Up</a></p>
<p><a name="roundup"><br />
</a></p>
<h2><a name="roundup">Round up</a></h2>
<p>I don&#8217;t want to conclude here. All IDEs works and does their job as expected. Codecomplete is a feature I am a big fan of, and sometimes it worked in these applications, sometimes not.<br />
It could be reasons for this, and so I shall dig through my code and see why it happens. Maybe start with a clean application just to see how things are working.<br />
I&#8217;ve written it before, and I&#8217;ll write it again. All IDEs must step it up a notch. The future is in building websites in <a href="http://en.wikipedia.org/wiki/wysiwyg" target="_blank">WYSIWYG</a> then adding advanced code like PHP, <a href="http://www.perl.org/" target="_blank">Perl</a>, <a href="http://www.ruby-lang.org/en/" target="_blank">Ruby</a> or <a href="http://www.python.org/" target="_blank">Python</a>. That way designers and developers can work hand in hand.</p>
<p>It&#8217;s the idea behind <a href="http://msdn.microsoft.com/en-us/vstudio/default.aspx" target="_blank">Visual Studio</a> – an application that lives up to the word Studio – not like Aptana Studio.<br />
Of the ones available as <a href="http://www.linux.org" target="_blank">Linux</a> tools, Eclipse is the one that has the greatest potential. Not only can you code in almost any of the languages available, but you can also create <a href="http://developer.android.com/sdk/index.html" target="_blank">Android</a> applications.<br />
It&#8217;s quite an impressive piece of software.</p>
<p>I know that <a href="http://www.zend.com/products/studio/" target="_blank">Zend Studio</a> is now based on Eclipse, and I hope that with the Zend Framework it can be possible to start doing Drag&#8217;n drop development in Eclipse / ZS.<br />
With a price tag of whooping $575 (Euro 399) Drag&#8217;n Drop is a feature I very much expect to see. It&#8217;s the most expencive IDEs of them all out there, so it should stand out more than it does at the moment.</p>
<p>I hope to see that in the future, maybe even in 2010 although that is a bit optimistic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2010/01/08/ides-supportin-php-under-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rapid Application Development under Linux</title>
		<link>http://www.trondhuso.no/blog/2009/12/20/development-under-linux/</link>
		<comments>http://www.trondhuso.no/blog/2009/12/20/development-under-linux/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 08:00:21 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MonoDevelop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[Gamba]]></category>
		<category><![CDATA[Pascal]]></category>
		<category><![CDATA[rad]]></category>
		<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=115</guid>
		<description><![CDATA[There are a few ways to develop applications under/for Linux. You can write cross platform applications using MonoDevelop, Real Basic and QT (not pronounced Cute, but Q.T. &#8211; yes, sort of like E.T&#8230;.). Or you can use any other language and use IDEs like Komodo, Eclipse and so on. Coming from the Windows side of [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few ways to develop applications under/for Linux. You can write cross platform applications using <a href="http://www.monodevelop.com" target="_blank" title="MonoDevelop">MonoDevelop, <a href="http://www.realsoftware.com">Real Basic</a> and <a href="http://qt.nokia.com">QT</a> (not pronounced Cute, but Q.T. &#8211; yes, sort of like E.T&#8230;.). Or you can use any other language and use IDEs like <a href="http://www.activestate.com">Komodo</a>, <a href="http://www.eclipse.org">Eclipse</a> and so on.</p>
<p>Coming from the Windows side of things and being used to <a href="http://msdn.microsoft.com/en-gb/vstudio/default.aspx">Visual Basic</a> (I probably have the 1.0 floppy somewhere if I start looking!!!), <a href="http://www.codegear.com">Delphi</a> and now lately <a href="http://msdn.microsoft.com/en-gb/vstudio/default.aspx">Visual Studio</a> (It might seem weird that I&#8217;ve just recently been introduced to VS, but I have mostly coded in <a href="http://www.php.net">PHP</a> and <a href="http://msdn.microsoft.com/en-us/library/aa286483.aspx">classic ASP</a> for the last 8-10 years, and then you sort of don&#8217;t need VS), I have been accustomed to drag&#8217;n drop + double click to add code to the application. I have yet to write an application for <a href="http://www.linux.org">Linux</a>, but I have made a few attempts. My first attempt included being introduced to the <a title="Glade - A User Interface Designer" href="http://glade.gnome.org/" target="_blank">Glade</a> application which is/was used to create the layout of the application &#8211; aka GUI. Then you write the code in another IDE.</p>
<p>This was (hm) a while back &#8211; not writing year here, but I can write years if you like&#8230;</p>
<p><strong>The Good</strong></p>
<p>With the introduction of <a title="MonoDevelop" href="http://monodevelop.com" target="_blank">MonoDevelop</a>, <a title="Real Basic" href="http://www.realsoftware.com/" target="_blank">Real Basic</a> and <a title="QT" href="http://qt.nokia.com/" target="_blank">QT</a> we don&#8217;t have to open one application to create the GUI and a second one to attach code. It is all being done (and taken care of) in one development tool. This is, and I&#8217;d like to emphasize on this, the best way to write applications (my humble opinion &#8211; hey my blog!). The tool and GUI-designer is implemented and things can and should work smoothly. Also: You don&#8217;t have to learn two applications and probably also two &#8220;languages&#8221; &#8211; although I am all for having knowledge in as many programming languages as you can. I can now code in C#, VB.Net, Delphi/Pascal (although somewhat very rusty), Perl (briefly, by no means an expert and more or less a novice  and PHP (if that is considered a programming language).</p>
<p>I have tested QT, MonoDevelop and Real Basic. As I am no C++ developer (but I wish I was!), QT would be my choice of  development tool to use when learning that language. Real Basic has only been tested a few times after listening to Bryan Lunduke (Linux Action Show / Computer Action Show) speaking highly of it. MonoDevelop is as of now the tool I use when I&#8217;m now doing some C# stuff on Linux and trying to get the grips of  GTK-development.</p>
<p>I do want to check out <a title="Python" href="www.python.org/" target="_blank">Python</a> as a programming language as I have heard so much positive things regarding the language. But writing an application where you use <a title="RAD using Python and Glade" href="http://www.linuxjournal.com/article/7421" target="_blank">Glade</a> + editor of choice is not something I want to do. Not in 2009/2010. I think I&#8217;ve read somewhere that it can be possible to write applications in Python using QT, but I haven&#8217;t spent to much time getting this to work &#8211; as I don&#8217;t know that much Python &#8211; yet&#8230;</p>
<p>One thing though: By using <a title="Glade - A User Interface Designer" href="http://glade.gnome.org/" target="_blank">Glade</a> and similar applications you separate logic with presentation which can/is a good thing. But there are also drawbacks to this way of designing and developing applications. More below.</p>
<p><strong>The &#8220;Bad&#8221;</strong></p>
<p>I have also tried Android development in Eclipse, and it seems promising. But again: If the only way to create a GUI is to write XML-code, then no thanks. To the developers of development tools out there: Look at the calendar. It is &#8211; as of writing &#8211; saying December 19 in 2009, start creating drag&#8217;n drop applications.</p>
<p>This also goes for creating Web applications (as this is the new term for web pages). DreamWeaver alternatives for Linux? Not even close. Visual Studio + PHP under Linux. Nope.</p>
<p>Two years ago I attended a class to get a jumpstart on C#-development. And I was shown how to create a zebra-striped/styled datalist in VS. The teacher showed me how to do this in three ways: the first one without using any code, the second way with some code and placing the &#8220;plugin&#8221; and the last way by creating the object and so on.</p>
<p>So let&#8217;s say you have never programmed anything in your entire life. Which one would you start using to get going and to be inspired to code more? First one, most likely &#8211; until you understand that it gives you some restrictions and/or problems down the line. But at least you get inspired. You get the application out there to impress friends/boss/yourself quickly.</p>
<p>There are of course drawbacks to this type of applications. No one can argue that DW and such applications creates optimized code. And I am my self a user of Notepad-like applications to generate PHP-code &#8211; that is &#8211; I have moved from Bluefish to <a title="Aptana Studio" href="http://www.aptana.com" target="_blank">Aptana</a>/<a title="Eclipse - Open Source IDE" href="http://www.eclipse.org/" target="_blank">Eclipse</a>. Sometimes I do wish it was a faster way to create forms than the way I do it now &#8211; even though it doesn&#8217;t take that much time.</p>
<p>I have checked out <a title="Zend Studio" href="http://www.zend.com/products/studio/" target="_blank">Zend Studio</a> &#8211; which is now an Eclipse plugin, and I was hoping that ZS would be the way to do the same thing for PHP under Linux/Windows. Nope &#8211; not as I have found out &#8211; yet. It saddens me. Especially because they market this as <em>&#8220;Zend Studio 7.1 is the next generation of our professional-grade PHP application development environment. It has been designed to maximize developer productivity by enabling you to develop and maintain code faster, solve application problems quickly and improve team collaboration.&#8221;</em></p>
<p>I don&#8217;t think they are close to be a next generation professional-grade PHP application development environment. This is 2009 (soon 2010) and 7.1 should&#8217;ve had drag&#8217;n drop datalists, form creation in place. I hope, how ever, that ZS will in the end turn out to become a drag&#8217;n drop Rapid Web Application development (RWAD &#8211; Coined by Trond Husø on December 19, 2009!!!) tool for PHP.</p>
<p><strong>My Dream!</strong><br />
Maybe, in 2010(not likely) we could have a universal Rapid Application Development tool to be used to develop Linux applications that supports Python, Java, Perl, C, C++, PHP (if you want to!), C# and any other programming languages you can think of. And most importantly: The RAD tool should work out of the box. No spending much time on plugins and so on.</p>
<p><strong>Some links:</strong><br />
There are some RAD applications out there and here are some links:<br />
Python<br />
<a title=" href=" href="http://www.zend.com/products/studio/" target="_blank">Dabo</a></p>
<p><strong>Visual Basic</strong></p>
<p><a title="Gambas" href="http://gambas.sourceforge.net/en/main.html" target="_blank">Gambas</a></p>
<p><a title="MonoDevelop" href="http://monodevelop.com/" target="_blank">MonoDevelop</a></p>
<p><strong>Pascal</strong></p>
<p><a title="Lazarus" href="http://sourceforge.net/projects/lazarus/" target="_blank">Lazarus</a></p>
<p>(more links to come &#8211; obviously&#8230; &#8211; please do suggest some!)</p>
<p>Another discussion regarding development under Linux:</p>
<p><a title="RA development" href="https://ldn.linuxfoundation.org/article/putting-squeeze-python-application-development" target="_blank">Putting the Squeeze on Python Application Development</a></p>
<p>(more links to come)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2009/12/20/development-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version numbers count</title>
		<link>http://www.trondhuso.no/blog/2009/12/03/version-numbers-count/</link>
		<comments>http://www.trondhuso.no/blog/2009/12/03/version-numbers-count/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 21:23:04 +0000</pubDate>
		<dc:creator>Trond Husø</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MonoDevelop]]></category>

		<guid isPermaLink="false">http://www.trondhuso.no/blog/?p=110</guid>
		<description><![CDATA[In an episode of TuxRadar they asked: Does Version numbers count? My response: Yes. Why? Read on. Quite a few Open Source software on the Linux platform is in version 0.x.x., and after listening to the episode I started to wonder why. Why is InkScape in version 0.47, when I think that the software is [...]]]></description>
			<content:encoded><![CDATA[<p>In an episode of <a title="TuxRadar Podcast" href="http://www.tuxradar.com/podcast" target="_blank">TuxRadar</a> they asked: Does Version numbers count? My response: Yes. Why? Read on.</p>
<p>Quite a few Open Source software on the Linux platform is in version 0.x.x., and after listening to the episode I started to wonder why. Why is InkScape in version 0.47, when I think that the software is way beyond the 1.0 mark?<br />
Reason: The specifications for the 1.0 version is to extensive. I think the developers of InkScape should change the version number to 4.7 which is a more likely number.</p>
<p>So when is a software ready to be called 1.0? Depends on the software really, but as a general rule I think that the main features for the program should be in place. I&#8217;ve long wanted to create a photo organization software based on the idea and design of FotoStation &#8211; the defacto standard among Media companies in Norway &#8211; and other countries. So when would I say that this software is in version 1.0?<br />
Let&#8217;s analyze: This will going to be a photo organization software, so the program needs to be able to import and index photos. You should also be able to view thumbnails of the photos and when clicking on one picture, you should be able to view a bigger version of it. That&#8217;s pretty much a raw description of a 1.0 version of the software. It does what&#8217;s intended. It&#8217;s the core version. This is the self-tested, friends-tested version. And it is the 1.0 version of the software.</p>
<p>So then I publish it. And maybe some will start using it and I get bug reports in return. I start fixing the bugs and you are in version 1.0.1, 1.0.2 and so on. Then I&#8217;ll probably get feature requests. I will consider these closely. And I start building up a roadmap for version 1.5 (maybe), 2.0, 3.0 and so on.</p>
<p>I think the Linux distributions should start creating some guidelines when it comes to version numbers. And I think they also should start having a policy that no versions below 1.0 should be in our repository. Those that are below 1.0 should be in the development-repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trondhuso.no/blog/2009/12/03/version-numbers-count/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

