<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Edward Tanguay's Web Developer Site - Most Recent Items</title>
		<description>Code examples, tips, links, blog entries, tutorials, video training notes</description>
		<link>http://www.tanguay.info/web/rss/mostRecent.xml</link>
		<item>
			<title>PHP CODE: File that shows how all PHP 5.2 input_filters work.</title>
			<description>This file runs through the input filters codes and shows how e.g. filter_var($value, FILTER_SANITIZE_STRING) and filter_input($value, FILTER_SANITIZE_STRING) will alter strings. You can &lt;a href=&quot;http://tanguay.info/web/examples/filter_input.php&quot; target=&quot;_blank&quot;&gt;see an example this here.&lt;/a&gt;. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1079</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1079</guid>
			<pubDate>18 Nov 2008 21:18:21 GMT</pubDate>
		</item>
		<item>
			<title>PHP CODE: How to create a PHP Webservice with nusoap and consume it with nusoap and PHP5's SoapClient()</title>
			<description>Nusoap is convenient because you don't have to make any changes on the server, just download and copy the library files to a sub-directory. Nusoap also creates a WSDL file automatically for you. These examples show how to return an array of values so that you could, e.g. return 20 fields of information about a user, for instance. Not that on the nusoap examples I turn the cache off since when you have it on while you are developing and add a method to your soap server, your client doesn't recognize the changes.  First &lt;a href=&quot;http://sourceforge.net/projects/nusoap&quot; target=&quot;_blank&quot;&gt;download nusoap&lt;/a&gt;, then copy the files to a sub-directory on your web called &quot;nusoap&quot;. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1078</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1078</guid>
			<pubDate>18 Nov 2008 02:50:04 GMT</pubDate>
		</item>
		<item>
			<title>PHP CODE: Use define() for tedious-to-type constants</title>
			<description>Stumbled across this use of define() today, nice for HTML tag and newline shortcuts etc. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1077</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1077</guid>
			<pubDate>13 Nov 2008 00:35:44 GMT</pubDate>
		</item>
		<item>
			<title>FLEX CODE: Develop Flash Applications without Flash with free Flex SDK and free FlashDevelop editor</title>
			<description>The following instructions show you the exact steps to set up a free development environment on windows which allows you to develop Flex applications with ActionScript 3. You won't have the nice step-through debugging or the design view of Adobe's FlexBuilder but this code shows you how to create a two-line MXML file which allows you to do all your programming back in ActionScript 3 classes anyway so you just kind of use the MXML file as a tunnel to be able use the rich Flex libraries. FlashDevelop has very nice code-completion and other features, and with traces you can do decent debugging. The code helps you get up to speed with event handlers which are a bit different than web scripting if that is all you have been doing so far. You can &lt;a href=&quot;http://tanguay.info/web/examples/flextest&quot; target=&quot;_blank&quot;&gt;view a running example of this appliction here&lt;/a&gt;. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1076</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1076</guid>
			<pubDate>07 Nov 2008 23:39:26 GMT</pubDate>
		</item>
		<item>
			<title>ACTIONSCRIPT 3.0 CODE: How to set up a Flex application in FlashDevelop (with code completion)</title>
			<description>This works much better than my previous example since it enables FlashDevelop to do its nice code-completion on Flex objects such as &quot;button&quot;. In FlashDevelop, new project, Flex, Flex 3 Project, then replace MXML code, then create a class and put in the ActionScript3 code. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1075</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1075</guid>
			<pubDate>23 Oct 2008 10:24:32 GMT</pubDate>
		</item>
		<item>
			<title>ACTIONSCRIPT 3.0 CODE: How to set up a Flex application in FlashDevelop</title>
			<description>In FlashDevelop, new project, Flex, Flex 3 Project, then replace MXML code, then create a class and put in the ActionScript3 code. Unfortunately it doesn't seem to have the nice code complete completion for e.g. the button object. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1074</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1074</guid>
			<pubDate>23 Oct 2008 10:09:03 GMT</pubDate>
		</item>
		<item>
			<title>ACTIONSCRIPT 3.0 CODE: Text-Follow-Cursor example using simple sprite</title>
			<description>In &lt;a href=&quot;http://osflash.org/flashdevelop&quot; target=&quot;blank&quot;&gt;FlashDevelop&lt;/a&gt;, New Project, AS3 Project, (check Create directory for project), (Project/Properties/Text Movie/Play in popup), then open up Main.as and replace it with this code. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1072</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1072</guid>
			<pubDate>22 Oct 2008 20:19:53 GMT</pubDate>
		</item>
		<item>
			<title>WINDOWS TIP: Use Free Virtual CloneDrive to install from ISO files</title>
			<description>I wanted to install Visual C# 2008 Express but knew I wanted to try out the Visual Basic and Visual Web Developer as well, so instead of doing three downloads from the web, I downloaded the .ISO file with all four of them on it, then downloaded the free Virtual Clone Drive which after you install it looks like you added a DVD drive to your system, right-click it and select Virtual CloneDrive and Mount, then navigate to and select the .iso file and it is as if you are loading from a DVD, nice, much smoother solution then one I was using back in 2002 -- it just works. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=79</link>
			<guid>http://www.tanguay.info/web/tip.php?id=79</guid>
			<pubDate>13 Oct 2008 21:36:10 GMT</pubDate>
		</item>
		<item>
			<title>ECLIPSE TIP: Create hotkey macros in Eclipse</title>
			<description>I've been using Eclipse for a long time and just found out that you can create a hotkey to perform all kinds of mundane tasks, e.g. if you find yourself committing a file every minute or so to check minute changes, go to Preferences | General | Keys and set up a e.g. CTRL-ALT-SHIFT-C to commit your file, explore this for awhile and save some time in the long run. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=78</link>
			<guid>http://www.tanguay.info/web/tip.php?id=78</guid>
			<pubDate>09 Oct 2008 03:29:26 GMT</pubDate>
		</item>
		<item>
			<title>PHP TIP: Enable word-wrap in Eclipse PDT</title>
			<description>Tired of editing long lines extending out to the right in Eclipse? This plugin solves the problem, install as any plugin in Eclipse, restart, then right click and word wrap, simple as that. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=77</link>
			<guid>http://www.tanguay.info/web/tip.php?id=77</guid>
			<pubDate>19 Sep 2008 00:05:09 GMT</pubDate>
		</item>
		<item>
			<title>PHP CODE: A quick MySQL data layer class that makes read/writes one-liners</title>
			<description>If you need to write a quick PHP script that accesses a MySQL database, just copy in or include this class and you can do all your reads and writes with one-line satements. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1071</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1071</guid>
			<pubDate>17 Sep 2008 23:01:21 GMT</pubDate>
		</item>
		<item>
			<title>GENERAL TIP: Stackoverflow: the most useful IT Question/Answer site on the web</title>
			<description>Stackoverflow just launched publically today after being in beta for about two months. Last week I posted about 8 questions about vim and Perl and each question was answered by multiple people within 10 minutes. The site has a system of badges and reputation points you can earn for various things which turns people into hungry dogs waiting to answer your question first. You get to read the answers and mark them up and down based on their helpfulness and then select one that best answers your question. This site is truly unique, new, fresh, ajaxy in the right places, and very efficient, try it out. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=76</link>
			<guid>http://www.tanguay.info/web/tip.php?id=76</guid>
			<pubDate>15 Sep 2008 21:57:43 GMT</pubDate>
		</item>
		<item>
			<title>PERL TIP: Always put "my" in front of variables inside functions</title>
			<description>In Perl, if you define a variable inside a function without the word &quot;my&quot; (e.g. @record = ...), then that variable is treated as a global variable (wow!). Hence, always define function variables thusly: &quot;my @records = ....&quot; inside a function so that they do not change values outside the function, e.g. if you have too recordsets and you use the same variable name &quot;@records&quot; to loop through them. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=75</link>
			<guid>http://www.tanguay.info/web/tip.php?id=75</guid>
			<pubDate>12 Sep 2008 20:06:03 GMT</pubDate>
		</item>
		<item>
			<title>PERL CODE: Four Simple Perl database functions for MySQL</title>
			<description>Was on a Perl project where the code had 5 lines of database connection code for each time it needed to get data from the database, so I wrote these functions which allow you to get records, record, value or execute a command with one-liners. Records are an array of hashes and included the code to call the functions since figuring out what syntax you need to access the objects through pointers/references can be time-consuming. End result is: if you just need to use Perl quick to read and write to a MySQL database, this code will get you up to speed fast. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1070</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1070</guid>
			<pubDate>10 Sep 2008 06:59:22 GMT</pubDate>
		</item>
		<item>
			<title>PERL CODE: Basic database read and text file read/write code in Perl</title>
			<description>If you need to do something quick and useful in Perl, this will get you reading and writing in databases and text files. If you are a PHP programmer getting into Perl then look up the &quot;eq&quot; operator first. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1069</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1069</guid>
			<pubDate>02 Sep 2008 22:12:27 GMT</pubDate>
		</item>
		<item>
			<title>CSS CODE: Large button links with A elements</title>
			<description>Many times you want to have a menu with A elements as the links instead of e.g. LI elements. Here is an example with large buttons. See &lt;a href=&quot;http://tanguay.info/web/examples/test11.php&quot; target=&quot;blank&quot;&gt;example here&lt;/a&gt;. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1068</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1068</guid>
			<pubDate>12 Aug 2008 03:26:23 GMT</pubDate>
		</item>
		<item>
			<title>PHP CODE: How to check if an IP-address is within the range of two IP-addresses</title>
			<description>This function checks if an IP address is between two others, not that ip2long has a problem by itself so you need the sprintf(&quot;%u&quot;) function as well. Also it returns false if any of the IP addresses are invalid as to avoid tampering. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1067</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1067</guid>
			<pubDate>17 Jul 2008 05:11:08 GMT</pubDate>
		</item>
		<item>
			<title>FIREFOX TIP: Download Firebug for Firefox 3</title>
			<description>I installed Firefox 3 today and instantly found the search-history-in-the-URL-bar to be indispensible. All the more to my horror did I realize that Firebug was no longer installed because it was not compatible with Firefox 3. Luckily there is a beta being built that IS compatible and it works just like the old one.  The SQLite Manager and Web Developer bar still work in Firefox 3 and so with these three, no reason not to upgrade! Enjoy. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=74</link>
			<guid>http://www.tanguay.info/web/tip.php?id=74</guid>
			<pubDate>06 Jul 2008 19:06:23 GMT</pubDate>
		</item>
		<item>
			<title>JAVASCRIPT CODE: Javascript photo-viewer that works in four browsers</title>
			<description>This was a little experiment to get a useful base of cross-browser code that does some interactive stuff in Javascript. It is simple but handles mouseover, button highlight, and just has a nice, basic feel. The only issue is in Opera the text is at top of the buttons, but didn't have any nerves left for that one. At first I tried using :hover and :focus which brought me to the conclusion that this really isn't standard between the browsers so used onmouseover and onmouseout to deal with it. Also worked out a number of quirks that various browsers had, e.g. I removed the ugly dotted focus line in Firefox on the buttons, they left it there in Firefox 3 as well I noticed, I replaced it with a gradient background for the focussed button. So this code looks decent in Firefox 2/3, Internet Explorer 7 (probably 6 too), Opera 9.5 (in fact only after I upgraded from 8 did it show the background on the buttons), and Safari. The bad boy of the group is Opera, but since opera gets embedded in quite a number of devices these days (e.g. Philips TVs), you don't want to leave it out completely. You can &lt;a href=&quot;http://tanguay.info/web/examples/codeExamples/javascriptPhotos/&quot; target=&quot;blank&quot;&gt;view this example online here&lt;/a&gt;. Of course next step when implementing this is to make it read from a database or XML file, I just wanted to get the browser-compatibility as accurate as possible first. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/codeExample.php?id=1066</link>
			<guid>http://www.tanguay.info/web/codeExample.php?id=1066</guid>
			<pubDate>06 Jul 2008 13:44:09 GMT</pubDate>
		</item>
		<item>
			<title>JAVASCRIPT TIP: Online Javascript tutorial as pre-AJAX refresher</title>
			<description>If you are getting into AJAX and need a booster course on Javascript, this site has a nice concept/example format to get you up to speed fast without the make-the-background-color-blink examples you get on other sites. Note the &quot;AJAX for N00bs&quot; section as well. (visit site to comment, no login required)</description>
			<link>http://www.tanguay.info/web/tip.php?id=73</link>
			<guid>http://www.tanguay.info/web/tip.php?id=73</guid>
			<pubDate>03 Jul 2008 02:37:47 GMT</pubDate>
		</item>
	</channel>
</rss>


