﻿<?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>Just A Programmer &#187; programming</title>
	<atom:link href="http://www.justaprogrammer.net/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justaprogrammer.net</link>
	<description>We're Just Programmers...</description>
	<lastBuildDate>Sat, 03 Jul 2010 17:15:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Yes your software needs an installer.</title>
		<link>http://www.justaprogrammer.net/2010/01/16/yes-your-software-needs-an-installer/</link>
		<comments>http://www.justaprogrammer.net/2010/01/16/yes-your-software-needs-an-installer/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 03:35:56 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[installers]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.justaprogrammer.net/?p=34</guid>
		<description><![CDATA[Some people have a love-hate releationship with certain pieces of software. Others, a love to hate relationship. My releationship with Eclipse is more of a respect-hate relationship. Perhaps I make that categorization, because I cannot admit a more purer dichotomy of love-hate, I&#8217;ve often described eclipse as being put together by a hippie commune of [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.justaprogrammer.net%252F2010%252F01%252F16%252Fyes-your-software-needs-an-installer%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Yes%20your%20software%20needs%20an%20installer.%22%20%7D);"></div>
<p>Some people have a love-hate releationship with certain pieces of software. Others, a love to hate relationship. My releationship with Eclipse is more of a respect-hate relationship.</p>
<p>Perhaps I make that categorization, because I cannot admit a more purer dichotomy of love-hate, I&#8217;ve often described eclipse as being put together by a hippie commune of developers. The features are all nice. However, the complete lack of central planning is very apparent. The fact that there are at least three &#8220;Find&#8221; dialogs in Eclipse PDT, the Eclipse distribution designed for PHP is testament to this. In the Edit menu their is a find dialog for the current document. In the Search menu there is one dialog for searching for PHP methods, fields, etc. There is also a second that has several tabs for searching for javascript, plain file search, and others.</p>
<p>This is all somewhat acceptable, as Eclipse not only an IDE, but a Framework for making IDEs. There are third party eclipse distributions for editing java, PHP and other languages in eclipse that are more polished. Perhaps its best that the &#8220;reference distributions&#8221; have the full hodgepodge of features, and third parties take the &#8220;less is more&#8221; approach.</p>
<p>However, one missing feature I cannot forgive is the lack of an installer. All mature software projects should have proper installers for their platform. For an Apple, this means a .dmg file with a .app bundle built in. For windows this means an MSI, exe, or an exe wrapped around an MSI. For linux this means an rpm and debian package.</p>
<p>That&#8217;s not to say I am against the concept of a binary zip or tarball. On the contrary, some people don&#8217;t like installers, and they should have the option of just unzipping. Freedom of choice is a good thing. However, I am saying that an installer is one of the necessary choices for all platforms.</p>
<p>As a final aside, I realize that a dmg with a .app bundle is not really an installer on par with an RPM, MSI, or EXE installer. I also realize there are real installers for MacOSX software that a minority of Mac Software uses.  So I acknowledge that Mac OSX is an exception to this rule.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.justaprogrammer.net/2010/01/16/yes-your-software-needs-an-installer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>If you have too much free time, use Java.</title>
		<link>http://www.justaprogrammer.net/2007/12/25/if-you-have-too-much-free-time-use-java/</link>
		<comments>http://www.justaprogrammer.net/2007/12/25/if-you-have-too-much-free-time-use-java/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 20:19:56 +0000</pubDate>
		<dc:creator>Tomaj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.justaprogrammer.net/2007/12/25/if-you-have-too-much-free-time-use-java/</guid>
		<description><![CDATA[Now, I am no superstar programmer, this I admit. However, I do believe I am fairly intelligent, and have a decent breadth of knowledge and ability when it comes not just to programming, but IT as a whole. This weekend, I decided to spend a little time attempting to re-invent an intranet app I created [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.justaprogrammer.net%252F2007%252F12%252F25%252Fif-you-have-too-much-free-time-use-java%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22If%20you%20have%20too%20much%20free%20time%2C%20use%20Java.%22%20%7D);"></div>
<p>Now, I am no superstar programmer, this I admit.  However, I do believe I am fairly intelligent, and have a decent breadth of knowledge and ability when it comes not just to programming, but IT as a whole.</p>
<p>This weekend, I decided to spend a little time attempting to re-invent an intranet app I created using Java in Applet form, as opposed to the present PHP/Ajax solution.  To provide a little background, the present application is basically an administrative tool which keeps track of computers &amp; users.  It presents several tables identifying e-mail accounts, Southware users, PCs, and the relationships of these various items to each other.  For now, I use PHP5 with Smarty templating, and use XMLHttpRequest calls to update just certain portions of the page instead of reloading the whole thing each time you want to sort a table, or edit a field.</p>
<p>I am pretty pleasd with the solution thus far, however I like to experiment.  Previously, I tried using Flex &#8212; and did OK until the point that I hit what I believe was a limitation of Flex itself, having to do with binding controls to the gridview and having changes propagate back to the control that the edit controls were bound to.  So this time around, I said to myself &#8220;Hey, I took Java back in college and even did my senior project in that!&#8221;.</p>
<p>Can&#8217;t be too hard right? Taking some data, displaying it on a grid, edits, etc.  Boy was I wrong!</p>
<p><strong>CHALLENGE #1 &#8212; Finding a decent IDE</strong></p>
<p>Good luck!  I tried probably 5 different IDEs, and ditched them all for various reasons &#8212; mostly because they weren&#8217;t free.  Finally I ended up with Netbeans, which I happened upon completely by accident, as I was browsing around Sun&#8217;s website.  It&#8217;s actually a pretty nice IDE.  It has several built in project templates, a drag &amp; drop WYSIWYG designer, code completion, etc.  This IDE also had a cool feature where you can easily set up a JDBC connection to several database servers, in my case PostgreSQL.  I was able to connect, browse around the tables (however, you must have a primary key before any tables can be used!?), and bind the tables to various controls for example a list or a data grid.  I had some problems with the IDE though &#8212; I had a tough time wrestling for control.  It wouldn&#8217;t let me delete function declarations, variables, etc.. They were just simply a different shade of gray, and somehow untouchable.</p>
<p><strong>CHALLENGE #2 &#8212; Getting anything done</strong></p>
<p>Once I had finally gotten everything set up with my little project, I tried to compile it.  UHOH it seems it couldn&#8217;t find javax.persistence.  WTF is that you may ask?  Well, apparently it&#8217;s necessary (at least with this IDE) to bind the database to the control.  After another half an hour of searching, I resigned myself to having to download the enterprise edition of the SDK (100+ megs..) and then trying again.   After that was finally done, I tried to run it again&#8230; It compiled, but now it was giving exceptions on start, and it STILL wouldn&#8217;t work..</p>
<p><strong>CHALLENGE #3 &#8212; Debugging!</strong></p>
<p>There may be a nice quick solution for this (if there is, please let me know).  If you&#8217;re writing an applet you should be debugging in your browser right?  Well if you do, then your browser will cache the Applet, and your subsequent rebuilds will not be represented.. I am using firefox, and to counter this, it is suggested you load up your Tools -&gt; Java Console, and hit &#8216;x&#8217; to clear the java cache.. So I did it. And did it again. And again and again.  NO EFFECT!  I discovered I had to exit firefox in its entirety after clearing the cache, then re-launching, and THEN it would show the new applet.  SO, what kind of way to debug is that??  As I said above, i&#8217;m no superstar.. I like to code a little, then check it. Then code, then check.  I just can&#8217;t work like that.  Yes, you can run the program as a regular application then switch to be an applet, but then you have various security permissions issues which may come back to bite you if you&#8217;re not careful no?</p>
<p>The above may not seem particularly frustrating, but all of this came after several hours of playing around with SOAP.  I had gotten one of the functions of my app set up via SOAP, and was going to test that with java.  I was looking around the web, and all the samples I saw were horrible&#8230; They were hand-crafting the request XML, OR using some 3rd party framework to get the job done.   I didn&#8217;t want to do either of those things, so eventually I gave up on SOAP, and that is when I tried the direct database connection.</p>
<p>In closing, those of you out there who are PROs at Java will read this and laugh &#8212; no problem there.  What should be taken away from this though, is that while Java may be perfectly good once you immerse yourself in the intricacies, it is not for the faint of heart, and in the age of integration, polished languages &amp; IDEs, it&#8217;s just not up to the hype.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.justaprogrammer.net/2007/12/25/if-you-have-too-much-free-time-use-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
