<?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>Juixe Techknow &#187; PHP</title>
	<atom:link href="http://juixe.com/techknow/index.php/category/techknow/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://juixe.com/techknow</link>
	<description>Break Coders Block!</description>
	<lastBuildDate>Mon, 21 May 2012 16:01:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Top 25 Most Dangerous Programming Errors</title>
		<link>http://juixe.com/techknow/index.php/2010/03/30/top-25-most-dangerous-programming-errors/</link>
		<comments>http://juixe.com/techknow/index.php/2010/03/30/top-25-most-dangerous-programming-errors/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 19:36:19 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[TechKnow]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[homeland]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[webapp]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://juixe.com/techknow/?p=1022</guid>
		<description><![CDATA[I&#8217;ve always been interested in understanding common programming errors so that I can easily recognize and diagnose problems, hopefully without spending hours staring at my breakpoints in my debugger. Previously, I&#8217;ve written on Common Groovy Errors and Top Worse Java Errors. The US Department of Homeland Security, under the Common Weakness Enumeration initiative put out [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been interested in understanding common programming errors so that I can easily recognize and diagnose problems, hopefully without spending hours staring at my breakpoints in my debugger.  Previously, I&#8217;ve written on <a href="http://juixe.com/techknow/index.php/2006/06/11/common-groovy-errors/">Common Groovy Errors</a> and <a href="http://juixe.com/techknow/index.php/2010/03/08/top-worst-java-errors/">Top Worse Java Errors</a>.</p>
<p>The US Department of Homeland Security, under the Common Weakness Enumeration initiative put out the <a href="http://cwe.mitre.org/top25/#Brief">2010 CWE/SANS Top 25 Most Dangerous Programming Errors</a>.  Most of the errors noted related to web application security programming errors.</p>
<ul>
<li>Failure to Preserve Web Page Structure (&#8216;Cross-site Scripting&#8217;)</li>
<li>Improper Sanitization of Special Elements used in an SQL Command (&#8216;SQL Injection&#8217;)</li>
<li>Buffer Copy without Checking Size of Input (&#8216;Classic Buffer Overflow&#8217;)</li>
<li>Cross-Site Request Forgery (CSRF)</li>
<li>Improper Access Control (Authorization)</li>
<li>Reliance on Untrusted Inputs in a Security Decision</li>
<li>Improper Limitation of a Pathname to a Restricted Directory (&#8216;Path Traversal&#8217;)</li>
<li>Unrestricted Upload of File with Dangerous Type</li>
<li>Improper Sanitization of Special Elements used in an OS Command (&#8216;OS Command Injection&#8217;)</li>
<li>Missing Encryption of Sensitive Data</li>
<li>Use of Hard-coded Credentials</li>
<li>Buffer Access with Incorrect Length Value</li>
<li>Improper Control of Filename for Include/Require Statement in PHP Program (&#8216;PHP File Inclusion&#8217;)</li>
<li>Improper Validation of Array Index</li>
<li>Improper Check for Unusual or Exceptional Conditions</li>
<li>Information Exposure Through an Error Message</li>
<li>Integer Overflow or Wraparound</li>
<li>Incorrect Calculation of Buffer Size</li>
<li>Missing Authentication for Critical Function</li>
<li>Download of Code Without Integrity Check</li>
<li>Incorrect Permission Assignment for Critical Resource</li>
<li>Allocation of Resources Without Limits or Throttling</li>
<li>URL Redirection to Untrusted Site (&#8216;Open Redirect&#8217;)</li>
<li>Use of a Broken or Risky Cryptographic Algorithm</li>
<li>Race Condition</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2010/03/30/top-25-most-dangerous-programming-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google IO: Open Social</title>
		<link>http://juixe.com/techknow/index.php/2008/06/15/google-io-open-social/</link>
		<comments>http://juixe.com/techknow/index.php/2008/06/15/google-io-open-social/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 16:47:52 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2008/06/15/google-io-open-social/</guid>
		<description><![CDATA[I many 10-5 developers not working directly with ajaxified web 2.0 applications I was not able to go to the Google I/O conference. I don&#8217;t feel so bad not going since Google has just released video recordings of over 70+ technical presentations from Google I/0. Most of the technical presentations are pushing Google&#8217;s APIs such [...]]]></description>
			<content:encoded><![CDATA[<p>I many 10-5 developers not working directly with ajaxified web 2.0 applications I was not able to go to the <a href="http://code.google.com/events/io/">Google I/O</a> conference.  I don&#8217;t feel so bad not going since Google has just released video recordings of over <a href="http://sites.google.com/site/io/">70+ technical presentations</a> from Google I/0.  Most of the technical presentations are pushing Google&#8217;s APIs such as Android, Google App Engine, GWT, and Open Social.</p>
<p>As an aid for myself, and maybe other Open Social developers, I have organized the pertinent Open Social presentations as follows&#8230;</p>
<p><b>Meet the OpenSocial Containers</b><br />
Representatives from current OpenSocial containers give an overview of their implementations, policies, and what&#8217;s unique about their container. They also share some of the fruits of their labors including high level stats. Team members from upcoming containers review their planned launches, policies, and timelines.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Rt_ELFiOt38&#038;hl=en"></param><embed src="http://www.youtube.com/v/Rt_ELFiOt38&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object><br />
<span id="more-478"></span><br />
<b>Apache Shindig: Make your Social Site an OpenSocial Container</b><br />
Shindig is a new project in the Apache Software Foundation incubator and is an open source implementation of the OpenSocial specification and gadgets specification in multiple programming languages. The goal of Shindig is to make it easy for social sites to extend their functionality using the OpenSocial API, which makes it easier for developers to write to write those extensions.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ZcWszaReqXI&#038;hl=en"></param><embed src="http://www.youtube.com/v/ZcWszaReqXI&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>Building on the Promise of OpenSocial</b><br />
The goal of OpenSocial is to provide a framework for developers to build their applications once and run them in multiple social networks. To do this effectively, you need to architect your system to properly segment data and accommodate differences in networks, all while still maintaining a common code base. How do you scale this architecture out to multiple applications? Jeremiah Robison, CTO of Slide, will outline best practices for delivering multiple applications on multiple OpenSocial containers.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/OWVVrJqScO0&#038;hl=en"></param><embed src="http://www.youtube.com/v/OWVVrJqScO0&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>OpenSocial &#8211; Scaling and Analytics, Nuts &#038; Bolts</b><br />
iLike uses Ruby on Rails and a core &#8220;user&#8221;, &#8220;fan&#8221; and &#8220;music&#8221; metadata infrastructure to drive iLike services on it&#8217;s own site and on Facebook, OpenSocial, the iLike Sidebar for iTunes and Windows Media Player, and other UI projections across the web. Nat will give an overview of iLike’s infrastructure and the places they have invested to make the syndication and projection that are central to Web 2.5/3.0 world quick and easy, with a focus on social gadgets. He&#8217;ll also discuss the role of analytics and A/B testing on user acquisition and customer satisfaction.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0HJF-PBoRhM&#038;hl=en"></param><embed src="http://www.youtube.com/v/0HJF-PBoRhM&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>OpenSocial Across Containers</b><br />
OpenSocial provides a common set of APIs that developers can learn in order to create applications that run on multiple social sites. However, since social sites vary widely in functionality, OpenSocial provides ways to extend the core APIs so containers can implement site-specific functionality.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/NGDjQGjK79A&#038;hl=en"></param><embed src="http://www.youtube.com/v/NGDjQGjK79A&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>OpenSocial, OpenID, and OAuth: Oh, My!</b><br />
A number of emerging technologies will soon collectively enable an open social web in which users control their information and it can flow between multiple sites and services. OpenID, OAuth, microformats, OpenSocial, the Social Graph API, friends-list portability, and more will be discussed, as well as a coherent vision for how the pieces fit together and how developers can start taking advantage of them now.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/6SYnlH5FXz0&#038;hl=en"></param><embed src="http://www.youtube.com/v/6SYnlH5FXz0&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>OpenSocial: A Standard for the Social Web</b><br />
OpenSocial is an open specification defining a common API that works on many different social websites, including MySpace, Plaxo, Hi5, Ning, orkut, Salesforce.com and LinkedIn, among others. This allows developers to learn one API, then write a social application for any of those sites: Learn once, write anywhere.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Ila8j1cvnWk&#038;hl=en"></param><embed src="http://www.youtube.com/v/Ila8j1cvnWk&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p><b>URLs are People Too &#8211; Using the Social Graph API to Build a Social Web</b><br />
Using email addresses to identify people has a problem &#8211; email addresses can be used to send, not receive. With the rise of blogs and social networks, millions of people are using URLs to refer to themselves and others. The Social Graph API indexes these sites and their connections, enabling this web-wide distributed social network to be used to make your sites better. Learn how XFN and FOAF express connections, how we index them, and how OpenID combines with The Social Graph API to help connect people on the web to your applications, and save your users from re-entering their friends over and over again.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/rg-FVDmgyP0&#038;hl=en"></param><embed src="http://www.youtube.com/v/rg-FVDmgyP0&#038;hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object></p>
<p>Technorati Tags: <a href="http://technorati.com/tag/google" rel="tag">google</a>, <a href="http://technorati.com/tag/open+social" rel="tag"> open social</a>, <a href="http://technorati.com/tag/social" rel="tag"> social</a>, <a href="http://technorati.com/tag/io" rel="tag"> io</a>, <a href="http://technorati.com/tag/java" rel="tag"> java</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2008/06/15/google-io-open-social/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Programming Books on Google Book Search</title>
		<link>http://juixe.com/techknow/index.php/2007/10/27/top-programming-books-on-google-book-search/</link>
		<comments>http://juixe.com/techknow/index.php/2007/10/27/top-programming-books-on-google-book-search/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 21:24:00 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[DotNET]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[TechKnow]]></category>
		<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/10/27/top-programming-books-on-google-book-search/</guid>
		<description><![CDATA[Here is an extensive list of top programming books available for preview on Google Books. Google Books provides scans of thousands of textbooks. The scans are not the best, most books have visible scan defects in them. Even though the scans are not the best, there are some features that just work well. Just like [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an extensive list of top programming books available for preview on <a href="http://books.google.com/">Google Books</a>.  Google Books provides scans of thousands of textbooks.  The scans are not the best, most books have visible scan defects in them.</p>
<p>Even though the scans are not the best, there are some features that just work well.  Just like Google Maps, where you can send a link to a map (with a set size, address, etc), with Google Books you can send a link to a specific page in a certain book with specific words highlighted.  Google also has handy links such as the table of contents, popular passages, and where to buy the book (perhaps in a better quality PDF format).</p>
<p>All the books listed here have a &#8216;limited preview&#8217;, meaning that some pages are not available for viewing but for the most part you can browse through most the the book.  Google Books does indicate the pages that are not available.</p>
<p><b>Java</b><br />
<a href="http://books.google.com/books?id=Ww1B9O_yVGsC&#038;pg=PP1&#038;sig=953iF6Q7wV19bm_Vztg8dWkEGWk#PPP1,M1">The Java Language Specification</a><br />
<a href="http://books.google.com/books?id=ZZOiqZQIbRMC&#038;pg=PA97&#038;sig=JgnunNhNb8MYDcx60Kq4IyHUC58#PPP1,M1">Effective Java Programming language</a><br />
<a href="http://books.google.com/books?id=saj_wnV2xXoC&#038;pg=PP1&#038;sig=vPSufLP4XqxCN3m03_5sXWJY7xo#PPP1,M1">Java: The complete Reference</a><br />
<a href="http://books.google.com/books?id=glmu7LSXqU0C&#038;pg=PA1&#038;sig=Df6QUfDFyzpO6mtT7rdiTTMD22w#PPP1,M1">Java In A Nutshell</a><br />
<a href="http://books.google.com/books?id=5VTBuvfZDyoC&#038;pg=PA1&#038;sig=qimFAU1gf5EgYpYgYonbo96YGcU#PPP1,M1">Head First Java</a></p>
<p><b>C/C++</b><br />
<a href="http://books.google.com/books?id=rGag6zvVtNEC&#038;pg=PA3&#038;sig=M5IwdN5cTvJ9kDkQTSIfw2jG1RQ#PPP1,M1">Practical C++ Programming</a><br />
<a href="http://books.google.com/books?id=l-8pGUDcYPcC&#038;pg=PT1&#038;sig=rEiKbMzJxbV5gTEimBDRRgDJnIk#PPP1,M1">C++ The Core Language</a><br />
<a href="http://books.google.com/books?id=ZDRBv8U_bJ0C&#038;pg=PA1&#038;sig=jPU-xKO6csH3vCZ5XEAuKM6LR40#PPP1,M1">The Concurrent C Programming Language</a><br />
<a href="http://books.google.com/books?id=zuyAIZ9ZIskC&#038;pg=PA3&#038;sig=kmo7bDL3Kvvi7mFwxmwiXTFKyEo#PPP1,M1">C++ Primer Plus</a></p>
<p><b>.Net/C#</b><br />
<a href="http://books.google.com/books?id=6L1Rm031qCkC&#038;pg=PA429&#038;sig=AdVorCKUg0vh445JUPTfzJUQx-Q#PPP1,M1">The C# Programming Language</a><br />
<a href="http://books.google.com/books?id=ejzRTF2TL6UC&#038;pg=PA1&#038;as_brr=3&#038;sig=N-qwF_BiSMw5z_SgjFm8DTHeuNs#PPP1,M1">The Visual Basic .NET Programming Language</a><br />
<a href="http://books.google.com/books?id=Dy-ro5dFp5MC&#038;pg=PA7&#038;sig=BpqzGh-4zlPmMh3hSVHolEH_Ouw#PPP1,M1">Pro C# 2005 and the .NET 2.0 Platform</a><br />
<a href="http://books.google.com/books?id=wJ8pe3PEKlcC&#038;pg=PA1&#038;sig=_bEz42vOeauQBNGWUUUE0FfCEyo#PPP1,M1">Learning Visual Basic .NET</a><br />
<a href="http://books.google.com/books?id=Hp7sphigGE4C&#038;pg=PA3&#038;sig=uUjIqtexNetzkPGssF-wC7feYWg#PPP1,M1">VB.NET Language in a Nutshell</a></p>
<p><b>Python</b><br />
<a href="http://books.google.com/books?id=vpTAq4dnmuAC&#038;pg=RA1-PA3&#038;sig=NAJEOY-V87i2QGS4PSED58piqOY#PPR1,M1">Python in a Nutshell</a><br />
<a href="http://books.google.com/books?id=nEJ-jcYF2fMC&#038;pg=PA3&#038;sig=XsdyvvUW98yTCPLhtqW0fcfe0UI#PPP1,M1">Learning Python</a><br />
<a href="http://books.google.com/books?id=carqdIdfVlYC&#038;pg=PP1&#038;sig=yFz8GPncmysGUC93XO84wjBOO5E">Visual Quickstart Guide: Python</a><br />
<a href="http://books.google.com/books?id=9M09XOt_XPkC&#038;pg=PP1&#038;sig=gwIJDUNSVu7a_QpQ_zUFJbuR5yM#PPP1,M1">Python Pocket Reference</a><br />
<a href="http://books.google.com/books?id=1Shx_VXS6ioC&#038;pg=PA1&#038;sig=JaVnlZj1okM476FSL2IlqUB9eHA#PPP1,M1">Python Cookbook</a></p>
<p><b>JavaScript/DOM</b><br />
<a href="http://books.google.com/books?id=VOS6IlCsuU4C&#038;pg=PA1&#038;sig=D1a6KJnK9GcRWiPYraMefoBLxJc#PPP1,M1">JavaScript: The Definitive Guide</a><br />
<a href="http://books.google.com/books?id=M3Uqna8RIAkC&#038;pg=PA1&#038;sig=Hy_3UcnHGz-vDkknoSLlPP8Yxzw#PPP1,M1">Beginning JavaScript with DOM Scripting and AJAX</a><br />
<a href="http://books.google.com/books?id=MrHaC5HAva8C&#038;pg=PA1&#038;sig=DILv5iQQecl844D8pY7yH8-e7c0#PPP1,M1">The Book of JavaScript</a><br />
<a href="http://books.google.com/books?id=CCCMiIUIokIC&#038;pg=PA1&#038;sig=2xYMzXhLuc0-RXh1Ne28GEs-3Co#PPP1,M1">The Complete Reference JavaScript</a><br />
<a href="http://books.google.com/books?id=tKszhx-XkzYC&#038;pg=PA3&#038;sig=C0CmkXRvTFeUuebUCe6qhvNZLE4#PPP1,M1">JavaScript Bible</a><br />
<a href="http://books.google.com/books?id=LBTQ83bAz6QC&#038;pg=PA4&#038;sig=1NHiVMPf7lbnDDHW6JexP9cHLng#PPP1,M1">DOM Scripting</a></p>
<p><b>Ruby/Rails</b><br />
<a href="http://books.google.com/books?id=6S8vZIUEq24C&#038;pg=PR9&#038;sig=gWRdao9oQaS8noglTj0xYzYgOeE#PPP1,M1">Ruby in a Nutshell</a><br />
<a href="http://books.google.com/books?id=ows9jTsyaaEC&#038;pg=PR14&#038;sig=rQUl3VDRUzNLT6Pzumr1LrD9Oqg#PPP1,M1">The Ruby Way</a><br />
<a href="http://books.google.com/books?id=RBUJZ-ma7voC&#038;pg=PA609&#038;sig=BbDU7gE5X6RF3lSU1UjMXSb6JlY#PPP1,M1">Beginning Ruby</a><br />
<a href="http://books.google.com/books?id=pUPX8joph10C&#038;pg=PP1&#038;sig=uXOsLcNneepQEpG1FdZjS9j1K6g#PPP1,M1">Ruby on Rails: Up and Running</a><br />
<a href="http://books.google.com/books?id=0MEn8moAsYQC&#038;pg=PA4&#038;sig=SbV6r0icmJ6FgKCD8z1toMByp1Q#PPP1,M1">Rails Solutions: Ruby on Rails Made Easy</a><br />
<a href="http://books.google.com/books?id=o0JuxK5_1esC&#038;pg=PA6&#038;sig=RKNZBS0EdyAYFbY69vP5Pyyc_uk#PPP1,M1">Beginning Ruby on Rails E-Commerce</a></p>
<p><b>PHP</b><br />
<a href="http://books.google.com/books?id=dm2_jgULbBUC&#038;pg=PA1&#038;sig=zXZoS-JpvJ2yb2o-bzufOZwhvwg#PPP1,M1">PHP in a Nutshell</a><br />
<a href="http://books.google.com/books?id=tywvv3ULal0C&#038;pg=PA7&#038;sig=VIk-wD6azTwW8GeyWCU_g2-pRAs#PPP1,M1">Programming PHP</a><br />
<a href="http://books.google.com/books?id=EPYLBqDWOeYC&#038;pg=PA1&#038;sig=FZoOgrJkS1ONimQCGc4EqCqbdg4#PPP1,M1">PHP Cookbook</a><br />
<a href="http://books.google.com/books?id=IpuT0GxHvAkC&#038;pg=PA1&#038;sig=KD6W9CxXGZHm5etSpyyxpUWssfg#PPP1,M1">Learning PHP and MySQL</a><br />
<a href="http://books.google.com/books?id=r0RzbTtX1VsC&#038;pg=PA1&#038;sig=zsd5JNbcqmB_SORKw-sIkFZHAS4#PPP1,M1">Learning PHP 5</a></p>
<p><b>Database</b><br />
<a href="http://books.google.com/books?id=WjIQh9bo7DoC&#038;pg=PP1&#038;sig=0XTTuLkBJQlX0MTsPUqThjLE8tk">Visual Quickstart Guide: MySQL</a><br />
<a href="http://books.google.com/books?id=aC3blgT3D3YC&#038;pg=PA1&#038;sig=DtVt1B9eNtIpc2OdJ2trEfaoAAM#PPP1,M1">MySQL Cookbook</a><br />
<a href="http://books.google.com/books?id=KnAxCTKIMiIC&#038;pg=PA1&#038;sig=s5wLE5YsOd5Vq6J589cvuPy7lGU#PPP1,M1">MySQL in a Nutshell</a><br />
<a href="http://books.google.com/books?id=uTafONiZmEIC&#038;pg=PA1&#038;sig=bFEMJqXZl9G7ECqv9_OMgD_Ib2I#PPP1,M1">MySQL Tutorial</a><br />
<a href="http://books.google.com/books?id=-FHhNVmXALkC&#038;pg=PA4&#038;sig=FA3sEZjlH7vQtp4rGhCKk5crB3s#PPP1,M1">Programming SQL Server 2005</a><br />
<a href="http://books.google.com/books?id=9zkXLY9U88UC&#038;pg=PA2&#038;sig=p1b798ZMhpp6nXOgIbscHjndtjM#PPP1,M1">SQL Server 2005: Developer&#8217;s Guide</a><br />
<a href="http://books.google.com/books?id=_8t73M1r71sC&#038;pg=PA3&#038;sig=o8pPJbvjaifrNZMnY26VMSlB6Jw#PPP1,M1">SQL Server 2005: A Beginner&#8217;s Guide</a><br />
<a href="http://books.google.com/books?id=B83dXtOATAQC&#038;pg=PA3&#038;sig=Ndon2Fh39Ma8XTInNK27_rFEBzE#PPP1,M1">Beginning SQL Server 2005 Express</a></p>
<p>Technorati Tags: <a href="http://technorati.com/tag/java" rel="tag">java</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/database" rel="tag"> database</a>, <a href="http://technorati.com/tag/programming" rel="tag"> programming</a>, <a href="http://technorati.com/tag/language" rel="tag"> language</a>, <a href="http://technorati.com/tag/.net" rel="tag"> .net</a>, <a href="http://technorati.com/tag/ruby" rel="tag"> ruby</a>, <a href="http://technorati.com/tag/rails" rel="tag"> rails</a>, <a href="http://technorati.com/tag/google" rel="tag"> google</a>, <a href="http://technorati.com/tag/book+search" rel="tag"> book search</a>, <a href="http://technorati.com/tag/dom" rel="tag"> dom</a>, <a href="http://technorati.com/tag/javascript" rel="tag"> javascript</a>, <a href="http://technorati.com/tag/python" rel="tag"> python</a>, <a href="http://technorati.com/tag/vb" rel="tag"> vb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/10/27/top-programming-books-on-google-book-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Run PHP Web Applications on the Java Platform</title>
		<link>http://juixe.com/techknow/index.php/2007/10/11/run-php-web-applications-on-the-java-platform/</link>
		<comments>http://juixe.com/techknow/index.php/2007/10/11/run-php-web-applications-on-the-java-platform/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 19:42:15 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/10/11/run-php-web-applications-on-the-java-platform/</guid>
		<description><![CDATA[There has been a lot of commotion and even a book with having Ruby on Rails run on the Java VM. But looking past the JRuby hype it is clear that PHP has a several orders of magnitude more open source code, projects, and corporate backing than Ruby on Rails. The folks behind the Resin [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a lot of commotion and even a book with having Ruby on Rails run on the Java VM.  But looking past the <a href="http://jruby.codehaus.org/">JRuby</a> hype it is clear that PHP has a several orders of magnitude more open source code, projects, and corporate backing than Ruby on Rails.  The folks behind the <a href="http://www.caucho.com/">Resin</a> application server have the ubiquitous of PHP and have developed <b>Quercus</b>, a PHP 5 implementation written in Java.</p>
<p>Quercus is available with the latest Resin but it is also available for download as a WAR file which can be deployed on Resin or other application Servers such as GlassFish.</p>
<h3>Getting Started</h3>
<p>Get the latest version of <a href="http://www.caucho.com/download/">Resin</a> server, as of this writing the latest version is Resin 3.1.3.  To start the server just run the &lt;INSTALL DIRECTORY&gt;\bin\httpd script from the command prompt.  If you look around the Resin install directory you will find a php folder where the Quercus WAR file is already configured to handle any PHP file.  To give the Quercus PHP engine a try, lets create a simple test.  First lets create phptest directory in &lt;INSTALL DIRECTORY&gt;\webapps.  In the phptest directory create a new file, index.php, and add the following text to it.</p>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;?php phpinfo(); ?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>The <a href="http://www.php.net/phpinfo">phpinfo</a> method outputs a large amount of PHP configuration information.  I usually print this information out to ensure that PHP is setup correctly.  If you have already started the Resin server you can direct your browser to the following URL: http://localhost:8080/phptest/</p>
<p>You should be looking at a screen that looks like the following screen shot.</p>
<p><img src='http://www.juixe.com/techknow/wp-content/uploads/2007/10/phpinfo.jpg' alt='phpinfo' /></p>
<h3>Mixing PHP with Java</h3>
<p>Since Quercus is written in Java there are hooks to import and mix Java classes in your PHP files.  Lets import a Java class and manipulate it in PHP.  In the next sample piece of code I will import a Java HashMap class and manipulated it PHP.  The import functionality is obviously not part of PHP but an extension made possible by Quercus.  .</p>
<p>&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;?php<br />
import java.util.HashMap;</p>
<p>$map = new HashMap();</p>
<p>// Add some name-value pairs<br />
$map->put(&#8216;california&#8217;, 1000);<br />
$map->put(&#8216;oregon&#8217;, 1200);</p>
<p>$total = 0;<br />
// Iterate over keys and sum values<br />
for($itr = $map->keySet()->iterator(); $itr->hasNext(); ) {<br />
	$key = $itr->next();<br />
	$total += $map->get($key);<br />
}<br />
print &#8220;Total $total&#8221;;</p>
<p>?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Once a Java class has been loaded it can be handled just like any other object in PHP.  In addition having access to JDK classes, you can import your own Java code.  You can import any class that is available in your web applications class loader.</p>
<h3>Run PHP Applications</h3>
<p>Using Quercus and Resin you can deploy full fledge PHP web applications such as WordPress or Joomla!  To get a PHP application running on Resin with Quercus you just need to unzip the application into the &lt;INSTALL DIRECTORY&gt;\webapps directory.  Since your PHP application would be running on top of Java you need to have the right JDBC dirver installed in the &lt;INSTALL DIRECTORY&gt;\lib directory.  This is usually all you have to do to have a PHP application to run on JSP/Servlet container like Resin.</p>
<p>There is a list of <a href="http://quercus.caucho.com/quercus-3.1/doc/quercus-list-of-applications.xtp">PHP applications</a> that are known to be running on Java via Quercus.</p>
<p>Quercus opens a lot of opportunities for PHP web development.  Now you don&#8217;t really have to choose between languages or frameworks, develop in what you know is best for the task and resources at hand and interoperate between PHP, Java, Ruby, Groovy whatever not at the XML level but at the bytecode.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/php" rel="tag">php</a>, <a href="http://technorati.com/tag/java" rel="tag"> java</a>, <a href="http://technorati.com/tag/jvm" rel="tag"> jvm</a>, <a href="http://technorati.com/tag/quercus" rel="tag"> quercus</a>, <a href="http://technorati.com/tag/jdk" rel="tag"> jdk</a>, <a href="http://technorati.com/tag/jruby" rel="tag"> jruby</a>, <a href="http://technorati.com/tag/ruby" rel="tag"> ruby</a>, <a href="http://technorati.com/tag/rails" rel="tag"> rails</a>, <a href="http://technorati.com/tag/rubyonrails" rel="tag"> rubyonrails</a>, <a href="http://technorati.com/tag/resin" rel="tag"> resin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/10/11/run-php-web-applications-on-the-java-platform/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>CommunityOne 2007: Up the Stack</title>
		<link>http://juixe.com/techknow/index.php/2007/05/27/up-the-stack/</link>
		<comments>http://juixe.com/techknow/index.php/2007/05/27/up-the-stack/#comments</comments>
		<pubDate>Sun, 27 May 2007 20:09:29 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/05/27/up-the-stack/</guid>
		<description><![CDATA[The last session of CommunityOne 2007 was titled Up the Stack. The main concern of this session was the whole software development stack, from the Operating System to the database and all the way to the web framework. For the most part, developers these days working on the next great Web 2.0 pay no heed [...]]]></description>
			<content:encoded><![CDATA[<p>The last session of CommunityOne 2007 was titled Up the Stack.  The main concern of this session was the whole software development stack, from the Operating System to the database and all the way to the web framework.  For the most part, developers these days working on the next great Web 2.0 pay no heed to limitations and strengths of the OS.</p>
<p>This session dealt with performance and profiling considerations spanning the whole stack from using <b>DTrace</b> on Solaris to using caching in your application.  Dtrace is dynamic tracing utility made available in Solaris that will help you discover bottlenecks in your application by analyzing the whole process.</p>
<p>Another session dealt with <a href="http://www.juixe.com/techknow/index.php/2007/05/16/getting-started-and-whats-new-in-glassfish-v2/">GlassFish</a>.  GlassFish is an enterprise ready <b>Java EE 5 Application Server</b> with easy management tools and clustering support.  GlassFish supports RIFE, Rails, Struts, Wicket and just about every other Java web application framework under the sun, no pun intended.</p>
<p><a href="http://www.juixe.com/techknow/index.php/2006/10/25/rubyconf-i18n-m17n-unicode-and-all-that/">Tim Bray</a> of Sun moved up the stack and talked about web technologies such as <b>PHP</b> and <b>Rails</b>.  Tim stated that PHP is easy to learn and quick to develop with.  PHP has a share nothing architecture that is great for scaling but is historically known for the tons of security holes, SQL injection, and cross-site scripting attacks.  Tim noted that some developers would trade the security of JEE for the speed of development of PHP to get first to market.  Tim also mentioned that Don&#8217;t Repeat Yourself, Convention Over Configuration and the expressiveness of Ruby while talking about Rails.  The Ruby programming language allows for Rapid Agile Development.  The big knock against Rails is its lack luster performance and it&#8217;s multi-headed mongrel deployment story.  PHP or Rails are a good solution for many of the CRUD applications that babysit a database.</p>
<p>The last session of the talked compared <a href="http://ehcache.sourceforge.net/">Ehcache</a> and <a href="http://www.danga.com/memcached/">memcached</a>.  Memchached is said to be used in LiveJournal and Slashdot as well as many Ruby on Rails applications.  Ehcache distributed peer-based caching in Java sync/async operations used in Spring and Hibernate.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/communityone" rel="tag">communityone</a>, <a href="http://technorati.com/tag/javaone" rel="tag"> javaone</a>, <a href="http://technorati.com/tag/javaone2007" rel="tag"> javaone2007</a>, <a href="http://technorati.com/tag/dtrace" rel="tag"> dtrace</a>, <a href="http://technorati.com/tag/solaris" rel="tag"> solaris</a>, <a href="http://technorati.com/tag/glassfish" rel="tag"> glassfish</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/rails" rel="tag"> rails</a>, <a href="http://technorati.com/tag/ror" rel="tag"> ror</a>, <a href="http://technorati.com/tag/memcached" rel="tag"> memcached</a>, <a href="http://technorati.com/tag/ehcache" rel="tag"> ehcache</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/05/27/up-the-stack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Flash Charting Plugin</title>
		<link>http://juixe.com/techknow/index.php/2007/02/19/rails-flash-charting-plugin/</link>
		<comments>http://juixe.com/techknow/index.php/2007/02/19/rails-flash-charting-plugin/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 20:02:34 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/02/19/rails-flash-charting-plugin/</guid>
		<description><![CDATA[Flash charts just look a lot better than what we could do with plan images. Flash is a lot more interactive and since they are vector base you can zoom in and out without image deterioration. The PHP folks have a lot of great libraries for working with Flash such as Ming, PHP/SWF Charts, and [...]]]></description>
			<content:encoded><![CDATA[<p>Flash charts just look a lot better than what we could do with plan images.  Flash is a lot more interactive and since they are vector base you can zoom in and out without image deterioration.  The PHP folks have a lot of great libraries for working with Flash such as <a href="http://www.php.net/ming">Ming</a>, <a href="http://www.maani.us/charts/index.php">PHP/SWF Charts</a>, and <a href="http://www.amfphp.org/">Amfphp</a>.  If you want flashy graphs, pun intended, you can do so thanks to <a href="http://www.maani.us/xml_charts/">ZiYa</a>, an <a href="http://www.maani.us/xml_charts/">XML/SWF Charts</a> based Ruby on Rails plugin.  ZiYa can be installed from the following SVN repository.</p>
<pre>
svn://rubyforge.org/var/svn/liquidrail/plugins/ziya/trunk
</pre>
<p>You typically install a Rails plugin by executing &#8216;script/plugin install URL&#8217; from the application directory where you replace URL with the one above.</p>
<p>Once ZiYa has been installed you need to include one line into the controller to load the required graphing capabilities.  Add the following line in the controller near the top.</p>
<p>include Ziya</p>
<p>To follow along with the code examples, create a bargraph action in the controller so that we can create a bar graph.  In the bargraph action we will create a bar chart object with code similar to the following.</p>
<p>def bargraph<br />
  chart = Ziya::Charts::Bar.new<br />
  render :text =&gt; chart<br />
end</p>
<p>The new bar chart will contain default data so that at this point we can quickly move onto the view and see ZiYa and XML/SWF in action.  You do not have to create a rhtml view for bargraph since the action will generate the necessary XML required for the chart.  You can render the chart in any rhtml view by adding the following view helper code.</p>
<p>&lt;%= gen_chart(&#8220;chart_id&#8221;,<br />
      url_for(:controller =&gt; &#8216;mycontroller&#8217;, :action =&gt; &#8220;bargraph&#8221;),<br />
      &#8220;#ffffff&#8221;,<br />
      400,<br />
      300) %&gt;</p>
<p>The above action and view code will generate a chart with default data that looks like the following.</p>
<p><img id="image238" src="http://www.juixe.com/techknow/wp-content/uploads/2007/02/bargraph.png" alt="ZiYa Bar Chart Example" /></p>
<p>if you want to create a similar graph with code replace the action with the following code.</p>
<p>def bargraph<br />
  chart  = Ziya::Charts::Bar.new<br />
  chart.add(:axis_category_text, [ "2003", "2004", "2005"])<br />
  chart.add(:series, &#8220;Region A&#8221;, [100, 25, 40], ['Large', 'Low', 'Soso'])<br />
  chart.add(:series, &#8220;Region A&#8221;, [80, 70, 20])<br />
  render :text =&gt; chart<br />
end</p>
<p>For this graph, the :axis_category_text symbol indicate that the following values are the y-axis labels.  To produce x-axis labels you can add data for :axis_value_text.  The series symbol indicates your data points.  You will also notice that when setting the series data point there is an optional string array.  That string array is used as  legend or label for the bars in this series.  The chart is highly customizable, you can create yml files that describe the theme such as color, border, and even animation effect for each charts.</p>
<p>The other graph types are just as easy to generate.  Just as an example below is the action code required to generate a pie chart.</p>
<p>def piegraph<br />
  chart  = Ziya::Charts::Pie.new<br />
  chart.add :axis_category_text, ["2003", "2004", "2005"]<br />
  chart.add :series, &#8220;Region I&#8221;, [200, 100, 50], ['Super', 'Large', 'Medium']<br />
  render :text =&gt; chart<br />
end</p>
<p>ZiYa is such a large and rich plugin that I obviously can&#8217;t do it justice.  Please take a look at the <a href="http://groups.google.com/group/ziya-plugin/topics">Google Groups</a> and official <a href="http://ziya.liquidrail.com/rdoc">documentation</a>.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/ruby" rel="tag">ruby</a>, <a href="http://technorati.com/tag/rails" rel="tag"> rails</a>, <a href="http://technorati.com/tag/rubyonrails" rel="tag"> rubyonrails</a>, <a href="http://technorati.com/tag/chart" rel="tag"> chart</a>, <a href="http://technorati.com/tag/graph" rel="tag"> graph</a>, <a href="http://technorati.com/tag/ming" rel="tag"> ming</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/plugin" rel="tag"> plugin</a>, <a href="http://technorati.com/tag/rails+plugin" rel="tag"> rails plugin</a>, <a href="http://technorati.com/tag/xml%2Fswf" rel="tag"> xml/swf</a>, <a href="http://technorati.com/tag/php%2Fswf" rel="tag"> php/swf</a>, <a href="http://technorati.com/tag/flash" rel="tag"> flash</a>, <a href="http://technorati.com/tag/ziya" rel="tag"> ziya</a>, <a href="http://technorati.com/tag/swf" rel="tag"> swf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/02/19/rails-flash-charting-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Top 10 WordPress Plugins</title>
		<link>http://juixe.com/techknow/index.php/2007/01/16/top-10-wordpress-plugins/</link>
		<comments>http://juixe.com/techknow/index.php/2007/01/16/top-10-wordpress-plugins/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 16:34:43 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/01/16/top-10-wordpress-plugins/</guid>
		<description><![CDATA[1. Akismet by Automattic is probably the best WP plugin out there. Akismet is a comment and trackback spam filter for your WP powered blog. It is a true mathematical equation that your blogs page rank is exponentially proportional to the number of viagra and penis enlargement spam comments you will receive. Akismet blocks them [...]]]></description>
			<content:encoded><![CDATA[<p>1. <a href="http://akismet.com/">Akismet</a> by <a href="http://automattic.com/">Automattic</a> is probably the best WP plugin out there.  Akismet is a comment and trackback spam filter for your WP powered blog.  It is a true mathematical equation that your blogs page rank is exponentially proportional to the number of viagra and penis enlargement spam comments you will receive.  Akismet blocks them all.  One thing to note about Akismet is that it sometimes flags honest comments as spam, so make sure to manage Akismet spam frequently.  To use Akismet you will need a free WordPress <a href="http://akismet.com/personal/">API key</a>.</p>
<p>2. If you are using Google Analytics to track your blog&#8217;s performance I recommend the <a href="http://boakes.org/analytics">Google Analytics</a> plugin by <a href="http://boakes.org/">Boakes</a>.  It is simple to install and configure, just have your Google Analytics User Account handy.<br />
<span id="more-222"></span><br />
3. If you are using Google Analytics you might also be using <a href="http://www.google.com/webmasters/sitemaps/">Google Sitemaps</a>.   Google Sitemaps helps Google crawl and index the new content available in your site.  Yahoo and MSN also use Google Sitemaps.  I have been using the <a href="http://www.arnebrachhold.de/cat/wordpress/plugins/">Google Sitemap Generator</a> plugin from <a href="http://www.arnebrachhold.de/">Arne Brachhold</a>.</p>
<p>4. Tags are sooo web 2.0, that is to say so last year.  That said, I use <a href="http://www.broobles.com/scripts/simpletags/">SimpleTags</a> by <a href="http://www.broobles.com/">Broobles</a>.  I went through several tagging plugins until finally settling with SimpleTags.</p>
<p>5. Along the lines of web 2.0 WordPress plugins, I recommend <a href="http://www.dountsis.com/downloads/">Social Bookmarks</a> by <a href="http://www.dountsis.com/">Apostolos Dountsis</a>.  Social Bookmarks adds a list of icon links at the end of each post to submit the post to your favorite social bookmarking sites such as Digg, Del.icio.us, Reddit, and others.</p>
<p>6. If you are a techie blogger and post a lot of code samples you should use <a href="http://erik.range-it.de/wordpress/plugins/syntaxhighlighter/">SyntaxHighlighter</a> by <a href="http://erik.range-it.de/">Erik Range</a>.  SyntaxHighlighter can high light the keywords in programming languages such as C++, C#, CSS, Java, JavaScript, PHP, Python, Ruby, SQL, VB, XML, and HTML.  You can also easily customize other display options for this plugin.</p>
<p>7. If you are like me you are often counting your page views via Google Analytics.  <a href="http://djuki.padrino.co.yu/blog/">Ivan Djurdjevac</a> has written a helpful little plugin called <a href="http://djuki.padrino.co.yu/blog/razno/countposts-v-10-wordpress-plugin/">Count Posts</a> that will display the hits per post or a list of the top post on you site.  This plugin is a bit more difficult to setup because to display the hit counter you need to edit the theme you are using itself to add a bit of PHP code.</p>
<p>8. If you have a del.icio.us account you should install the <a href="http://weblog.jcraveiro.com/projectos/delicious-cached-pp/">Del.icio.us Cached++</a> WordPress plugin by <a href="http://weblog.jcraveiro.com/">JoÃ£o Craveiro</a>.  LIke Count Posts, you will need to edit your theme files to add a bit of snippet of PHP code.  I placed the one liner in the sidebar.php of my current theme.</p>
<p>9. Another kick ass WordPress plugin is the Automattic <a href="http://automattic.com/code/widgets/">Widget plugin</a>.  The Widget plugin is a mini WP framework which WordPress developers can develop sidebar WordPress components, or widgets.  For example, the Del.icio.us Cached++ plugin could easily be re-written to be a WordPress widget.  There are a ton of <a href="http://codex.wordpress.org/Plugins/WordPress_Widgets">widgets</a> already available.</p>
<p>10. The <a href="http://bluesome.net/post/2005/08/18/50/">Exec-PHP</a> WordPress plugin allows PHP code inside you posts.  The PHP code is stored alongside you post content in the database and executed before rendered to HTML.  This plugin is great because you can embedded custom PHP code in your post and have that managed by WordPress.  All of the WordPress PHP functions are visible from Exec-PHP code.  This plugin was written by <a href="http://bluesome.net/">SÃ¶ren Weber</a>.</p>
<p>There are a ton of other great WP plugins.  The ones I have listed above are the ones I have found indispensable.  Here is a quick list of runner up plugins that you might find it useful&#8230;  For a popular WordPress blog you will need <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache</a> for faster loads.  To display AdSense ads alongside your content you will need <a href="http://www.acmetech.com/blog/adsense-deluxe/">AdSense-Deluxe</a>.  I also recommend the <a href="http://www.skippy.net/blog/2005/03/24/gravatars/">Gravatars</a> WP plugin.</p>
<p>What is your favorite WordPress plugin?</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://technorati.com/tag/plugin" rel="tag"> plugin</a>, <a href="http://technorati.com/tag/google" rel="tag"> google</a>, <a href="http://technorati.com/tag/analytics" rel="tag"> analytics</a>, <a href="http://technorati.com/tag/adsense" rel="tag"> adsense</a>, <a href="http://technorati.com/tag/sitemap" rel="tag"> sitemap</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/delicious" rel="tag"> delicious</a>, <a href="http://technorati.com/tag/widgets" rel="tag"> widgets</a>, <a href="http://technorati.com/tag/exec-php" rel="tag"> exec-php</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/cache" rel="tag"> cache</a>, <a href="http://technorati.com/tag/wp" rel="tag"> wp</a>, <a href="http://technorati.com/tag/spam" rel="tag"> spam</a>, <a href="http://technorati.com/tag/akismet" rel="tag"> akismet</a>, <a href="http://technorati.com/tag/tags" rel="tag"> tags</a>, <a href="http://technorati.com/tag/bookmarks" rel="tag"> bookmarks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/01/16/top-10-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>AJAX Header Rotator</title>
		<link>http://juixe.com/techknow/index.php/2007/01/07/ajax-header-rotator/</link>
		<comments>http://juixe.com/techknow/index.php/2007/01/07/ajax-header-rotator/#comments</comments>
		<pubDate>Mon, 08 Jan 2007 01:36:34 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/index.php/2007/01/07/ajax-header-rotator/</guid>
		<description><![CDATA[The Joomla! installation comes with a neat module called Random Image. The Random Image module accepts an image directory path, and image type and will randomly and dynamically displays one of the images found in the image directory path for every visit. But if you want to dynamically display images on you Joomla! site, I [...]]]></description>
			<content:encoded><![CDATA[<p>The Joomla! installation comes with a neat module called Random Image.  The Random Image module accepts an image directory path, and image type and will randomly and dynamically displays one of the images found in the image directory path for every visit.</p>
<p>But if you want to dynamically display images on you Joomla! site, I recommend you take a look at the AJAX Header Rotator module made available by <a href="http://www.joomlaworks.gr/">JoomlaWorks</a>.  AJAX Header Rotator also requires a image directory path but instead of displaying a single random image, this module will load all the images and display one at a time.  The AJAX Header Rotator rotates through images randomly or sequentially.  Behind the scenes, AJAX Header Rotator uses <a href="http://www.juixe.com/techknow/index.php/2006/01/29/jquery-library/">jQuery</a> to rotate through the image set.</p>
<p>A note of warning, I had to hack the AJAX Header Rotator module because I felt it lacked a few key parameters.  For one, AJAX Header Rotator loads all the images in the image folder and I had felt there should be max number of files that it loads and rotates through on each user visit.  I also added a parameter to enter the image alt text.  And finally, the module code always displayed the same first image so I had to shuffle the images array to display a distinct image as the initial image.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/joomla" rel="tag">joomla</a>, <a href="http://technorati.com/tag/cms" rel="tag"> cms</a>, <a href="http://technorati.com/tag/module" rel="tag"> module</a>, <a href="http://technorati.com/tag/php" rel="tag"> php</a>, <a href="http://technorati.com/tag/ajax" rel="tag"> ajax</a>, <a href="http://technorati.com/tag/javascript" rel="tag"> javascript</a>, <a href="http://technorati.com/tag/jquery" rel="tag"> jquery</a>, <a href="http://technorati.com/tag/design" rel="tag"> design</a>, <a href="http://technorati.com/tag/image+rotator" rel="tag"> image rotator</a>, <a href="http://technorati.com/tag/rotator" rel="tag"> rotator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2007/01/07/ajax-header-rotator/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Page Redirect</title>
		<link>http://juixe.com/techknow/index.php/2005/10/10/page-redirect/</link>
		<comments>http://juixe.com/techknow/index.php/2005/10/10/page-redirect/#comments</comments>
		<pubDate>Tue, 11 Oct 2005 04:25:52 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[HTML/XML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/?p=15</guid>
		<description><![CDATA[I totally forgot how to redirect to another page using PHP. After trying to remember I had to look it up in the PHP documentation. So if you want to redirect to another page using PHP you write to the header using this bit of code: header('Location: index.html'); I opted to use PHP solution instead [...]]]></description>
			<content:encoded><![CDATA[<p>I totally forgot how to redirect to another page using PHP.  After trying to remember I had to look it up in the PHP documentation.  So if you want to redirect to another page using PHP you write to the header using this bit of code:</p>
<pre>
header('Location: index.html');
</pre>
<p>I opted to use PHP solution instead of the HTML meta refresh tag.  You can do the same thing by placing this tag in your html output.</p>
<pre>
&lt;meta
  http-equiv='refresh'
  content='0;URL=http://www.juixe.com'&gt;
</pre>
<p>Of course, you can redirect to another page in just about in every language, including JavaScript as this snippet of JavaScript code demonstrates it:</p>
<pre>
document.location.href='index.html'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2005/10/10/page-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Script, Import CSS, Import PHP</title>
		<link>http://juixe.com/techknow/index.php/2005/09/27/import-script-import-css-import-php/</link>
		<comments>http://juixe.com/techknow/index.php/2005/09/27/import-script-import-css-import-php/#comments</comments>
		<pubDate>Tue, 27 Sep 2005 13:19:51 +0000</pubDate>
		<dc:creator>TechKnow</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML/XML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TechKnow]]></category>

		<guid isPermaLink="false">http://www.juixe.com/techknow/?p=8</guid>
		<description><![CDATA[Just because sometimes I forget, here are some code fragments to import JavaScript, CSS, and PHP files. JavaScript: &#60;script type='text/javascript' src='directory/file.js'&#62; &#60;/script&#62; CSS: &#60;style type='text/css' media='all'&#62; @import 'directory/file.css'; &#60;/style&#62; Icon: &#60;link rel='Shortcut Icon' href='directory/file.ico' type='image/x-icon'&#62; PHP: &#60;?php @ require_once ('directory/file.html'); ?&#62; For the PHP import, by placing the @ symbol before require_once suppresses any error [...]]]></description>
			<content:encoded><![CDATA[<p>Just because sometimes I forget, here are some code fragments to import JavaScript, CSS, and PHP files.</p>
<p>JavaScript:</p>
<pre>
&lt;script
   type='text/javascript'
   src='directory/file.js'&gt;
&lt;/script&gt;
</pre>
<p>CSS:</p>
<pre>
&lt;style type='text/css'  media='all'&gt;
   @import 'directory/file.css';
&lt;/style&gt;
</pre>
<p>Icon:</p>
<pre>
&lt;link
   rel='Shortcut Icon'
   href='directory/file.ico'
   type='image/x-icon'&gt;
</pre>
<p>PHP:</p>
<pre>
&lt;?php @ require_once ('directory/file.html'); ?&gt;
</pre>
<p>For the PHP import, by placing the @ symbol before require_once suppresses any error messages that might be generated in the included PHP file.</p>
<p>JSP:</p>
<pre>
&lt;%@ include file='jspfile.jspi' %&gt;
</pre>
<p>And, well, I guess the list can go on and on.  You can use Struts Tiles to include other JSP snippets.  I am sure that other languages and frameworks have the same functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://juixe.com/techknow/index.php/2005/09/27/import-script-import-css-import-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

