<?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>WebProNews &#187; demos</title>
	<atom:link href="http://www.webpronews.com/tag/demos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Sun, 12 Feb 2012 18:46:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>More Fuel for the Social-Media-At-Work Debate</title>
		<link>http://www.webpronews.com/more-fuel-for-the-social-media-at-work-debate-2008-10</link>
		<comments>http://www.webpronews.com/more-fuel-for-the-social-media-at-work-debate-2008-10#comments</comments>
		<pubDate>Fri, 31 Oct 2008 14:04:44 +0000</pubDate>
		<dc:creator>Chris Crum</dc:creator>
				<category><![CDATA[Social Media]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[studies]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=47514</guid>
		<description><![CDATA[<p>Not long after we <a href="http://www.webpronews.com/topnews/2008/10/27/is-social-media-good-or-bad-for-business">discussed</a> the stats, pros, cons, and variables for social media use in the workplace, here at WebProNews, UK firm <a href="http://www.demos.co.uk/">Demos</a> has been talking about a study that suggests that social media <i>is</i> in fact good for businesses. I'm still sticking with the &#34;it depends on a number of variables&#34; theory, but the Demos info is worth taking a look at either way.]]></description>
			<content:encoded><![CDATA[<p>Not long after we <a href="http://www.webpronews.com/topnews/2008/10/27/is-social-media-good-or-bad-for-business">discussed</a> the stats, pros, cons, and variables for social media use in the workplace, here at WebProNews, UK firm <a href="http://www.demos.co.uk/">Demos</a> has been talking about a study that suggests that social media <i>is</i> in fact good for businesses. I&#8217;m still sticking with the &quot;it depends on a number of variables&quot; theory, but the Demos info is worth taking a look at either way. <a href="http://news.bbc.co.uk/1/hi/business/7695716.stm">BBC News reports</a>:</p>
<p><i>Firms are increasingly using networking software to share documents and collaborate in ideas, the research found.</p>
<p>And while more work-specific systems, such as LinkedIn or bespoke in-house software tended to be used for work matters, the likes of Facebook, Bebo and MySpace still had a place, said Peter Bradwell, a Demos researcher and the report&#8217;s author. </i></p>
<p>Demos says that when companies restrict access to social networks, it could have a long-term negative impact, because communication methods are limited. &quot;They are part of the way in which people communicate which they find intuitive,&quot; says Bradwell. &quot;Banning Facebook and the like goes against the grain of how people want to interact. Often people are friends with colleagues through these networks and it is how some develop their relationships.&quot; </p>
<p>Demos basically takes the position that employees who abuse their social network privileges should be under stricter watch. Productivity has of course been one of the biggest concerns regarding social media in the workplace, but according to Demos, it could actually have the opposite effect. Bradwell noted that it can build closer links with ex-employees and customers to <i>boost</i> productivity. </p>
<p>When it comes down to it, this is an issue that will continue to be debated, mostly because there&#8217;s no concrete way to measure the productivity (or lack thereof) against whether or not the time used would be better spent doing something else. There&#8217;s no doubt that there are plenty of potential benefits for businesses using social media, but bosses are going to have a hard time being convinced without seeing concrete results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/more-fuel-for-the-social-media-at-work-debate-2008-10/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Doing Product Demo 2.0</title>
		<link>http://www.webpronews.com/doing-product-demo-2-0-2007-06</link>
		<comments>http://www.webpronews.com/doing-product-demo-2-0-2007-06#comments</comments>
		<pubDate>Thu, 28 Jun 2007 17:01:49 +0000</pubDate>
		<dc:creator>Mike Moran</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[Product]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=38815</guid>
		<description><![CDATA[<p>How many of you sell products that require salespeople to visit customers to provide a demonstration? If that sounds like your company, you've probably written off the Internet for that. Perhaps you use the Web to explain your product and to have prospects contact you, but you still need to to send that sales rep to the demo. Until now. Check out how some companies are doing Product Demo 2.0.</p>]]></description>
			<content:encoded><![CDATA[<p>How many of you sell products that require salespeople to visit customers to provide a demonstration? If that sounds like your company, you&#8217;ve probably written off the Internet for that. Perhaps you use the Web to explain your product and to have prospects contact you, but you still need to to send that sales rep to the demo. Until now. Check out how some companies are doing Product Demo 2.0.</p>
<div id="a000306more">
<div id="more">
<p>What exactly does an in-person demo do for you? It puts a real person in front of your customer who can notice what objections are raised and meet them. It puts someone knowledgeable in a position to demonstrate the value of the product and the problems that it solves. Clearly in-person product demos drive great value, but they are very expensive.</p>
<p>Some companies are doing product demos on YouTube. Check out how IBM demonstrates a new way of developing Web applications, called <a href="http://www.youtube.com/watch?v=63qIq9t9Gqs" title="QEDWiki">QEDWiki</a>. Now does a video demo work as well as an in-person demo? Of course not. But it&#8217;s much less expensive and it can be seen anytime the client wants to do it.</p>
<p>After the video demo, the client must follow up to contact the company to get questions answered, so expect that a higher percentages of clients viewing video demos will drop out of the sales cycle. But think of how many more people will see the demo&mdash;who cares if the percentages are lower? You&#8217;ll likely get more leads than you did the old way.</p>
<p>You might think this is only good for software, but it&#8217;s not. Perhaps you&#8217;ve heard of the funny &quot;<a href="http://www.youtube.com/watch?v=B8H29jU8Wrs">Will It Blend</a>?&quot; videos for Blendtec blenders. Blendtec has dramatically raised their sales by showing funny demos of blending IPods and other household objects as feats of strength.</p>
<p>But while those videos have attracted attention as a viral marketing technique, know that Blendtec shows <a href="http://www.blendtec.com/demos.aspx" title="standard Blendtec demos">standard Blendtec demos</a> on its Web site, as do many other companies. Do you demonstrate your product on the Web? Why not?</p>
<p><a href="http://www.mikemoran.com/biznology/archives/2007/06/product_demo_20.html#comments" title="Product Demo 2.0">Comments</a></p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/doing-product-demo-2-0-2007-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Missing Important Marketing Angle</title>
		<link>http://www.webpronews.com/google-missing-important-marketing-angle-2006-09</link>
		<comments>http://www.webpronews.com/google-missing-important-marketing-angle-2006-09#comments</comments>
		<pubDate>Mon, 25 Sep 2006 16:51:32 +0000</pubDate>
		<dc:creator>Robert Scoble</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Rubel]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=31667</guid>
		<description><![CDATA[I was just over reading <a href="http://www.micropersuasion.com/2006/09/the_google_anar.html" class="bluelink">Steve Rubel's blog where he links</a> to a BusinessWeek article about Google and its struggles to improve its business.
]]></description>
			<content:encoded><![CDATA[<p>I was just over reading <a href="http://www.micropersuasion.com/2006/09/the_google_anar.html" class="bluelink">Steve Rubel&#8217;s blog where he links</a> to a BusinessWeek article about Google and its struggles to improve its business.</p>
<p>I guess Google has noticed that most people only use one thing, the search engine (Eric Schmidt, Google&#8217;s CEO, was quoted as saying that even its most die-hard fans can&#8217;t remember many of its <a href="http://en.wikipedia.org/wiki/List_of_Google_products" class="bluelink">major products</a>).</p>
<p>Well, remember that Adobe Acrobat 8 video demo I put up last week? Turns out it had 50% more visits than our other podcasts last week. This isn&#8217;t the first time I&#8217;ve noticed that, either. Over on Channel 9 our videos regularly got more visits than the Web site for the product or service we were discussing.</p>
<p>It&#8217;s a <a href="http://www.youtube.com/" class="bluelink">YouTube</a>, er <a href="http://video.google.com/" class="bluelink">Google Video</a>, world.</p>
<p>So, here&#8217;s a little test I did. I searched for:</p>
<p>Blogger Demo video. <a href="http://www.google.com/search?q=Blogger+Demo+video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>.</p>
<p>Google Calendar Demo video. <a href="http://www.google.com/search?hs=2Ub&#038;hl=en&#038;lr=&#038;client=firefox-a&#038;rls=org.mozilla%3Aen-US%3Aofficial&#038;q=Google+Calendar+Demo+video&#038;btnG=Search" class="bluelink">None found</a>.</p>
<p>Google Desktop Demo video. <a href="http://www.google.com/search?q=Google+Desktop+Demo+Video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>. Even worse is that there&#8217;s one of my videos there from Channel 9 showing off a competitive product.</p>
<p>Google Dodgeball Demo video. <a href="http://www.google.com/search?q=Google+Dodgeball+Demo+Video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>.</p>
<p>Google Earth Demo video. <a href="http://www.google.com/search?q=Google+Earth+Demo+Video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>. Oh, there&#8217;s another one of my Channel 9 videos again.</p>
<p>Google Groups Demo video. <a href="http://www.google.com/search?q=Google+Groups+Demo+Video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>. Another one of my Channel 9 videos are there.</p>
<p>Google Maps Demo video. <a href="http://www.google.com/search?q=Google+Maps+Demo+Video&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">None found</a>. Another one of my Channel 9 videos are there.</p>
<p>Should I go on? I could &#8211; seems like almost none of the Google product teams has put a simple video demo of its products up online and if they have, they certainly didn&#8217;t make them findable. Seems to me that this would be a great thing to do for Google. I&#8217;m sure such videos would be linked into Wikipedia&#8217;s list almost instantly.</p>
<p>So, here&#8217;s my offer. I&#8217;ll come over and do an interviewwith each of your product teams and get a five-minute demo of your products. With my sooopppeeerrrr dddooooppppeeeerrrrr Sony HD camcorder. For free.</p>
<p>That&#8217;s what we did on Friday for Scrapblog and Jajah (I don&#8217;t charge for this, and am doing it for lots of little companies &#8211; we&#8217;ll even have a new show we&#8217;ll announce soon where it&#8217;ll be even easier to get your demo online, you won&#8217;t even need to convince me via email that I should come over).</p>
<p>Even better offer for Google? I&#8217;ll even put all the Google ones up on Google Video as well as put them on the ScobleShow.</p>
<p>Oh, how powerful is this? Well, do a Google search for &#8220;<a href="http://www.google.com/search?q=Adobe+Acrobat+8+video+demo&#038;start=0&#038;ie=utf-8&#038;oe=utf-8&#038;client=firefox-a&#038;rls=org.mozilla:en-US:official" class="bluelink">Adobe Acrobat 8 video demo</a>&#8221; and what do you find? <a href="http://www.podtech.net/technology/1120" class="bluelink">My video</a>. And, yes, we&#8217;re getting visits from Google so I know someone is looking for video demos of products.</p>
<p>Anyway, want to do a demo? 425-205-1921. You won&#8217;t even need to pay $30,000 like you would if you were going to this week&#8217;s <a href="http://www.demo.com/" class="bluelink">Demo conference</a> (everyone who gets on the stage there pays for the privilege and everyone in the audience pays too).</p>
<p>Why do they pay? Because they know the power of demoing to an influential audience. Funny thing is that there&#8217;s a far cheaper (and more effective) way to do the same demo on my show. By the way, the number of people who&#8217;ve now seen the Adobe Acrobat 8 video I did is many times bigger than the attendance of the Demo conference this week.</p>
<p>It&#8217;s amazing to me that Google hasn&#8217;t done this on its own, actually. </p>
<p><a href="http://scobleizer.wordpress.com/2006/09/24/google-is-missing-an-important-marketing-angle-video-demos/#comments" class="bluelink">Comments</a></p>
<p>Tag: </p>
<p>Add to <a href="http://del.icio.us/post"onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURICo  mponent(location.href)+'&#038;title ='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return   false;" CLASS="printMailTop"><img src=http://images1.ientrymail.com/webpronews/delicious-pic.png border=0> Del.icio.us</a> |   <a  href="javascript:voidwindow.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','  popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img   src=http://images1.ientrymail.com/webpronews/digg-pic.png border=0> Digg</a>  | <a href="javascript:void   window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURICompo  nent(window.location.href),'popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)   "><img src=http://images1.ientrymail.com/webpronews/yahoo-pic.png border=0> Yahoo! My Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeUR  IComponent(document.title)+' '"><img src=http://images1.ientrymail.com/webpronews/furl-pic.png border=0> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a></p>
<p><a name="robert"></a><a href="http://www.scobleizer.com/">Robert Scoble</a> is the founder of the  <a href="http://www.scobleizer.com/">Scobleizer</a> blog. He works as <a href="http://www.PodTech.net">PodTech.net&#8217;s</a> Vice President of Media Development. </p>
<p><b>Go to <a href="http://www.scobleizer.com/">Scobleizer</a></b> &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/google-missing-important-marketing-angle-2006-09/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monad gets renamed to PowerShell</title>
		<link>http://www.webpronews.com/monad-gets-renamed-to-powershell-2006-04</link>
		<comments>http://www.webpronews.com/monad-gets-renamed-to-powershell-2006-04#comments</comments>
		<pubDate>Tue, 25 Apr 2006 14:46:10 +0000</pubDate>
		<dc:creator>Robert Scoble</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Delicious]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[monad]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scoble]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wikipedia]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=28761</guid>
		<description><![CDATA[<a href="http://coolthingoftheday.blogspot.com/2006/04/windows-powershell.html" class="bluelink">Greg Duncan likes the new name</a>: Windows PowerShell.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://coolthingoftheday.blogspot.com/2006/04/windows-powershell.html" class="bluelink">Greg Duncan likes the new name</a>: Windows PowerShell.</p>
<p>Hey, a two-word name! Kudos to the marketing department.</p>
<p>Why rename Monad? Well, replace the &#8220;M&#8221; with a &#8220;G&#8221; and you can see one theory of why the name had to be changed. I still like Monad, though.</p>
<p><a href="http://en.wikipedia.org/wiki/Monad" class="bluelink">Wikipedia entry on Monad</a>.</p>
<p>I hear the new name will be announced officially tomorrow this morning and that the <a href="http://blogs.msdn.com/monad/" class="bluelink">Monad blog</a> will have more details then.</p>
<p>Don&#8217;t know what Monad is? Jeffrey Snover, <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=25506" class="bluelink">in this Channel 9 video, explains and demos</a>.</p>
<p>Update: the <a href="http://blogs.msdn.com/PowerShell/" class="bluelink">new PowerShell blog</a> is now up. </p>
<p>Add to <script language='javascript'> document.write("<a href='http://del.icio.us/post?url="+encodeURIComponent(document.location.href)+"&#038;title="+encodeURIComponent(document.title)+"'>Del.icio.us</a>")</script> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)">DiggThis</a>  | <a href="javascript:void window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)">Yahoo! My Web</a></p>
<p>Technorati: </p>
<p><a name="robert"></a><a href="http://www.scobleizer.com/">Robert Scoble</a> is the founder of the  <a href="http://www.scobleizer.com/">Scobleizer</a> blog. He works as <a href="http://www.PodTech.net">PodTech.net&#8217;s</a> Vice President of Media Development. </p>
<p><b>Go to <a href="http://www.scobleizer.com/">Scobleizer</a></b> &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/monad-gets-renamed-to-powershell-2006-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP:Form Series &#8211;  Validators &amp; Client-side Validation</title>
		<link>http://www.webpronews.com/phpform-series-validators-clientside-validation-2005-10</link>
		<comments>http://www.webpronews.com/phpform-series-validators-clientside-validation-2005-10#comments</comments>
		<pubDate>Tue, 04 Oct 2005 14:25:27 +0000</pubDate>
		<dc:creator>Dennis Pallett </dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=23537</guid>
		<description><![CDATA[Welcome to the first part of a new two-part series on the PHP:Form web component. In this part, I will give you an introduction to PHP:Form, its features, and why it is so useful. I will also discuss the inbuilt validators that PHP:Form supports.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to the first part of a new two-part series on the PHP:Form web component. In this part, I will give you an introduction to PHP:Form, its features, and why it is so useful. I will also discuss the inbuilt validators that PHP:Form supports.</p>
<p>In the second part I will discuss the more advanced features of PHP:Form. </p>
<p><b>What is PHP:Form? </b></p>
<p>PHP:Form is a (new) web component, developed by TGP PHP Scripts (<a href="http://phpscripts.pallettgroup.com">http://phpscripts.pallettgroup.com</a>). It is designed to help you create forms with a lot less effort. When you&#8217;re creating a new PHP script, you will undoubtedly have to create forms to allow input to be entered. There is (almost) no PHP script without forms, and forms usually require solid validation to make sure there are no security leaks. It would be nice if those forms are accessible as well, but this often gets forgotten. </p>
<p>We&#8217;ve all had to create forms again and again. And every time we&#8217;ve had to write those validation functions. I&#8217;m sure you remember&#8230; if (empty($blah)) { echo &#8216;Invalid&#8217;; }, etc. After a while it becomes a really boring and mundane task, and most of the time we don&#8217;t do it properly either. One of the hardest things to do is to return error messages, indicating what is wrong, and allowing visitors to fix their mistakes, without having to re-do the complete form. I used to simply tell them to hit the back-button, after returning the errors, but this is obviously a not-so-good way of doing it. </p>
<p>Thankfully, that&#8217;s where PHP:Form steps in. It handles all the boring parts for you, and does it properly as well. </p>
<p>PHP:Form has support for inbuilt validators, which means you only have to use a simple HTML-like syntax to add new validation logic to a form. With these validators also comes automatic client-side validation. All the necessary JavaScript is created for you, and there&#8217;s nothing you need to do. Another remarkable feature of PHP:Form are so-called &#8220;formtypes&#8221;, which are basically form templates. These allow you define form templates, which can be re-used over and over again. </p>
<p>Let&#8217;s have a closer look at the validation part of PHP:Form; the validators. </p>
<p><b>Inbuilt Validators &#038; Client-side Validation </b></p>
<p>Before we look at the validators, let&#8217;s first look at the basic PHP:Form syntax. It has a really simple syntax, because it&#8217;s basic HTML. To create a new form, use the tags, like so: </p>
<p><code>&lt;php:form name="example"&gt; </p>
<p>... form html goes here ... </p>
<p>&lt;/php:form&gt; </code></p>
<p>That&#8217;s all that is really necessary. But you must also tell the form to display, using PHP, like so: </p>
<p><code>$_FORMS-&gt;display ('example'); </code></p>
<p>Those two things are the only things absolutely necessary to create and display a new form. Of course, nothing will be displayed yet because you haven&#8217;t created any input fields. To see a simple form in action, have a look at demo 1 (<a href="http://www.phpit.net/demo/phpform%20series/demos/demo1.php">http://www.phpit.net/demo/phpform%20series/demos/demo1.php</a>) </p>
<p>Let&#8217;s move on to validators now. Validators are used to validate form fields, and just like the form tags, they are simple html, for example: </p>
<p><code>&lt;validator for="[fieldname]"&gt;Your error message here&lt;/validator&gt; </code></p>
<p>You can either place validators in between the form tags, or outside the form tags. If you place them outside the form tags you must specify the form name (using the &#8216;form&#8217; attribute). </p>
<p>A simple form with a validator would look like this: </p>
<p><code>&lt;?php </p>
<p>// Include PHP:Form </p>
<p>include ('../phpform.php'); </p>
<p>// Begin form: </p>
<p>?&gt; </p>
<p>&lt;php:form name="example"&gt; </p>
<p>&lt;validator for="name" required="true"&gt;&lt;p style="font-weight:bold;color:red;"&gt;Please enter your name&lt;/p&gt;&lt;/validator&gt; </p>
<p>Name: &lt;input type="text" name="name" /&gt; </p>
<p>&lt;input type="submit" value="Go!" /&gt; </p>
<p>&lt;/php:form&gt; </p>
<p>&lt;?php </p>
<p>if ($_FORMS-&gt;validate ('example') == true) { </p>
<p>// Show POST'ed values </p>
<p>echo '&lt;pre&gt;'; </p>
<p>print_r ($_POST); </p>
<p>echo '&lt;/pre&gt;'; </p>
<p>} else { </p>
<p>// Display form </p>
<p>$_FORMS-&gt;display ("example"); </p>
<p>} </p>
<p>?&gt; </code><br />
<a name="demo"></a><br />
View live demo (<a href="http://www.phpit.net/demo/phpform%20series/demos/demo2.php">http://www.phpit.net/demo/phpform%20series/demos/demo2.php</a>) </p>
<p>As you can see in the code we created a validator that has the required attribute set to &#8220;true&#8221;. That means that this validator just checks whether the value of the input field isn&#8217;t empty. </p>
<p><b>There are 5 different kinds of validators: </b></p>
<p><b>- Required: </b>they are used to make sure an input field isn&#8217;t empty, like I just demonstrated. </p>
<p><code>&lt;validator for="field" required="true"&gt;Please fill in something&lt;/validator&gt; </code></p>
<p><b>- Numeric: </b>they are used to make sure an input field only contains numbers, and nothing else. </p>
<p><code>&lt;validator for="field" numeric="true"&gt;Please fill in something&lt;/validator&gt; </code></p>
<p><b>- Regex: </b>they can be used to specifiy a regular expression that an input field must match. </p>
<p><code>&lt;validator for="field" regex="/test/i" &gt;Please enter 'test' only.&lt;/validator&gt; </code></p>
<p><b>- Callback: </b>callback validators can take a callback function that is run on the server-side. That callback function is passed the value of the input field, and the function must return true or false. This is used for really advanced validation (and it&#8217;s likely you will hardly ever use the callback validator) </p>
<p><code>&lt;validator for="field" callback="is_email"&gt;Not a valid e-mail address.validator&gt; </code></p>
<p><b>- Name: </b>name validator can be used to display a message or error only when you want to. They can only be shown when you manually show them using the trigger_error (&#8216;form&#8217;, &#8216;errorname&#8217;) method. </p>
<p><code>&lt;validator name="mymsg"&gt;This is my custom error!&lt;/validator&gt; </code></p>
<p><b>Then in PHP: </b></p>
<p><code>&lt;?php </p>
<p>$_FORMS-&gt;trigger_error ('example', 'mymsg'); </p>
<p>?&gt; </code></p>
<p>When using validators, you will probably want to check if a form validates or not. To do this, use the validate() method, as seen in demo 2: </p>
<p><code>If ($_FORMS-&gt;validate('example') == true) { </p>
<p>echo 'It validates!'; </p>
<p>} else { </p>
<p>echo It 'doesn\'t validate!'; </p>
<p>} </code></p>
<p><b>Client-Side Validation </b></p>
<p>PHP:Form also automatically generates client-side validation (JavaScript) when using validators. It natively supports the required, numeric and regex validators, but it doesn&#8217;t (fully) support the callback validator. This isn&#8217;t really possible either, because the callback validator points to a function on the server-side. But if you create a JavaScript function with the same name as the callback function, it will work, and it will run the JavaScript function you created. This gives you great power, and means you can even using advanced JavaScript functions and Ajax to validate data. </p>
<p>If you would like to see the client-side validation in action, have a look at demo 2 again, and make sure you have JavaScript enabled. You will probably notice how fast the errors are returned, and that no refresh happens at all. That&#8217;s the client-side validation. </p>
<p><b>Conclusion </b></p>
<p>In this first part of the PHP:Form series I have shown you what PHP:Form is: an extremely neat PHP form component, that is really useful for building web forms. I have been using it myself now for a few months, and I still can&#8217;t get over how great it is. It has really simplified things, and I can focus on the important stuff. If you&#8217;re still in doubt, have a look at the PHP:Form product page for more information and demo&#8217;s (<a href="http://phpscripts.pallettgroup.com/phpform/?ref=phpit">http://phpscripts.pallettgroup.com/phpform/?ref=phpit</a>). </p>
<p>I have also shown you exactly what validators are, and the different types. Validators are the most important part of PHP:Form, and you will probably use them in every form. You can some really interesting things with them, and when you combine a few validators it&#8217;s possible to create a extremely secure form. </p>
<p>In the next part I will have a look at &#8220;form types&#8221;, the form templates of PHP:Form. I will also have a look at setting default values, using the set_value() method of PHP:Form. </p>
<p>If you&#8217;re interested in purchasing PHP:Form, don&#8217;t forget to use the special PHPit coupon code: phpit </p>
<p>PHP:Form product page (<a href="http://phpscripts.pallettgroup.com/phpform/?ref=phpit">http://phpscripts.pallettgroup.com/phpform/?ref=phpit</a>)</p>
<p>Dennis Pallett is a young tech writer, with much experience in ASP, PHP and other web technologies. He enjoys writing, and has written several articles and tutorials. To find more of his work, look at his websites at http://www.phpit.net, <a href="http://www.aspit.net">http://www.aspit.net</a> and <a href="http://www.webdev-articles.com">http://www.webdev-articles.com</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/phpform-series-validators-clientside-validation-2005-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google AdSense Changes</title>
		<link>http://www.webpronews.com/google-adsense-changes-2005-07</link>
		<comments>http://www.webpronews.com/google-adsense-changes-2005-07#comments</comments>
		<pubDate>Thu, 14 Jul 2005 15:18:17 +0000</pubDate>
		<dc:creator>Darren Rowse</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[AdSense]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=20896</guid>
		<description><![CDATA[Reports Pages Redesign - Google Publishers will notice major changes to their reports pages when logging on today.
]]></description>
			<content:encoded><![CDATA[<p>Reports Pages Redesign &#8211; Google Publishers will notice major changes to their reports pages when logging on today.</p>
<p>I first logged on at a bleary eyed 7am and thought I&#8217;d gone to the wrong page.</p>
<p>The log in page now is a quick view report which gives an overview of the day&#8217;s figures (both Adsense for content and Adsense for search on the same page &#8211; good move Google). These can be viewed as today, yesterday, last 7 days, this month and last month which can be changed via a drop down menu.</p>
<p>Users are then given the ability to narrow these figures down to show the top performing channels for the period selected at the click of a button.</p>
<p>Underneath these figures are the options for a variety of quick reports which allow publishers to check their figures in a variety of reports. Options include this month by day&#8217;, this month by channel and day&#8217;, last month by day&#8217; and last month by channel and day&#8217;. Each of these allows you to download a CSV report next to them.</p>
<p>If you want a more detailed report (for example setting from one date to another) you can still do this by selecting the Advanced Reports&#8217; options at the top of the page.</p>
<p>Page impressions on channels can now be viewed in the two ways that your overall stats have been able to be viewed previously.</p>
<p>Overall the changes seem to be reasonable. It will take a little while to get used to the new format but largely the changes are fairly cosmetic with no real changes to the actual system.</p>
<p><b>Terms and Conditions Changes</b> &#8211; Also new today are some additions to the terms and conditions&#8217; page. Jen at Jensense has a <a href="http://www.jensense.com/">good summary of the changes</a> so rather than rehashing them all here I suggest you take a look at what she has to say. Most of the changes seem minor &#8211; some seem to deal with RSS ads.</p>
<p>The one I&#8217;m most interested in is that you now have to seek Google&#8217;s permission to put two different publisher&#8217;s codes on the one page. ie if you want to run ads for two different people on the one page. This will impact the revenue share systems of some blog networks.</p>
<p><b>New Demos</b> &#8211; Lastly they seem to have added <a href="https://www.google.com/support/adsense/bin/answer.py?answer=20957">some video Demos</a> for beginner Adsense publishers to help them get going.</p>
<p>You can see all the changes to the report pages laid out at the <a href="https://www.google.com/support/adsense/bin/answer.py?answer=21629">Adsense what&#8217;s new&#8217; page</a>. </p>
<p><a href="http://www.problogger.net/archives/2005/07/15/google-adsense-changes/#comments">Reader Comments</a>&#8230;</p>
<p><a name="darren"></a<a href="http://www.problogger.net">Darren Rowse</a> is the founder of <a href="http://www.problogger.net">ProBlogger.net</a>, a blog about the many ways of adding an income stream to blogs.</p>
<p>
Darren owns and writes a variety of blogs including <a href="http://www.livingroom.org.au/photolog">Digital Photography Blog</a> and <a href="http://www.livingroom.org.au/cameraphone">Camera Phone<br />
Zone</a>. He is also a co-founder of the <a href="http://www.breakingnewsblog.com">Breaking News Blog</a> Collective.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/google-adsense-changes-2005-07/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Demos Office Communicator 2005</title>
		<link>http://www.webpronews.com/microsoft-demos-office-communicator-2005-03</link>
		<comments>http://www.webpronews.com/microsoft-demos-office-communicator-2005-03#comments</comments>
		<pubDate>Thu, 10 Mar 2005 15:08:18 +0000</pubDate>
		<dc:creator>WebProNews</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=15718</guid>
		<description><![CDATA[Microsoft demonstrated its integrated communications client, Microsoft Office Communicator 2005.
]]></description>
			<content:encoded><![CDATA[<p>Microsoft demonstrated its integrated communications client, Microsoft Office Communicator 2005.</p>
<p>Microsoft also announced updates to the award-winning Microsoft Office Live Communications Server (LCS) 2005. These include a service pack (SP) and public instant-messaging (IM) connectivity (PIC) that together deliver enterprise-grade connectivity from an LCS enterprise to the MSN, AOL and Yahoo! public IM networks. Microsoft executives demonstrated Communicator and LCS 2005 during a global Web conference event.</p>
<p>According to <a href="http://www.pcworld.com/news/article/0,aid,119940,00.asp">PC World</a>,</p>
<p><i>&#8220;Gates said that in the next version of Microsoft Office, &#8216;a big theme will be taking real-time capabilities and building them into Office in a bigger way.&#8217; He added: &#8216;We think of collaboration in a very broad way,&#8217; ranging from an individual using the OneNote note-taking application on a tablet PC, to software for training and other group activities.</p>
<p>Mark Burnett, creator and executive producer of The Apprentice, who spoke from Santa Monica along with Microsoft Information Worker Group vice president Jeff Raikes, said he could benefit from the real-time communications features of the Microsoft products to track his various productions in several countries. He added that in the fourth season of The Apprentice, one of the tasks assigned to the competitors would involve Microsoft. Communicator and the Live Communications Server 2005 SP are slated to ship by midyear. Pricing will be announced at a later date. The 2005 upgrade for Live Meeting is due to become available to customers starting at the end of this week.&#8221;</i></p>
<p>&#8220;Communicator and Live Communications Server demonstrate how we are bringing integrated communications to life for our customers as rich presence and multimodal communications become an integrated part of the Microsoft Office System,&#8221; said Jeff Raikes, group vice president of the Information Worker Group at Microsoft. &#8220;Users now can view rich presence information for colleagues, partners and customers; select the most efficient mode of communication, whether it&#8217;s IM, a phone call, a Web conference or e-mail; and instantly share ideas and information.&#8221;</p>
<p>&#8220;With LCS and Communicator, organizations have a safe, easy way to IM and share presence information with colleagues, partners and customers,&#8221; said Gurdeep Singh Pall, corporate vice president of the Live Communications Team in the Real-Time Collaboration Group at Microsoft. &#8220;With the reach that PIC and enhanced federation provide, enterprise IM becomes a first-class business tool &#8212; as useful and ubiquitous as e-mail.&#8221;</p>
<p>WebProNews | Breaking eBusiness News<br />
Your source for investigative ebusiness reporting and breaking news.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/microsoft-demos-office-communicator-2005-03/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/35 queries in 0.016 seconds using memcached
Object Caching 487/570 objects using memcached

Served from: webpronews.com @ 2012-02-12 14:00:51 -->
