<?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>x-pose.org &#187; php</title>
	<atom:link href="http://x-pose.org/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://x-pose.org</link>
	<description>Techy, SEO, PHP Kinda Stuff</description>
	<lastBuildDate>Wed, 25 Aug 2010 21:09:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web Developers, You&#8217;re Not Alone</title>
		<link>http://x-pose.org/2010/06/web-developers-youre-not-alone/</link>
		<comments>http://x-pose.org/2010/06/web-developers-youre-not-alone/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 18:13:51 +0000</pubDate>
		<dc:creator>brant</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[help]]></category>

		<guid isPermaLink="false">http://x-pose.org/?p=193</guid>
		<description><![CDATA[Web developers who plan to work alone, or are already doing so have a lot of obstacles to overcome.  One of which is being isolated and having no like-minded professionals to turn to for advice and feedback.   I know this one all too well and have been working alone  for the past 5+ years on various [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Web developers who plan to work alone, or are already doing so have a lot of obstacles to overcome.  One of which is being isolated and having no like-minded professionals to turn to for advice and feedback.   I know this one all too well and have been working alone  for the past 5+ years on various projects.  My current project, <a href="http://www.fantasysp.com/" target="_blank">FantasySP</a>, has been extremely challenging and rewarding at the same time.  Reinventing how people manage their fantasy sports teams can be quite a challenge.</p>
<p>Smashing magazine wrote a great article <a href="http://www.smashingmagazine.com/2010/06/27/dont-do-it-alone" target="_blank">detailing why you should not be working alone</a>.  However, some of us have no choice but to work alone. It could be that you are doing a solo project that no one believes in, or you simply do not have enough funding to get anyone else on board.  Fear not, this article will show you where to go to get some helpful feedback.</p>
<ol>
<li><a href="http://stackoverflow.com/" target="_blank">Stack Overflow</a><br />
This is my personal favorite for websites to turn to when you are stuck in a bind.  As a developer on your own you will eventually run into programming problems that you need to get some outside advice on.  Whether it be a MySQL scalability issue or how to parse JSON in PHP.  You are free to post about whatever problem you are having, even newbie questions are often given great responses.  Questions are mostly geared towards programing, but can occasionally touch on server configuration or just plain old HTML questions.</p>
<p>Best part about the site?  The community is friendly, extremely knowledgeable, and eager to help.  I&#8217;ve asked questions on that site that directly and indirectly led to answers.  I can&#8217;t say enough good things about this site and suggest anyone who is involved in coding to sign up and participate.   You&#8217;ll feel compelled to help others and try to be the first one to get selected as &#8220;Best Answer&#8221; to rack up points.</li>
<li><a href="http://forrst.com" target="_blank">Forrst</a><br />
Forrst is a site that can be used for networking with like-minded individuals and provide a spot to ask a wide range of questions that usually don&#8217;t pop up on Stack Overflow.  This site isn&#8217;t specifically limited to questions.  You have the option to post code snippets, screenshots of projects, to gain feedback.  You can even post useful links that you think can be beneficial to others.  Your posts can be private or made public, it&#8217;s completely up to you.</p>
<p>If you are looking for feedback on a blog layout, design mockups, or coding then Forrst can be a great spot to check out.  I do not have much experience here, but from what I&#8217;ve seen thus far the community seems helpful and eager to help.  Getting started on Forrst you may feel a bit isolated, since it has a social aspect to it.  The site requires you to apply for it, but after waiting a week or so then you will recieve your invite code in your mail.  However, if you are helpful and engaged in the site then you should gain quite a few followers and get the feedback your looking for.</li>
<li><a href="http://www.dribbble.com" target="_blank">Dribbble</a><br />
Dribbble&#8217;s sole focus is to post your designs and try to gain feedback from it&#8217;s userbase.  The site is invite only and is fairly difficult to become a member of without getting lucky or knowing someone already on the site.  I am not a member of Dribbble, but a designer friend is and told me the site is less about feedback and more about showing off your awesomeness.  Egos abound.</p>
<p>So should Dribbble be on this list of helpful sites?  Yes and no. It&#8217;s still a great spot to post your designs and get feedback, but if you aren&#8217;t up to par then expect to hear about it.  That isn&#8217;t necessarily a bad thing if you are a pro, but amateurs beware.</li>
<li><a href="http://www.webhostingtalk.com/" target="_blank">Web Hosting Talk</a><br />
Here we have a throwback site that you probably heard of.  Unlike the other sites mention, this is a forum and is geared towards web hosting questions.  Being a developer on your own means making web hosting decisions as well, so this site is a must to learn which places to avoid.</p>
<p>It may not look the best, but the forum is loaded with people who have lots of experience with multiple web hosts and it even has employees from dozens of hosting companies.  Ask your questions about domain registrars, VPS&#8217;s, cPanel, or Plesk and you&#8217;ll get lots of great feedback</li>
<li><a href="http://www.webmasterworld.com/" target="_blank">Webmasterworld</a>
<p style="text-align: left;">Another blast from the past, webmasterworld is the place to go for questions related to your server and SEO.  This is a fantastic place to go to learn about harmful webbots that should be blocked and the latest rumors/news about search engines.  Users on this site are anonymous, and for good reason.</p>
<p style="text-align: left;">This site is about  asking questions that you probably wouldn&#8217;t ask elsewhere.  For example, if you plan to partake in questionable practices such as <a href="http://en.wikipedia.org/wiki/Cloaking" target="_blank">cloaking content for Googlebot</a>.  The community is helpful and there is a large mix of newbies and experts on the topic of SEO.</p>
<p>This list is far from perfect and I have a feeling I&#8217;ve missed quite a few useful sites.  Be sure and leave comments to other helpful websites to go to for feedback.</li>
</ol>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://x-pose.org/2010/06/web-developers-youre-not-alone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery vs Prototype, a newbies perspective</title>
		<link>http://x-pose.org/2010/04/jquery-vs-prototype-a-newbies-perspective/</link>
		<comments>http://x-pose.org/2010/04/jquery-vs-prototype-a-newbies-perspective/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:43:27 +0000</pubDate>
		<dc:creator>brant</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://x-pose.org/?p=154</guid>
		<description><![CDATA[When I first started to dabble with javascript and ajax, Prototype was the only game in town that was making any headlines.  So of course I used prototype with script.aculo.us .  I was able to make some simple stuff, but my coding with Prototype wasn&#8217;t very elegant and it certainly wasn&#8217;t the best way to code [...]


Related posts:<ol><li><a href='http://x-pose.org/2010/04/jquery-1-3-autocomplete-the-newbie-guide/' rel='bookmark' title='Permanent Link: jQuery 1.3+ Autocomplete, The Newbie Guide'>jQuery 1.3+ Autocomplete, The Newbie Guide</a></li>
<li><a href='http://x-pose.org/2010/05/how-to-create-page-load-animations-using-jquery/' rel='bookmark' title='Permanent Link: How to Create Page Load Animations Using jQuery'>How to Create Page Load Animations Using jQuery</a></li>
<li><a href='http://x-pose.org/2010/06/web-developers-youre-not-alone/' rel='bookmark' title='Permanent Link: Web Developers, You&#8217;re Not Alone'>Web Developers, You&#8217;re Not Alone</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When I first started to dabble with javascript and ajax, <a href="http://www.prototypejs.org/" target="_blank">Prototype</a> was the only game in town that was making any headlines.  So of course I used prototype with <a href="http://script.aculo.us/" target="_blank">script.aculo.us</a> .  I was able to make some simple stuff, but my coding with Prototype wasn&#8217;t very elegant and it certainly wasn&#8217;t the best way to code things.  But you know what, I&#8217;m a javascript newbie and  it worked!</p>
<p>Over the last few years it seems like Prototype development has slowed down a lot, while <a href="http://www.jquery.com" target="_blank">jQuery </a>is making huge headway.  Every tutorial I see is using jQuery.  So I FINALLY decided to buy a book and learn it.  They are vastly different to say the least.  My prototype code had an awful lot of onclick=&#8221;" kinda stuff inside the HTML, while jQuery let&#8217;s your code appear more transparent and natural.  I love being able to pass my own variables using html attributes.</p>
<p>I went through a lot of WTF, why isn&#8217;t this working moments during my first attempts at coding using jQuery techniques.  However, overall I love jQuery.  Now my code is optimized, cleaner, and I feel as though I am not limited in what I want to do.  If I can dream it, I can code it with jQuery.  Not a small feat for someone like myself.</p>
<p>For example, with Prototype I simply didn&#8217;t know how to show a loading gif when an ajax command was in use.  It sounds simple and a lot of you are probably thinking what an idiot.  I turn to jQuery and my first attempt I find that it&#8217;s so simple to achieve.  Not only that but I can easily manipulate form values, check their validity,and pass them along with no problem at all.</p>
<p>To learn jQuery I completely rewrote all of my javascript code for <a href="http://www.fantasysp.com" target="_blank">FantasySP</a>.  It took me about 2 LONG weeks, but now I feel as though I can code just about anything I want.  My code is a mere 7kb in size now, compared to 49kb in Prototype.  I am actually making reusable functions now and you can too.</p>
<p>My only quibble with jQuery is that coding an advanced autocomplete function is a huge pain in the ass.  Prototype let me customize it from the backend (PHP), whereas jQuery forced me to use JSON and adding extra javascript code.</p>
<p>So for those of you who haven&#8217;t used a framework before, or are still using Prototype, give jQuery a try.  You won&#8217;t be disappointed.</p>


<p>Related posts:<ol><li><a href='http://x-pose.org/2010/04/jquery-1-3-autocomplete-the-newbie-guide/' rel='bookmark' title='Permanent Link: jQuery 1.3+ Autocomplete, The Newbie Guide'>jQuery 1.3+ Autocomplete, The Newbie Guide</a></li>
<li><a href='http://x-pose.org/2010/05/how-to-create-page-load-animations-using-jquery/' rel='bookmark' title='Permanent Link: How to Create Page Load Animations Using jQuery'>How to Create Page Load Animations Using jQuery</a></li>
<li><a href='http://x-pose.org/2010/06/web-developers-youre-not-alone/' rel='bookmark' title='Permanent Link: Web Developers, You&#8217;re Not Alone'>Web Developers, You&#8217;re Not Alone</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://x-pose.org/2010/04/jquery-vs-prototype-a-newbies-perspective/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to restart Apache with PHP</title>
		<link>http://x-pose.org/2010/01/how-to-restart-apache-with-php/</link>
		<comments>http://x-pose.org/2010/01/how-to-restart-apache-with-php/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 16:21:43 +0000</pubDate>
		<dc:creator>brant</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://x-pose.org/?p=10</guid>
		<description><![CDATA[If you ever need to restart Apache via PHP, you&#8217;ll notice that the &#8220;passthru&#8221; command doesn&#8217;t quite work out like you thought it would.  For those of you who have cpanel and WHM installed, this will be an easy solution.  cpanelmatt at the cpanel forums created an XML-API PHP class to be able to [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>If you ever need to restart Apache via PHP, you&#8217;ll notice that the &#8220;passthru&#8221; command doesn&#8217;t quite work out like you thought it would.  For those of you who have cpanel and WHM installed, this will be an easy solution.  <a href="http://forums.cpanel.net/f42/xml-api-php-class-version-1-0-a-136449.html" target="_blank">cpanelmatt at the cpanel forums</a> created an XML-API PHP class to be able to handle situations like this.</p>
<p>First download the <a href="http://sdk.cpanel.net/utils/xmlapi_php_v1.0.tar.gz" target="_blank">XML-API PHP class</a>.</p>
<p>Next, follow the code example below:</p>
<pre name="code" class="php">include("xmlapi.php");

$ip = "127.0.0.1";
$root_pass = "somepass";

$xmlapi = new xmlapi($ip);
$xmlapi-&gt;password_auth("root",$root_pass);

$xmlapi-&gt;set_debug(1);

print $xmlapi-&gt;restartsrv('httpd');</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://x-pose.org/2010/01/how-to-restart-apache-with-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
