<?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>WebDevStar &#187; Dynamic Programming</title>
	<atom:link href="http://webdevstar.com/category/dynamic-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdevstar.com</link>
	<description>Produce, Promote &#38; Profit like a Pro</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:16:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How to Create a Draggable Sort List</title>
		<link>http://webdevstar.com/how-to-create-a-draggable-sort-list/</link>
		<comments>http://webdevstar.com/how-to-create-a-draggable-sort-list/#comments</comments>
		<pubDate>Mon, 31 May 2010 16:45:29 +0000</pubDate>
		<dc:creator>Anwar</dc:creator>
				<category><![CDATA[Content Management Systems]]></category>
		<category><![CDATA[Dynamic Programming]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[drag to sort]]></category>
		<category><![CDATA[draggable sort list]]></category>

		<guid isPermaLink="false">http://webdevstar.com/?p=962</guid>
		<description><![CDATA[<a href="http://webdevstar.com/how-to-create-a-draggable-sort-list/" title="How to Create a Draggable Sort List"></a>One of my favorite features of a content management system is a drag to sort list. Something similar can be seen in systems like the widgets module in WordPress. Before I realized it was there, a few clients have asked &#8230;<p class="read-more"><a href="http://webdevstar.com/how-to-create-a-draggable-sort-list/">Read more &#187;</a></p><p><a href="http://webdevstar.com/how-to-create-a-draggable-sort-list/">How to Create a Draggable Sort List</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
]]></description>
			<content:encoded><![CDATA[<a href="http://webdevstar.com/how-to-create-a-draggable-sort-list/" title="How to Create a Draggable Sort List"></a><p>One of my favorite features of a <a title="CMS" href="http://www.intranetjournal.com/php-cms/" target="_blank">content management system</a> is a drag to sort list. Something similar can be seen in systems like the widgets module in WordPress.</p>
<p>Before I realized it was there, a few clients have asked me to integrate these lists so they can better manage items for their website.</p>
<p>This is a relatively new dynamic web application feature that some sites may be using. I will show you how to implement one of these using simple techniques and tools.</p>
<p>First you will need <span id="more-962"></span>a Javascript Library called <a title="Get Scriptaculous" href="http://script.aculo.us/" target="_blank">Scriptaculous</a>. Download it and add to a directory where your main PHP files for this app will be.</p>
<p>You will need access to a database. I use MySQL, but if you are experienced with others, you may be able to adjust the codes accordingly.</p>
<p>The first PHP file you will create is a class file. In it you will add a database connection function and a main query function. You will also need to create 6 other core functions to run the application.</p>
<p>Here is an <a title="Class File" href="/examples/listsrt_class.txt" target="_blank">example class file</a> you can use. This can be changed accordingly to match your db settings. You will also need to create a database table with 4 fields. These are id, title, link and sort order.</p>
<p>Here&#8217;s a pic for reference.</p>
<p><img class="aligncenter size-full wp-image-964" title="This is how your table should look" src="http://webdevstar.com/articles/wp-content/uploads/2010/05/sbc-ex1.png" alt="db table example" width="500" height="286" /></p>
<p>Now that you have the basic core files setup, it&#8217;s time to do some interface scripting.</p>
<p>The next set of files you will create will be what the admin will see. These will be 5 files, one to display the main list, one to add new items, another to delete items, one to edit an item and finally a file to sort the items. Now I can&#8217;t just say go create&#8230;I have to give you some kind of reference.</p>
<p><a title="Get Files" href="/examples/sbcfiles.zip">Grab the files here.</a></p>
<p>Implement and start testing. You should be able to sort, reload and see your changes in effect. Because whatever you see in the admin, that&#8217;s the order it will be displayed on the front.</p>
<p>You will also have an ability to add, edit or delete a record. You can sort up or down. But beware, I&#8217;ve had problems when I displayed the list inline. The sort function still works but in an awkward way and not as smoothly.</p>
<p>Once you are satisfied that the application does what it needs to on the backend. You can now go ahead and display the list on the front. Style however you want. Changes are seen when you load the page and not live while looking at the page. So it won&#8217;t freak your visitors out, because they don&#8217;t see anything moving around while browsing. Here is an <a title="List example" href="/examples/wdss.txt" target="_blank">example file</a>.</p>
<p>Let me know if you enjoyed this tutorial. And if and how you use this sweet little app.</p>
<p>Note: by the way you have to change the extension of the example files to php.</p>
<p><a href="http://webdevstar.com/how-to-create-a-draggable-sort-list/">How to Create a Draggable Sort List</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
<img src="http://webdevstar.com/articles/?ak_action=api_record_view&id=962&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://webdevstar.com/how-to-create-a-draggable-sort-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 Free Web Application Development Tools</title>
		<link>http://webdevstar.com/top-10-free-web-application-development-tools/</link>
		<comments>http://webdevstar.com/top-10-free-web-application-development-tools/#comments</comments>
		<pubDate>Fri, 21 May 2010 07:32:29 +0000</pubDate>
		<dc:creator>Anwar</dc:creator>
				<category><![CDATA[Dynamic Programming]]></category>
		<category><![CDATA[web app tools]]></category>
		<category><![CDATA[web dev tools]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://webdevstar.com/?p=865</guid>
		<description><![CDATA[<a href="http://webdevstar.com/top-10-free-web-application-development-tools/" title="Top 10 Free Web Application Development Tools"></a>I use all but one of the tools in this list for web application development. They help streamline most of my work as a web developer. This is PC based&#8230;so I&#8217;m not sure which will work on the Mac. jEdit &#8230;<p class="read-more"><a href="http://webdevstar.com/top-10-free-web-application-development-tools/">Read more &#187;</a></p><p><a href="http://webdevstar.com/top-10-free-web-application-development-tools/">Top 10 Free Web Application Development Tools</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
]]></description>
			<content:encoded><![CDATA[<a href="http://webdevstar.com/top-10-free-web-application-development-tools/" title="Top 10 Free Web Application Development Tools"></a><p>I use all but one of the tools in this list for <a title="Web Applications Developer" href="/sample-websites">web application development</a>. They help streamline most of my work as a web developer. This is PC based&#8230;so I&#8217;m not sure which will work on the Mac.</p>
<ol>
<li>jEdit</li>
<li>Web Developer Tool Bar for FireFox</li>
<li>FileZilla</li>
<li>MySQL</li>
<li>Gimp</li>
<li>Codeignitor</li>
<li>Project Pier</li>
<li>Subversion</li>
<li>Open office</li>
<li>IE Tester</li>
</ol>
<p>I&#8217;ve never really used subversion. I will try to explore it in the future.</p>
<p>I&#8217;ve built applications with Codignitor and it&#8217;s really easy to work with. The Web Developers tools bar is practically an extension of me, and the same for jEdit and FileZilla.<br />
<!-- google_ad_section_end --></p>
<p>Use any of these tools? Please tell us about it.</p>
<p><a href="http://webdevstar.com/top-10-free-web-application-development-tools/">Top 10 Free Web Application Development Tools</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
<img src="http://webdevstar.com/articles/?ak_action=api_record_view&id=865&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://webdevstar.com/top-10-free-web-application-development-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Standards Compliance?</title>
		<link>http://webdevstar.com/what-is-standards-compliance/</link>
		<comments>http://webdevstar.com/what-is-standards-compliance/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 13:01:47 +0000</pubDate>
		<dc:creator>Anwar</dc:creator>
				<category><![CDATA[Dynamic Programming]]></category>
		<category><![CDATA[Website Design Basics]]></category>
		<category><![CDATA[Compliance]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Standards Compliance]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[validator]]></category>
		<category><![CDATA[w3.org]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[World Wide Web Consortium]]></category>

		<guid isPermaLink="false">http://webdevstar.com/?p=121</guid>
		<description><![CDATA[<a href="http://webdevstar.com/what-is-standards-compliance/" title="What is Standards Compliance?"></a>What is standards compliance? Standards Compliance refers to a set of best practice principles that can govern any given industry including web development. There are a few organizations that regulate these principles, most notably the World Wide Web Consortium. Web &#8230;<p class="read-more"><a href="http://webdevstar.com/what-is-standards-compliance/">Read more &#187;</a></p><p><a href="http://webdevstar.com/what-is-standards-compliance/">What is Standards Compliance?</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
]]></description>
			<content:encoded><![CDATA[<a href="http://webdevstar.com/what-is-standards-compliance/" title="What is Standards Compliance?"></a><p><strong>What is standards compliance?</strong></p>
<p>Standards Compliance refers to a set of best practice principles that can govern any given industry including web development. There are a few organizations that regulate these principles, most notably the World Wide Web Consortium. Web Browsers and other web interfaces are often developed to comply with the  standards the W3C puts forth. If a website is not validated as complying with these principles, then there might be errors in the final output.</p>
<p><strong>How important is it?</strong><br />
<span id="more-121"></span><br />
Being standard compliant is not the end all be all of web development. I have websites that are validated and a few that are not. In many cases, a site validates 100%, but other dynamic elements might bring that down a few points. If your site validates as Standard Compliant,  some directories might list you just for that reason. In fact it can improve your sites overall ranking on many search engines. This also improves how many devices can actually interpret your site accurately, which is directly linked to the amount of users that will find you.</p>
<p><strong>Shortcuts and Tips</strong></p>
<p>Achieving full or almost full compliance is not that difficult. Many software and applications used for web development can help find errors in  a site. For example;  Dreamweaver has an option that allows this. The web development extension for Firefox can help you here also. And the number one place to go is <cite><a title="Validate your website" href="http://validator.w3.org"><strong>valid</strong>ator.w3.org</a>.</cite></p>
<p>W3.org also offers a corrected, fully compliant version of any unvalidated pages.</p>
<p>Conclusion</p>
<p>Standard compliance is very useful as a search engine optimization method, and insuring proper compatibility with various devices. Although some might overlook this for various reasons, the benefits are clear. It&#8217;s a good idea to check your code for errors at various intervals of production, avoiding  simple mistakes. But generally, validation is done as part of the final edit and review process.</p>
<p><a href="http://webdevstar.com/what-is-standards-compliance/">What is Standards Compliance?</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
<img src="http://webdevstar.com/articles/?ak_action=api_record_view&id=121&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://webdevstar.com/what-is-standards-compliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial for Beginners</title>
		<link>http://webdevstar.com/php-tutorial-for-beginners/</link>
		<comments>http://webdevstar.com/php-tutorial-for-beginners/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 20:23:03 +0000</pubDate>
		<dc:creator>Anwar</dc:creator>
				<category><![CDATA[Dynamic Programming]]></category>
		<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Dynamic web]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[strings]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://webdevstar.com/?p=253</guid>
		<description><![CDATA[<a href="http://webdevstar.com/php-tutorial-for-beginners/" title="PHP Tutorial for Beginners"></a>In this beginners guide to PHP, I will introduce you to one of the best languages to build websites with. I&#8217;ve used it for several years with much success. I encourage you to read on, as this is not your &#8230;<p class="read-more"><a href="http://webdevstar.com/php-tutorial-for-beginners/">Read more &#187;</a></p><p><a href="http://webdevstar.com/php-tutorial-for-beginners/">PHP Tutorial for Beginners</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
]]></description>
			<content:encoded><![CDATA[<a href="http://webdevstar.com/php-tutorial-for-beginners/" title="PHP Tutorial for Beginners"></a><p>In this beginners guide to <a title="PHP: A Simple Tutorial [Opens in New Window]" href="http://us.php.net/tut.php" target="_blank">PHP</a>, I will introduce you to one of the best languages to build websites with. I&#8217;ve used it for several years with much success. I encourage you to read on, as this is not your typical technical tutorial.</p>
<p>PHP is a server side scripting language widely used  in website development today. PHP stands for PHP: Hypertext Preprocessor. It is an <a title="The Open Source Definition [Opens in New Window]" href="http://www.opensource.org/docs/osd" target="_blank"><strong>Open Source Language</strong></a> that provides a way to build dynamic web applications.</p>
<p>Unlike HTML, and JavaScript, PHP is <span id="more-253"></span>not visible in a site&#8217;s browser source code. It is known to have excellent security, scalability, and provides a powerful set of tools for web programmers.</p>
<p>It&#8217;s an alternative to ASP, JavaScript, Perl, C and other languages. The environment I usually work in is called LAMP. This means Linux, Apache, MySQL, and PHP. The first being the Operating System, the second being the Web Server, the third is the Database Server and the final is the Scripting Language.</p>
<p>Although it can be used on Windows Systems, and flexible enough for use in a wide variety of situations, this is the best combination to work with. PHP is also an Object Oriented Programming Language. For me, perhaps because of how my mind is wired, OOP is fantastic and smooth. It&#8217;s like legos.</p>
<p>Most web hosting companies provide PHP pre-installed and configured.  So developers can start working right away. With that said, even the layman can start using it after hosting is setup.</p>
<p>Instead of naming your pages with an extension of <strong>.htm</strong> or <strong>.html</strong>, simply use <strong>.php</strong>. The document will still display the same way as if written only HTML.</p>
<p>Now, with your file types as .php, it opens up a whole new world, full of useful tools to build even better, more interactive web applications.</p>
<p>But don&#8217;t take this as an abandonment of other languages. HTML is still your best friend. It is still the framework of your visible website. PHP does a number of things to improve how we can use HTML.  It provides enhanced options that compliment the HTML.  It can spit out any of the HTML, or even JavaScript.  It helps with file and image handling. Takes inputs and works hand in hand with the database server.</p>
<h2>Code Demo</h2>
<p>As a simple demo, and to quench the thirst of those who want to get into code; I will show you how to display a simple message with PHP.</p>
<p>Anywhere in a PHP document, PHP code can be placed. All PHP code is embodied by opening tags and closing tags. Just like in HTML. These tags are <strong>&lt;?php</strong> and <strong>?&gt;</strong>. They are opening and closing tags respectively. In many cases you can just use<strong> &lt;?</strong> and<strong> ?&gt;</strong>.</p>
<p>To display some information to the screen, a simple function called <strong>echo or print</strong> can be used. To use this function, simply call it with a line like this:</p>
<p><strong>&lt;?php echo &#8220;Hello World&#8221;; ?&gt;</strong></p>
<p><em>Hello World</em> is where your custom information would be. This will display &#8220;Hello World&#8221; where ever you placed it (without the quotations of course). A more simplified version of the line above is <strong>&lt;?=&#8217;Hello World&#8217;?&gt;</strong>. As you can see, this saves a little bit more space and is easier to deploy and manage.</p>
<p>Another simple demonstration, if that was just a teaser; PHP allows variables on several levels. I will just discuss a variable across any scope. A variable is like the shell of a peanut. It holds content.</p>
<p>In the Hello World example above, I showed how to print a line of text to the screen. This line of text is called a string. We can set the content of a variable to be the string. In other words, I can remove the nut from the shell and replace with something else. The variable is like the shell, and only the variable is handled after the content is set.</p>
<p>Also, we can also name our variable. In PHP a variable is named by using &#8220;$&#8221; then any random selection, starting with a lower case letter only and upper or lower case letters and numbers there after.</p>
<p>A variable can be declared, or made to exist by simply writing it out.</p>
<p>For example: <strong>&lt;?  $firstname</strong>;  <strong>?&gt;</strong>.</p>
<p>This variable is not set with any content and would output nothing to the screen if used in our above example. We can set its content by writing <strong>&lt;?  $firstname</strong> = &#8216;Hello World&#8221;;  <strong>?&gt;. </strong>Then somewhere else we can display our message like this; <strong>&lt;?= $firstname</strong> <strong>?&gt;. </strong>Again very easy to deploy, the content can be as long as needed, be set in a more organized way, that does not upset the flow of your code.</p>
<p>It doesn&#8217;t matter if a variable is set somewhere else in the document, as long as it&#8217;s physically written above the point where it must be displayed.  With loops (which I will do a separate article on) variables can be set after each loop. And it is OK to open and close the PHP tags and still transfer the information throughout the document.</p>
<p>Conclusion</p>
<p>This is just an introduction to PHP and how useful it can be. The point of variables is to hold and transfer information. Variables can be set with other variables, not just strings. In Dynamic web programming it is often necessary to use PHP to collect information from users, transfer and process that information for specific uses.  Make it your friend.</p>
<p><a href="http://webdevstar.com/php-tutorial-for-beginners/">PHP Tutorial for Beginners</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
<img src="http://webdevstar.com/articles/?ak_action=api_record_view&id=253&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://webdevstar.com/php-tutorial-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic Programming Tutorial (An Introduction)</title>
		<link>http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/</link>
		<comments>http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 22:55:22 +0000</pubDate>
		<dc:creator>Anwar</dc:creator>
				<category><![CDATA[Dynamic Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[intelligent]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://webdevstar.com/?p=240</guid>
		<description><![CDATA[<a href="http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/" title="Dynamic Programming Tutorial (An Introduction)"></a>How is Dynamic Programming different than normal web coding? Unlike plain HTML and CSS, dynamic web pages are created using web programming languages such as JavaScript and PHP. They are often database driven and highly interactive. With dynamic programming, allot &#8230;<p class="read-more"><a href="http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/">Read more &#187;</a></p><p><a href="http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/">Dynamic Programming Tutorial (An Introduction)</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
]]></description>
			<content:encoded><![CDATA[<a href="http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/" title="Dynamic Programming Tutorial (An Introduction)"></a><h2>How is Dynamic Programming different than normal web coding?</h2>
<p>Unlike plain HTML and CSS, dynamic web pages are created using web programming languages such as JavaScript and PHP. They are often database driven and highly interactive. With <a title="Get a dynamic web page built" href="http://webdevstar.com/sample-websites/">dynamic programming</a>, allot of information parsing can be done before, and after the user initiates an action on the page. Often without them noticing.</p>
<p>With dynamic websites, you can gather more information from users, transfer more information to users and have  a rapid, interactive and intelligent product. This will increase page views, increase sales,  and overall provide a more robust platform for your business.<span id="more-240"></span></p>
<h3>Is is this easy or not?</h3>
<p>This can be easy in some cases and absolutely painful in others. It all depends on the type of application you need and eventually end up using. Some sites now use free pre-built applications with more options than is usually needed. In most cases that can be very easy,  but in others, there can be sudden upsets, setbacks and even disasters. A custom site that&#8217;s built to be moderately or fully dynamic by you, another developer or a team of programmers might be tough to manage by some, but your site will be far easier to manage and update down the line.<br />
<!--protected--></p>
<h3>How can I start building dynamic sites and applications</h3>
<p>In order to successfully build a dynamic website, you must either be a top notch Web Programmer,  hire one, or hire a team. A strong understanding of websites built on PHP or other dynamic web language is useful.  Like any other business, you must have models for every aspect of your business. A model can be a few lines describing the goals or it can be a full blown flow chart.</p>
<p>A dynamic site will allow greater leverage of the web technologies available, and help you harness the power of  the Internet. If built just right, they can be very powerful and successful.<!--/protected--></p>
<p><a href="http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/">Dynamic Programming Tutorial (An Introduction)</a> is a post from: <a href="http://webdevstar.com">WebDevStar.com</a> | &copy; WebDevStar.com</p>
<img src="http://webdevstar.com/articles/?ak_action=api_record_view&id=240&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://webdevstar.com/programming-tutorial-introducing-dynamic-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
