<?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>Microsonic Development &#187; Other</title>
	<atom:link href="http://microsonic.org/category/other/feed/" rel="self" type="application/rss+xml" />
	<link>http://microsonic.org</link>
	<description></description>
	<lastBuildDate>Mon, 12 Jul 2010 01:55:28 +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>Why Not All Traffic Is Good Traffic</title>
		<link>http://microsonic.org/2009/11/15/why-not-all-traffic-is-good-traffic/</link>
		<comments>http://microsonic.org/2009/11/15/why-not-all-traffic-is-good-traffic/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:32:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=199</guid>
		<description><![CDATA[Web traffic; it&#8217;s the &#8220;money-maker&#8221; for many webmasters. But is all traffic really a good thing? Well, this is a topic that isn&#8217;t quite &#8220;black and white&#8221; so to speak. Traffic can have many affects on a site, both positive and negative. Ultimately, good traffic is defined as frequent visitors, or a visitor who buys [...]]]></description>
			<content:encoded><![CDATA[<p>Web traffic; it&#8217;s the &#8220;money-maker&#8221; for many webmasters. But is all traffic really a good thing? Well, this is a topic that isn&#8217;t quite &#8220;black and white&#8221; so to speak. Traffic can have many affects on a site, both positive and negative. Ultimately, good traffic is defined as frequent visitors, or a visitor who buys your product (if you&#8217;re selling something). Bad traffic, on the other hand, consists of mostly anything else: spam, abusers, web-surfers, etc.</p>
<p>We will begin by discussing the positive effects of all traffic. Having good traffic, obviously, cannot hurt you. There is no way that comes to mind that I can think of in which good traffic will hurt your site; be it resale value or otherwise (thus its name, &#8220;good&#8221; traffic). If you&#8217;re getting tons of good traffic, your site is booming, and if you ever want to sell it, that raises it&#8217;s value!</p>
<p>Now, bad traffic can also have some (temporarily) &#8220;positive&#8221; effects. If you&#8217;re running a site which does not worry about visitor comments spam hits and robots shouldn&#8217;t be much of a problem for you. In fact, they may make your stats look great at first glance, and you may even be able to catch a gullible buyer and convincing him or her (by not saying anything more than to look at the visitor count) that the traffic is great! However, for those serious domainers, etc. they will check those stats down to the IP&#8217;s of the visits. When they track back all those IP&#8217;s to public proxies, and known spam bots they will throw the name back in your face and your sale will fall through.</p>
<p>So in the end, all traffic does not quite turn into good traffic. It is indeed a great factor for any sale of a site, but visitor turn around is what really matters. So when analyzing your own traffic, check as if you were buying your site up and take steps to minimize spam traffic!</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/11/15/why-not-all-traffic-is-good-traffic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thoughts or Comments: Re-opening the Hosting Branch</title>
		<link>http://microsonic.org/2009/10/20/thoughts-or-comments-re-opening-the-hosting-branch/</link>
		<comments>http://microsonic.org/2009/10/20/thoughts-or-comments-re-opening-the-hosting-branch/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 21:14:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[microsonic]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=197</guid>
		<description><![CDATA[Hey everyone! As many of you may or may not know, Microsonic used to be a hosting company. From 2005-2008 I ran the site as &#8220;Microsonic Hosting.&#8221; In 2009, however, I decided to make it a more specialized place consisting of my thoughts and sharing my skills with others. Today, however, an idea ran across [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone!</p>
<p>As many of you may or may not know, Microsonic used to be a hosting company. From 2005-2008 I ran the site as &#8220;Microsonic Hosting.&#8221; In 2009, however, I decided to make it a more specialized place consisting of my thoughts and sharing my skills with others. Today, however, an idea ran across my head: re-open the hosting branch. So in this topic, I&#8217;ll take you through my head a bit more.</p>
<p>Well, what does this entail? The mere thought makes one wonder what would happen to the current site. Well, it would remain the same. As I mentioned, it would be a &#8220;branch&#8221; of Microsonic Development. I actually run &#8220;Microsonic Development&#8221; as a freelance programming company, so I may even revamp this to being much more than simply a blog! A hosting company that is not run by C/O&#8217;s who know very little about what they&#8217;re selling, but rather a professional selling services to another professional. Keeping in mind the reason I closed up shop in the first place, however, is also very important.</p>
<p>Due to lack of business and trying to keep prices low, costs built up and I ended up taking a loss on the whole project unfortunately. Not that I am in it to solely make a profit, but just like for everyone else, finances are tight. But then again, in retrospect it is important to think about what caused the collapse. My lack of advertising was the ultimate beast that did it in in the first place. All clients I had were extremely happy and very upset when I announced the initial closing of the company, however, had more people known about the satisfaction perhaps more members would have joined.</p>
<p>So now, as I continue to ponder my own thoughts, what are you personal thoughts? Perhaps I should specialize? Rather than web hosting, perhaps I will provide shell or VPS hosting? Let me know what you think! Your thoughts are, as usual, very helpful for me as they inspire my decisions about how to proceed in certain actions and what kinds of articles to write!</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/10/20/thoughts-or-comments-re-opening-the-hosting-branch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Maintenance: A Necessary Frustration</title>
		<link>http://microsonic.org/2009/10/10/server-maintenance-a-necessary-frustration/</link>
		<comments>http://microsonic.org/2009/10/10/server-maintenance-a-necessary-frustration/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 14:36:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[frustration]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[necessary]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=195</guid>
		<description><![CDATA[I&#8217;d like to begin this post with an apology to all my subscribers. It has been over a month since I&#8217;ve posted anything! This is because I have been involved in a very large project which I should hopefully be finishing very soon (yes, I&#8217;m still not finished with it). And without further adieu: Server [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like to begin this post with an apology to all my subscribers. It has been over a month since I&#8217;ve posted anything! This is because I have been involved in a very large project which I should hopefully be finishing very soon (yes, I&#8217;m still not finished with it). And without further adieu: </p>
<p>Server Maintenance. It&#8217;s a love-hate relationship really. One never knows how long it&#8217;s truly going to take, so you generally lose a lot of precious uptime due to it. On the other hand, it keeps the system running strong and fast so it can keep up with other servers.</p>
<p>This server even has some scheduled maintenance coming up very soon (I believe Sunday October, 11 at 9:00am CST, but I could be wrong). But it&#8217;s not always a thing to get angry about. In the time it takes to update the server, most people won&#8217;t lose any clients.</p>
<p>Most companies or users try to find a time (analyzing statistics) where their traffic is the lowest. During this time is when they normally try to schedule maintenance if it&#8217;s possible. This already minimizes the amount of clients lost. Also, maintenance normally lasts an hour or so (but I&#8217;ve had experiences with up to 24) and then you come back to a much faster working network.</p>
<p>So overall, this server maintenance thing is really a blessing in disguise. Although you will get some immediate frustration that you cannot access your site, you will be able to come back to a quick server. Not only quick (by way of RAM), but many times a quicker internet speed as well (a connection update!).</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/10/10/server-maintenance-a-necessary-frustration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting a String to a Vector</title>
		<link>http://microsonic.org/2009/08/24/converting-a-string-to-a-vector/</link>
		<comments>http://microsonic.org/2009/08/24/converting-a-string-to-a-vector/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 03:52:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Italiano]]></category>
		<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=187</guid>
		<description><![CDATA[It has been a long while since I&#8217;ve posted a C or C++ tutorial, but here comes another one! I try to help with programming tips on various forums across the internet. I am a fluent English and Italian speaker, so naturally I work on forums of both languages. While browsing an Italian forum, I [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long while since I&#8217;ve posted a C or C++ tutorial, but here comes another one! I try to help with programming tips on various forums across the internet. I am a fluent English and Italian speaker, so naturally I work on forums of both languages. While browsing an Italian forum, I came across an interesting question. How does one convert a C++ string to a vector. I decided I would lend a hand, and it bears repeating on here.</p>
<p>Vectors can be used for various things in C++, but they are for the more advanced programmer really. They are not really necessary if it is not a complex program, but this tutorial could serve useful for many I&#8217;m sure.</p>
<p>I myself was at first puzzled by the question. I had never thought of a reason to do this and so, frankly, I never have. After some thought, it wasn&#8217;t too bad, but still an interesting concept. I&#8217;ll post the code below and then explain further below that. Comments are in both English and Italian. The reason being is what I previously mentioned about the original reason I wrote this code.</p>
<blockquote><p><code>/**<br />
 * String to Vector Tutorial by Dennis M.<br />
 *<br />
 * un tutorial di microsonic.org<br />
 *<br />
 */</p>
<p>// Include files ~ Includere i file<br />
#include &lt;string&gt;<br />
#include &lt;iostream&gt;<br />
#include &lt;vector&gt;</p>
<p>using namespace std;</p>
<p>int main()<br />
{<br />
	// Declare Variables ~ Definire i varibili<br />
	string data = "one - uno";<br />
	vector&lt;string&gt; vect;</p>
<p>	// Insert data into vector ~ Inserire l'informazione in il vector<br />
	vect.push_back(data);<br />
	data = "two - due";<br />
	vect.push_back(data);<br />
	data = "three - tre";<br />
	vect.push_back(data);</p>
<p>	// Loop to view the contents of the vector ~ Loop per vedere i contenti di il vector<br />
	for(unsigned int i=0;i&lt;vect.size();i++){<br />
		cout&lt;&lt; i &lt;&lt; ": " &lt;&lt; vect.at(i) &lt;&lt; endl;<br />
	}</p>
<p>	// Memory Management ~ Ci sicuriamo la memoria!<br />
	vect.clear();</p>
<p>	return 0;<br />
}<br />
</code></p></blockquote>
<p>Now the code is pretty self-explanatory and the comments I think do a pretty good job. The only thing one may be perplexed about is where the functions and pointers come from. If you examine the documentation (header file?) for a vector, all is clearly defined. This example will also print the vector and clear it before it exits.</p>
<p>So I hope this post is of some service to someone and as usual, I have included the source and binaries in the post!</p>
<p><a href='http://microsonic.org/2009/08/24/converting-a-string-to-a-vector/string-vector-tar/' rel='attachment wp-att-188'>String to Vector Tutorial</a></p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/08/24/converting-a-string-to-a-vector/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Importance of Structure and Coding Etiquette</title>
		<link>http://microsonic.org/2009/08/07/importance-of-structure-and-coding-etiquette/</link>
		<comments>http://microsonic.org/2009/08/07/importance-of-structure-and-coding-etiquette/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 16:11:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[etiquette]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[professionalism]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[structure]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=185</guid>
		<description><![CDATA[Well, it&#8217;s been a very long time since I last updated and I&#8217;d like to apologize to all my subscribers for that. I&#8217;ve been very busy, but it seems the work load is going down and I&#8217;ll have more time to continue writing! Now, on with the article. So recently, I have just finished a [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a very long time since I last updated and I&#8217;d like to apologize to all my subscribers for that. I&#8217;ve been very busy, but it seems the work load is going down and I&#8217;ll have more time to continue writing! Now, on with the article.</p>
<p>So recently, I have just finished a project where one developer had started and then decided he could not finish the work, so I was hired to finish it. The natural thought to one who is inexperienced is, &#8220;This will be a cakewalk. Most of the programming is already done!&#8221; &#8211; wrong. The first thing that went through my mind was, &#8220;I wonder how bad this really is.&#8221; So, I accept the project (as I had only a few projects at the time) and take a look.</p>
<p>The code was atrocious to say the least. I felt as if this other developer had never learned how to use comments or his tab key/space bar to format. Most of the time on the project was bent around figuring out what the original developer had tried to do. It was a nightmare.</p>
<p>As I started digging through files and files of unnecessary sloppy code, I thought to myself, &#8220;I need to write something about this. This kind of work needs to stop.&#8221; I was not upset because of the amateur programming, nor the fact that it was undocumented and poorly written. What bugs me is the fact that someone paid for that kind of work. It looked like the developer copy/pasted everything from snippets he or she found online. That being said, one must learn the importance of structure and coding etiquette. </p>
<p>Structure is important for general organization. It keeps code neat and clean looking and much easier for anyone, to include yourself, to go back and fix errors/security holes. Most people see structural formatting as a simple aesthetic quality when in reality it is like formatting a letter. The structure keeps things organized and understandable on a more universal level.</p>
<p>Coding etiquette, on the other hand, is something learned over a long period of time. No new developer can simply logon and expect to program to the standards set right now, but at the same time should begin mimicking the styles of major developers. Examining the work of others is one of the best ways for any developer to learn, so studying (yes, just like in school) the work of past developers, and prominent works of today, one can easily understand how to program professionally. A simple example would be to write functions rather than hardcode functions multiple times. Or rather than using raw MySQL functions, create an SQL wrapper to execute the functions.</p>
<p>There are many resources on learning how to program professionally, and be neat, but it&#8217;s up to developers to use the tools. The vast majority of developers, I would say, hold to the standards. However, for those who do not, they are just ripping off their client in the long-run.</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/08/07/importance-of-structure-and-coding-etiquette/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding Arrays and How to Use Them</title>
		<link>http://microsonic.org/2009/06/24/understanding-arrays-and-how-to-use-them/</link>
		<comments>http://microsonic.org/2009/06/24/understanding-arrays-and-how-to-use-them/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 14:39:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[foreach]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=177</guid>
		<description><![CDATA[So in a recent project I have just finished up (again, will let you guys know what it is when it&#8217;s officialy released), arrays had become my best friend along with some regex, but that&#8217;s a topic for another post. I needed to turn strings into arrays, which I would then put back into arrays, [...]]]></description>
			<content:encoded><![CDATA[<p>So in a recent project I have just finished up (again, will let you guys know what it is when it&#8217;s officialy released), arrays had become my best friend along with some regex, but that&#8217;s a topic for another post. I needed to turn strings into arrays, which I would then put back into arrays, and finally back into strings. I did this in a few different ways, but let&#8217;s go into some examples of why one would need to do this, then we&#8217;ll begin the how; seeing as the how without the why makes very little sense.</p>
<p>Well, I mainly use all this to transfer large amounts of separated data from function to function. In my most recent endeavor it was to split a specific type of file, parse it through 3 different functions (each function returned an array, but dealt with the data in strings which I will explain) then finally took all the information in the provided array and successfully dumped the data to a database. This is only one of the numerous reasons a person could/would use an array, but they help like one couldn&#8217;t imagine.</p>
<p>Let&#8217;s begin with the basics. For sake of example, we&#8217;ll keep things in PHP. The first example below just explains an array. No more, no less.</p>
<blockquote><p><code>&lt;?php<br />
// Ways to add data to arrays!<br />
$array1 = array("Entry 0","Entry 1","Entry 2","Entry 3"); // Just put data in<br />
$array2 = array(<br />
                0 =&gt; "Entry 0",<br />
                2 =&gt; "Entry 2",<br />
                1 =&gt; "Entry 1"<br />
        ); // Define arrays by opening and stating index.<br />
$array3[0] = "Entry 0";<br />
$array3[1] = "Entry 1"; // Enter directly into index</p>
<p>?&gt;</code></p></blockquote>
<p>Another way to build an array, more or less indirectly, is to use php&#8217;s &#8220;explode();&#8221; function. This will take text with a defined delimiter and separate each set of data (at the delimiter) into its own index. For example, consider the following.</p>
<blockquote><p><code>&lt;?php<br />
$string = "This is a string where we will, use commas, for delimiting the text and to, split this into an, array!";<br />
$array = explode(",",$string);<br />
print "Original: ".$string."&lt;br /&gt;&lt;pre&gt;Array: ";<br />
print_r($array);<br />
print "&lt;/pre&gt;";<br />
?&gt;</code></p></blockquote>
<p>To call these defined arrays we would use $array[INDEX]. Now, there are many ways to access this data and filter it. Let&#8217;s begin by calling one value from an array.</p>
<blockquote><p><code>&lt;?php<br />
$array = ("Entry 0","Use this text","Entry 2","Entry 3","This text isn't being called either");<br />
print $array[1];<br />
?&gt;</code></p></blockquote>
<p>The script above with print &#8220;Use this text&#8221; because it is in the array at the index value 1. It is important to remember that indexes start at 0 unless defined otherwise. Now, we&#8217;ll explain some more intricate ways of getting all your values. The first way is iteration using the &#8220;for();&#8221; loop. Here goes:</p>
<blockquote><p><code>&lt;?php<br />
$array = ("Test","Test2","Word3","Keep 'em coming!","white space next <img src='http://microsonic.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ","","No need for that","We &lt;3 trim");</p>
<p>// Iterate.<br />
for($i=0;$i&lt;count($array);$i++){<br />
  print $i.") ".$array[$i]."&lt;br /&gt;";<br />
}<br />
?&gt;</code></p></blockquote>
<p>Now this will just result similarly to the foreach(); which I am about to explain. However, sometimes iteration is more effective than foreach(); because it gives you more liberty. Most of the time I would recommend iteration for multi-dimensional arrays (arrays within arrays and so on), but usually two different ones. For example:</p>
<blockquote><p><code>&lt;?php<br />
$array = array(array("Array in index","number 0"),array("Array in index","number 2"));</p>
<p>for($i=0;$i&lt;count($array);$i++){<br />
  // Now, let's get our multidimensional values! <img src='http://microsonic.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
  for($ii=0;$ii&lt;count($array);$ii++){<br />
    print "[".$i."][".$ii."]: ".$array[$i][$ii]."&lt;br /&gt;";<br />
  }<br />
}<br />
?&gt;</code></p></blockquote>
<p>Now, that will grab all the data within the arrays within the arrays. Wow, sounds confusing, but once you get a better grasp, it&#8217;s really quite simple, but I cannot lie; it all seems very daunting at first. Now we&#8217;ll explain the foreach(); function. This function basically does what we just did manually, but sometimes is easier and more effective. A lot of times, you will use the two in conjunction (even if for different purposes), so become friendly with both of them!</p>
<blockquote><p><code>&lt;?php<br />
$array = array(<br />
          0 =&gt; "Entry 0",<br />
          1 =&gt; "Another entry",<br />
          2 =&gt; "Again...",<br />
          3 =&gt; "And finally <img src='http://microsonic.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> "<br />
     );</p>
<p>foreach($array as $key =&gt; $value){<br />
  print "Key/Index: ".$key.": ".$value."&lt;br /&gt;";<br />
}<br />
?&gt;</code></p></blockquote>
<p>From the code above, you can see that the foreach(); function has accomplished the same feat we did earlier with iteration. On a simple array such as this, it would be best to use foreach, but like I said: it may be necessary at times to use iteration.</p>
<p>As I mentioned earlier, both can be used in conjunction. Just a quick example (we won&#8217;t go through the actual coding of it) is if you have a multi-dimensional array where you feel the need to use foreach, you can use foreach($var[$i] as $key => $val){} and work it that way.</p>
<p>So all in all, everything boils down to: love iteration, love foreach(); on the programming languages it&#8217;s available, and above all LOVE arrays! They are right next to regex in the developer&#8217;s &#8220;most useful tools&#8221; section of his or her tool belt!</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/06/24/understanding-arrays-and-how-to-use-them/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP vs Ruby on Rails (RoR)</title>
		<link>http://microsonic.org/2009/06/02/php-vs-ruby-on-rails-ror/</link>
		<comments>http://microsonic.org/2009/06/02/php-vs-ruby-on-rails-ror/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:00:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software Reviews]]></category>
		<category><![CDATA[on]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=165</guid>
		<description><![CDATA[Well people have been asking me lately about this Ruby on Rails (RoR). I often receive questions such as &#8220;What is RoR?&#8221; or &#8220;Is it better than PHP?&#8221;. Well, Ruby on Rails is another web programming language, but is not widely compatible across all web servers, but is increasingly becoming so. Personally, I am more [...]]]></description>
			<content:encoded><![CDATA[<p>Well people have been asking me lately about this Ruby on Rails (RoR). I often receive questions such as &#8220;What is RoR?&#8221; or &#8220;Is it better than PHP?&#8221;. Well, Ruby on Rails is another web programming language, but is not widely compatible across all web servers, but is increasingly becoming so. Personally, I am more of an advocate to PHP, but we&#8217;ll try to get the facts straightened out.</p>
<p>To begin, I&#8217;m going to assume everyone knows the basics of PHP. It&#8217;s fast, efficient, integrated with the webserver, etc. But for those of you completely unfamiliar with Ruby on Rails it is made by the &#8220;Ruby Core Team&#8221; (of the Ruby Programming Language). The format of the language is similar to Python if any are familiar with that. Ruby generally runs on its own server, separate from the general webserver-to my experience anyway.</p>
<p>So now that we have the basics down about each let&#8217;s go over the weak points in each and strong points. We will begin with the weak points to Ruby on Rails. Since it runs on it&#8217;s own server, it makes it more difficult to readily integrate with a site: obviously. Also, for those of us who prefer the nice C/C++ style programming, you can forget it with RoR. You will definitely end up using &#8220;end&#8221; much more than you would care to admit with this language. Compatibility across servers is more or less low. Most servers do not provide the RoR service, so that is also a downfall of RoR.</p>
<p>Likewise, PHP also has its faults. Since the language is so widely used and installed on practically every serer on the web, it allows for more holes to be more easily and quickly found. This means more frequent updates (which could be good if it does not become a nuisance) and since it is integrated with the web server, that also means long patch times. Depending on how you have setup PHP, you may even have to recompile the webserver. Normally it doesn&#8217;t cause a great problem for most servers because the old version doesn&#8217;t remove until the new version is finished compiling, but it greatly increases server load. For webhosts, this could cause a problem because this means that they have to go down for more server maintenance time. Also, unfortunately for PHP, every time one wants to add a new feature (example add ziplink support or something) they would have to recompile PHP.</p>
<p>Although both have their faults, both also have very strong points. Again, we&#8217;ll begin with RoR. RoR, again, since it&#8217;s not integrated means little downtime if it needs to be updated. Also, it is similar to Perl in the respect that it can download modules quickly and easily. Ruby, growing more popular, also is easier for users who are entering programming. It definitely scores an A+ on the entry level programming language level and pretty powerful with simple code.</p>
<p>PHP, on the otherhand, though a little more complex has its key aspects. There is mass compatibility with PHP. As mentioned earlier, pretty much every server on the web is PHP enabled. It has become the web standard over the years. Another benefit, since most open source software is programmed in PHP, is one who knows it can make their own program modifications and customizations to most open source programs. Above all, the support over the web is great because users all over the web have a deep understanding and knowledge of the language and are willing to offer free help on forums all over the web.</p>
<p>So all in all, both languages have their ups and downs. Ultimately, it is your choice to decide which you would rather learn/install on your server. Peronsally, I would go with PHP simply because it&#8217;s more available and there is a greater user base to help you. If you are looking for custom projects to be made, it may also be much easier to find a programmer to do work for you if you&#8217;re looking for PHP. But if you have never looked at programming before and cannot seem to grasp the concepts of PHP, Ruby may be a good alternative to start learning how programming should look and feel.</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/06/02/php-vs-ruby-on-rails-ror/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Some Topic Ideas!</title>
		<link>http://microsonic.org/2009/05/23/some-topic-ideas/</link>
		<comments>http://microsonic.org/2009/05/23/some-topic-ideas/#comments</comments>
		<pubDate>Sat, 23 May 2009 22:22:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpld]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=159</guid>
		<description><![CDATA[Hey guys, sorry for the long delay in updates, I&#8217;ve been taking topic ideas. None have quite struck my fancy (so to speak) where I feel they would make some great discussion topics. So please, send me some suggestions via email (dennis [at] microsonic [dot] org)! If I don&#8217;t get any great ones in the [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys, sorry for the long delay in updates, I&#8217;ve been taking topic ideas. None have quite struck my fancy (so to speak) where I feel they would make some great discussion topics. So please, send me some suggestions via email (dennis [at] microsonic [dot] org)! If I don&#8217;t get any great ones in the next day or so (well, either way really), I&#8217;ll be posting my &#8220;Deep Links Mod&#8221; for phpLD 2.x.x. Since there already is a great working one for phpLD 3.x.x, I will be releasing the one I wrote for a recent project I just finished up!</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/05/23/some-topic-ideas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the Internet as a Revenue Generator</title>
		<link>http://microsonic.org/2009/05/18/using-the-internet-as-a-revenue-generator/</link>
		<comments>http://microsonic.org/2009/05/18/using-the-internet-as-a-revenue-generator/#comments</comments>
		<pubDate>Mon, 18 May 2009 23:03:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[cash]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[generate]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[revenue]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=157</guid>
		<description><![CDATA[So I get many inquiries about how to make money on the web. Obviously, my first (and instinctive) response is to say, &#8220;Oh, it&#8217;s easy! Just develop.&#8221; But then, when I come down from cloud nine, I realize that not everyone is a developer (thus the reason I have work). Yes, anyone can certainly do [...]]]></description>
			<content:encoded><![CDATA[<p>So I get many inquiries about how to make money on the web. Obviously, my first (and instinctive) response is to say, &#8220;Oh, it&#8217;s easy! Just develop.&#8221; But then, when I come down from cloud nine, I realize that not everyone is a developer (thus the reason I have work). Yes, anyone can certainly do it, but it is a skill acquired over a long period of time to get really good at. So what can the &#8220;average joe&#8221; do to make money on the web?</p>
<p>Well, really, there are many things users can do. With the recent boom of open source programs (and if you&#8217;re willing to invest, the paid programs normally are worth the extra bucks) you can open all different sorts of sites. If you&#8217;re not selling any particular product, you have to make your site appeal to the masses. The name of the game is <strong>traffic</strong>. It is the most important aspect to any successful site on the web. With no users, there is no revenue.</p>
<p>Let me explain. I write this blog to help people, however, I have ads. Now, they do not generate much money for me (hardly anything really), but for a site with major traffic (like myspace or facebook), these ads are generating thousands per month. The more traffic you receive, the greater than chance your ads will be clicked. The more clicks they receive, the more money you earn. That&#8217;s the basis to internet revenue if you&#8217;re not selling something.</p>
<p>Now, there are many great kinds of sites. Blogs are useful if you have unique content. Directories are nice if you can get your PR (Google Pagerank) up high (do this with backlinks).  But among the most effective traffic generators (not to mention the most CPU intensive and generally require a dedicated server of Virtual Private Server) are web proxies. People love these, so load these with ads and allow more or less unrestricted web access and you will probably be getting a nice chunk of change in return.</p>
<p>So I&#8217;ve been mainly discussing Google adsense and generally ad generating services, but do not forget keeping stats on your own (awstats is pretty good) is an always valuable technique. If you have proof (like the awstats page) of high traffic, you can sell ads directly to interested users. Say you have 1 million unique hits a month, you can sell a top banner ad for $X,XXX per month or more.</p>
<p>As I mentioned before, traffic is the name of the game. It bears repeating because it is the only reason for internet web site success, on all levels. Whether you are selling a product or just serving free content with some ads, the more users you get, the more products you will sell or ad clicks you will get. This means, however, you must invest time and money into advertising yourself to get your site known.</p>
<p>For those of you who would like to claim that advertising doesn&#8217;t really work, I challenge you to then explain to me what companies have the best sell quantities. The most heavily advertised businesses are simply among the most profitable due to the advertising and offering a (in most cases: fairly) decent product. So get out there, make sure your site is presentable, and get to advertising!</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/05/18/using-the-internet-as-a-revenue-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The For(); Loop</title>
		<link>http://microsonic.org/2009/05/13/the-for-loop/</link>
		<comments>http://microsonic.org/2009/05/13/the-for-loop/#comments</comments>
		<pubDate>Thu, 14 May 2009 02:54:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[cplusplus]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://microsonic.org/?p=148</guid>
		<description><![CDATA[Many new programmers are perplexed by the &#8220;for&#8221; loop. However, it is one of the most essential and powerful tools in any developer&#8217;s arsenal. Without it, efficient and clean programming would not be as possible. Early on, most developers seem to stick to the while(); loop. I mean sure, while(); is great for some things, [...]]]></description>
			<content:encoded><![CDATA[<p>Many new programmers are perplexed by the &#8220;for&#8221; loop. However, it is one of the most essential and powerful tools in any developer&#8217;s arsenal. Without it, efficient and clean programming would not be as possible. Early on, most developers seem to stick to the while(); loop. I mean sure, while(); is great for some things, but may not exist in some programming languages and not to mention won&#8217;t work for everything you need.</p>
<p>Let&#8217;s begin by going into the basics about the for(); loop. Well really, a lot depends on the programming language (I will provide both PHP and C++ examples in the source file). But more or less, the for(); loop is simply iteration. It will run until its defined limit is hit providing whatever results you wish. We&#8217;re going to do this in more standard languages (e.g.: C/C++ and Java) instead of PHP for mass compatibility. Just note, if you&#8217;re looking to do this for php, you do not need to define the type of variable, and your variable will just start with the &#8220;$&#8221; symbol. So for example, PHP would be for($i=0;&#8230;;&#8230;){}. </p>
<p>Now we&#8217;re going to write a sample program and break it down:</p>
<blockquote><p><code>for(int i=0;i&lt;=5;i++){<br />
  std::cout&lt;&lt; "This is line number "&lt;&lt; i &lt;&lt; std::endl;<br />
}</code></p></blockquote>
<p>Now as most of you may have noticed, this is a C++ example, but will effectively explain how the loop works for ALL programming languages!</p>
<p><strong>int i=0;</strong> &#8211; This simply defines the variable and starting place (0 in this case). In PHP you would simply use $i=0; and so on for the rest of the statements.<br />
<strong>i<=5</strong> &#8211; This tells the loop when to stop (This <em><=</em> symbol means less than or equal to). When i>5, the loop will stop and proceed on to the rest of the code.<br />
<strong>i++</strong> &#8211; This tells what the loop should do after every time it is run. In this case, we&#8217;re using i++ which means to add 1 each time around.</p>
<p>Now those are the basics to the loop. What lies within is just simply the code to be executed, which could of course have conditionals and such within it as well (e.g.: if(), etc.). So now we&#8217;ll move on to a more complex example.</p>
<blockquote><p><code>unsigned int choices=5;<br />
char* choice = new char[choices];<br />
for(int i=0;i&lt;=choices;i++){<br />
  std::cout&lt;&lt;"Please enter a value: ";<br />
  std::cin&gt;&gt;choice[i];</p>
<p>  if(!choice[i]){<br />
    std::cout&lt;&lt;"No value for choice "&lt;&lt; i&lt;&lt; std::endl;<br />
  }<br />
}<br />
for(int i=0;i&lt;=choices;i++){<br />
  std::cout&lt;&lt;"Choice "&lt;&lt; i&lt;&lt;" was "&lt;&lt; choice[i] &lt;&lt; std::endl;<br />
}</code></p></blockquote>
<p>This will store an array of choices and then after entering them, they will be printed back!</p>
<p>In the source below, all working examples will be provided!<br />
<a href='http://microsonic.org/2009/05/13/the-for-loop/for_loop-tutorialtar/' rel='attachment wp-att-149'>For(); Loop Tutorial</a></p>
<p>So, that basically wraps everything up! If you need anymore clarification, just let me know.</p>
<p>Regards,<br />
Dennis M.</p>
]]></content:encoded>
			<wfw:commentRss>http://microsonic.org/2009/05/13/the-for-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
