<?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>Musings of a code slave</title>
	<atom:link href="http://foundationphp.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://foundationphp.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 04 Aug 2010 17:40:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Get the best out of the DW Server Behavior Builder</title>
		<link>http://foundationphp.com/blog/2010/08/04/server-behavior-builder-max2010/</link>
		<comments>http://foundationphp.com/blog/2010/08/04/server-behavior-builder-max2010/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 17:40:16 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=145</guid>
		<description><![CDATA[The Server Behavior Builder (SBB) has been part of Dreamweaver for a long time, but few people seem to realize just how useful it can be in speeding up development with PHP or other server-side languages. What makes the SBB &#8230; <a href="http://foundationphp.com/blog/2010/08/04/server-behavior-builder-max2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Server Behavior Builder (SBB) has been part of Dreamweaver for a long time, but few people seem to realize just how useful it can be in speeding up development with PHP or other server-side languages. What makes the SBB so powerful is its ability to insert commonly used blocks of code simultaneously in different parts of the page. Just add placeholders for values that will be different each time, and Dreamweaver automatically builds a dialog box for you to fill in.</p>
<p>The beauty of the Server Behavior Builder is that it&#8217;s <em>not</em> dependent on Dreamweaver&#8217;s built-in server behaviors. You can use it with your own code or in conjunction with a third-party PHP library, such as the <a href="http://framework.zend.com/">Zend Framework</a>.</p>
<p>I&#8217;m thrilled to have been chosen to present a hands-on demonstration of using the SBB at <a href="http://max.adobe.com/sessions/catalog/">Adobe MAX in Los Angeles</a> at 3:30pm on Tuesday, 26 October. It&#8217;s a BYOL (bring your own laptop) Lab. I&#8217;ll be showing how to create several useful tools to speed up PHP development, and I&#8217;ll also show you how to package your server behaviors as Dreamweaver extensions, so you can move them quickly to another computer or share them with friends and colleagues.</p>
<p>Even if you&#8217;ve learned about the SBB from my books, this session will go into greater detail, and will be based on new material. All the necessary files will be provided. Just bring yourself and a laptop. So, <a href="http://max.adobe.com/registration/">register for Adobe MAX 2010</a> and sign up for my BYOL Lab. See you in LA!</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/08/04/server-behavior-builder-max2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DW CS5 with PHP book on Rough Cuts</title>
		<link>http://foundationphp.com/blog/2010/05/03/dw-cs5-with-php-book-on-rough-cuts/</link>
		<comments>http://foundationphp.com/blog/2010/05/03/dw-cs5-with-php-book-on-rough-cuts/#comments</comments>
		<pubDate>Mon, 03 May 2010 15:01:23 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=138</guid>
		<description><![CDATA[If you would like to get early access to my next book &#8220;Adobe Dreamweaver CS5 with PHP: Training from the Source&#8221;, the first six chapters (of 12) are now available as Rough Cuts in Creative Edge and Safari Books Online. &#8230; <a href="http://foundationphp.com/blog/2010/05/03/dw-cs5-with-php-book-on-rough-cuts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you would like to get early access to my next book <a title="See a detailed description of the book" href="/phpcs5/">&#8220;Adobe Dreamweaver CS5 with PHP:  Training from the Source&#8221;</a>, the first six chapters (of 12) are now  available as Rough Cuts in <a href="http://www.creativeedge.com/9780132117906">Creative Edge</a> and <a href="http://my.safaribooksonline.com/9780132117906">Safari  Books Online</a>.</p>
<p>If you have a Safari Library subscription, you can  view the chapters free of charge, and see new ones as they&#8217;re added.  Without a subscription, you can get access to the book in PDF format for  $34.99, including the finished ebook version when the book is complete.  You can also opt for the Rough Cuts PDF and Print bundle for $67.48.  The print version is expected to be released in early August.</p>
<p>The chapters currently available are Lessons 1-3 and 4-7, covering the following subjects:</p>
<ul>
<li>An in-depth look at all the PHP features in Dreamweaver CS5</li>
<li>Instructions for setting up a local PHP development environment</li>
<li>A quick PHP crash course (or refresher)</li>
<li>Creating your own database in MySQL</li>
<li>Using Dreamweaver server behaviors for automatic code generation</li>
<li>Building a robust user registration system with Zend_Validate and Zend_Db</li>
</ul>
<p>Chapters still to come concentrate heavily on using selected modules of the Zend Framework for sending email, uploading files, and building a content management system. (To avoid any misunderstanding, the book does not use the MVC design pattern—it follows what the ZF documentation calls &#8220;use at will&#8221; design, making use of individual components.)</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/05/03/dw-cs5-with-php-book-on-rough-cuts/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>New extension to convert colours to RGBA</title>
		<link>http://foundationphp.com/blog/2010/04/30/new-extension-to-convert-colours-to-rgba/</link>
		<comments>http://foundationphp.com/blog/2010/04/30/new-extension-to-convert-colours-to-rgba/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:05:44 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=136</guid>
		<description><![CDATA[CSS3 offers a new way to define colours: RGBA. This extends the RGB (red, green, blue) colour model to include alpha transparency. Unfortunately, RGBA does not accept hexadecimal values for colours. So, I have created a free Dreamweaver extension that &#8230; <a href="http://foundationphp.com/blog/2010/04/30/new-extension-to-convert-colours-to-rgba/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>CSS3 offers a new way to define colours: RGBA. This extends the RGB (red, green, blue) colour model to include alpha transparency. Unfortunately, RGBA does not accept hexadecimal values for colours. So, I have created a free Dreamweaver extension that converts from hexadecimal (or the 17 named colours) to RGBA. It&#8217;s free, and can be downloaded from <a href="/tools/">the Tools page on this site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/04/30/new-extension-to-convert-colours-to-rgba/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lorem and More updated for Dreamweaver CS5</title>
		<link>http://foundationphp.com/blog/2010/04/30/lorem-and-more-updated-for-dreamweaver-cs5/</link>
		<comments>http://foundationphp.com/blog/2010/04/30/lorem-and-more-updated-for-dreamweaver-cs5/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 13:59:29 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=133</guid>
		<description><![CDATA[During testing of Dreamweaver CS5, I discovered that my filler-text extension, Lorem and More, caused it to crash under certain circumstances. I have updated the code in the extension to make it compatible with Dreamweaver CS5. Please download Lorem and &#8230; <a href="http://foundationphp.com/blog/2010/04/30/lorem-and-more-updated-for-dreamweaver-cs5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>During testing of Dreamweaver CS5, I discovered that my filler-text extension, Lorem and More, caused it to crash under certain circumstances. I have updated the code in the extension to make it compatible with Dreamweaver CS5. Please <a href="/tools/">download Lorem and More 1.3.0</a> if you&#8217;re upgrading to Dreamweaver CS5 or using the trial version.</p>
<p>Although it&#8217;s not necessary to upgrade Lorem and More if you&#8217;re using an older version of Dreamweaver, it&#8217;s compatible with all versions of Dreamweaver from DW4 to CS5.</p>
<p>My thanks to fellow Adobe Community Professional, Danilo Celic, for helping identify the cause of the incompatibility with CS5.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/04/30/lorem-and-more-updated-for-dreamweaver-cs5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver CS5 is good news for PHP devs</title>
		<link>http://foundationphp.com/blog/2010/04/12/dreamweaver-cs5-is-good-news-for-php-devs/</link>
		<comments>http://foundationphp.com/blog/2010/04/12/dreamweaver-cs5-is-good-news-for-php-devs/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 09:10:32 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=122</guid>
		<description><![CDATA[So, Adobe has finally released details of Creative Suite 5, and you’ll be able to get your hands on it at the end of this month. As the author of a forthcoming book on Dreamweaver (Adobe Dreamweaver CS5 with PHP: &#8230; <a href="http://foundationphp.com/blog/2010/04/12/dreamweaver-cs5-is-good-news-for-php-devs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Book cover" src="/images/blog/DWPHP.jpg" alt="Book cover" width="108" height="132" />So, Adobe has finally released details of <a href="http://www.adobe.com/products/creativesuite/">Creative Suite 5</a>, and you’ll be able to get your hands on it at the end of this month. As the author of a forthcoming book on Dreamweaver (<a title="See a detailed description of the book" href="/phpcs5/"><em>Adobe Dreamweaver CS5 with PHP: Training from the Source</em></a>), I’ve had the opportunity to explore the <a href="http://www.adobe.com/products/dreamweaver/">new features of Dreamweaver CS5</a> for some time. Here are my thoughts.</p>
<p>When CS4 was released 18 months ago, I described it as the “most significant release of Dreamweaver since Dreamweaver MX ”. To my mind, Dreamweaver CS5 just blows CS4 out of the water. Before I explain why, let me address the negatives. At least three groups of people are going to be disappointed by this new release:</p>
<ul>
<li>Early adopters of HTML5 and CSS3—support is close to zero.</li>
<li>Developers of dynamic sites hoping for new server behaviors—there aren’t any.</li>
<li>Former users of GoLive—Dreamweaver CS5 hasn’t incorporated any features from GL.</li>
</ul>
<p>With the debate that has been raging over Apple’s decision to ban Flash from the iPad and iPhone in the name of HTML5 and “web standards”, many will be stunned to learn that the only concession to HTML5 in Dreamweaver CS5 is the option to use an HTML5 <code>DOCTYPE</code>. There’s also no support for CSS3. Has Adobe missed the boat on this? In publicity terms, maybe. In reality, I don’t think so.<span id="more-122"></span></p>
<p>HTML5 and CSS3 are still evolving. The current web standards are still HTML 4.01, XHTML 1.0, and CSS2.1. Moreover, Dreamweaver is extensible. Rick Curran has already created <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;extid=1986525">an extension for CSS3 code hints</a>. You can also add HTML5 tags to Dreamweaver through the Tag Library. No doubt someone will come up with an extension for that, too. In my view, it would have been a mistake for Adobe to release a half-baked implementation of incomplete standards that are still not supported on all browsers in widespread use.</p>
<p>The other decision that’s likely to cause controversy is the lack of new server behaviors. In fact, some have been removed: CS5 has continued the process of weeding out support for less popular (at least among Dreamweaver users) server-side technologies. JSP and ASP.NET were dropped in CS4. Now, ASP JavaScript has gone, too, although ASP VBScript still survives. There are a few minor security improvements and bug fixes to the PHP server behaviors, but nothing new.</p>
<p>The basic design of the server behaviors is now eight years old, so many people had been asking for new, improved ones, particularly after the decision to drop Adobe Dreamweaver Developer Toolbox (ADDT) last year. Few people realized the significance of that move. This is only my personal opinion, but I think Adobe was sending a clear signal that it’s not in the business of creating server behaviors to automate the generation of server-side code. It’s leaving that market to extension developers like <a href="http://www.webassist.com/">WebAssist</a>, <a href="http://www.cartweaver.com/">CartWeaver</a>, <a href="http://www.dmxzone.com/">DMXZone</a>, and others.</p>
<p>So, what is it about Dreamweaver CS5 that I like so much? Lots!</p>
<p>One of the biggest improvements is that Live View now works like a browser. “What’s new about that?” you might think. The difference is that in CS5, the links work. Hold down Ctrl/Cmd while clicking a link, and the target page loads into the Dreamweaver Document window—even if it’s a live page on the internet (assuming, of course, that you’re connected). The Related Files toolbar gives you direct access to the code of all pages linked to the new page. If the target page is on a remote site, the code is read-only; but on a local site, you can edit the code, and press F5 to see the results in Live View. If you want to keep the changes, there’s a new option on the File menu to Save All Related Files.</p>
<p>If you’re still wondering why this is an improvement, just try it with a content management system (CMS) like <a href="http://wordpress.org/">WordPress</a>, <a href="http://drupal.org/">Drupal</a>, or <a href="http://www.joomla.org/">Joomla!</a> As long as you have set up a testing server, you can now view a CMS in Live View. Not only that, Dreamweaver CS5 lets you interact directly with a database. You can test online forms in Live View, inserting database records, updating, and deleting them. Dreamweaver CS5 eliminates the need to make constant round trips to a browser for testing, because the browser is right there in the Document window.</p>
<p><img class="alignleft" title="Working with a database in Dreamweaver Live View" src="/images/blog/db_liveview.jpg" alt="User registration form in DW Live View" width="686" height="527" /></p>
<p>Of course, you still need to test pages in a variety of browsers, but you can launch <a href="https://browserlab.adobe.com/">BrowserLab </a>directly from Dreamweaver to test your pages in Adobe’s online service. Up to now, BrowserLab has been free, but it’s being turned into a paid-for service. Your purchase of Dreamweaver CS5 or one of the suites gives you continued free access to BrowserLab and InContext Editing for another year. <ins datetime="2010-04-12T17:08:03+00:00">[Update] Adobe announced today that development of InContext Editing is being terminated. You will be able to maintain existing sites, but the service will cease to exist as a standalone service in 2011. For more details, <a href="http://www.adobe.com/products/incontextediting/faq/">see the InContext Editing FAQ</a>.</ins></p>
<p>The related files feature now searches for dynamically related files, in addition to those directly linked to the current page. This gives users of WordPress and other CMSs access to the style sheets, which you can edit in Split view or through the CSS Styles panel, seeing the results immediately right inside Dreamweaver. You can even navigate to inside pages of a CMS to style them. And to make it easier to work with CSS, Live View has a CSS Inspect button that highlights block-level elements, padding, and margins in the same way as Firebug—all within the Document window. Another Firebug-like feature is the ability to disable a style rule temporarily by clicking next to the property name in the CSS Styles panel.</p>
<p style="text-align: center;"><img class="alignleft" title="Editing WordPress in Live View" src="/images/blog/wp_in_live_view.jpg" alt="WordPress in Dreamweaver CS5" width="600" height="293" /></p>
<p>As a PHP developer, it’s the changes in Code view that really excite me. When you start typing a PHP script in Dreamweaver CS5, you’ll immediately notice a red marker in the line numbers column and an alert about a syntax error.</p>
<p><img class="aligncenter" title="PHP syntax checking in Dreamweaver" src="/images/blog/syntax_check.jpg" alt="Syntax error alert" width="438" height="54" /></p>
<p>Complete the line without errors, and the marker and warning disappear. Dreamweaver constantly checks your syntax on the fly. It doesn’t tell you what the errors are, but it highlights all lines with errors, making the debugging process much quicker. PHP code hints have also been improved dramatically. There’s full support for all core functions, constants, and classes (as of PHP 5.2).</p>
<p><img class="aligncenter" title="Code hints for PHP DateTime class" src="/images/blog/class_hint.jpg" alt="PHP class code hinting" width="423" height="325" /></p>
<p>Code hinting is also much smarter. Instead of needing to search through code hints alphabetically, Dreamweaver CS5 searches for substrings. This is helpful when you can’t remember the exact name of function or class—just type the part of the name that you remember, and Dreamweaver includes it in the list. You can also work out your own shortcuts. For example, if you press Ctrl+spacebar and type <strong>gesi</strong>, the code hints take you straight to <code>getimagesize()</code> by recognizing the <strong>ge </strong>of “image” and the <strong>si </strong>of “size”. And in case you don’t know how a function or class works, the official manual page—complete with code examples—appears as a tooltip at the bottom of the selected code hint.</p>
<p><img class="aligncenter" title="PHP code hint shortcut and documenation in DW CS5" src="/images/blog/codehints.jpg" alt="Dreamweaver CS5 code hints for PHP" width="525" height="288" /></p>
<p>Incidentally, the smart nature of code hints also applies to style sheets. If, like me, you constantly pick <code>widows</code> instead of <code>width</code>, just type <strong>dt</strong>—it takes you straight to <code>width</code>.</p>
<p>For serious PHP developers, it gets even better. Dreamweaver CS5 is capable of code introspection, so it builds code hints on the fly for your own functions and classes, as well as for third-party libraries, such as the Zend Framework.</p>
<p><img class="alignleft" title="Generating code hints for Zend Framework" src="/images/blog/zend_class.jpg" alt="Zend Framework hints" width="594" height="167" /></p>
<p>The definition files don’t even need to be directly attached to the page you’re working in. With Site-Specific Code Hints, you tell Dreamweaver where your library files are located, and it scans them for you automatically.</p>
<p><img class="aligncenter" title="Setting up site-specific code hints in Dreamweaver CS5" src="/images/blog/zendhints.jpg" alt="Dialog box" width="600" height="412" /></p>
<p>My feeling is that Adobe made the right decisions. HTML5 and CSS3 are not ready for prime time; and server behaviors can offer only a limited number of options if they’re to remain manageable. Site-Specific Code Hints and the improvements to Live View open up a vast new range of opportunities to the beginner and more experienced PHP developer alike. I liked Dreamweaver CS4 a lot, but CS5 is a huge improvement.</p>
<p>Of course, Adobe can’t stop there. CS6 will need to offer solid support for HTML5 and CSS3, but by that time the specification should have settled down and browsers should have caught up.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/04/12/dreamweaver-cs5-is-good-news-for-php-devs/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>New tutorials and articles</title>
		<link>http://foundationphp.com/blog/2010/01/23/new-tutorials-and-articles/</link>
		<comments>http://foundationphp.com/blog/2010/01/23/new-tutorials-and-articles/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 18:34:46 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[AJAX/JavaScript]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=118</guid>
		<description><![CDATA[I have just added to my site a tutorial on converting a Spry Menu Bar into a server-side include. I have also been busy adding a bunch of brief articles to the Dreamweaver Cookbook on the Adobe site. I answer &#8230; <a href="http://foundationphp.com/blog/2010/01/23/new-tutorials-and-articles/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have just added to my site a tutorial on <a href="/tutorials/sprymenu/ssi.php">converting a Spry Menu Bar into a server-side include</a>. I have also been busy adding a bunch of brief articles to the <a href="http://cookbooks.adobe.com/dreamweaver">Dreamweaver Cookbook on the Adobe site</a>.</p>
<p>I answer a lot of questions in the Dreamweaver forums, and realized that a lot of the solutions I was coming up with for people weren&#8217;t easy to find after a couple of days. So, rather than letting them disappear into cyberoblivion, I decided to add any of general interest to the cookbook when I had a few spare moments. The Dreamweaver Cookbook is intended for code samples, and doesn&#8217;t have the capability of including screenshots, so I&#8217;ll continue posting longer tutorials on my own site. But I hope you&#8217;ll find my contributions to the cookbook useful.</p>
<p>Here are direct links to some of the articles I have added to the Dreamweaver Cookbook:</p>
<ul>
<li><a href="http://cookbooks.adobe.com/post_Create_nested_lists_from_a_recordset__PHP_-16720.html">Create nested lists from a recordset</a></li>
<li><a href="http://cookbooks.adobe.com/post_Set_a_time_limit_on_a_login_session__PHP_-16701.html">Set a time limit on a login session</a></li>
<li><a href="http://cookbooks.adobe.com/post_Registration_system_that_requires_the_user_to_vali-16646.html">Registration system that requires the user to validate the email address</a> (in two parts)</li>
<li><a href="http://cookbooks.adobe.com/post_Alternate_colors_for_table_rows-16650.html">Alternate colours for table rows</a> (using PHP, Spry, or jQuery)</li>
<li><a href="http://cookbooks.adobe.com/post_Upload_image_to_website__PHP_-16389.html">Upload image to website</a></li>
<li><a href="http://cookbooks.adobe.com/post_Format_dates_for_entry_into_MySQL_using_PHP-16644.html">Format date for insertion into MySQL</a></li>
<li><a href="http://cookbooks.adobe.com/post_Format_dates_stored_in_MySQL-16641.html">Formatting dates stored in MySQL</a></li>
</ul>
<p>The Dreamweaver Cookbook is open to anyone to either request recipes or contribute recipes of their own. It could turn into a very useful resource if people start using it regularly. Check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2010/01/23/new-tutorials-and-articles/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Getting StartED with CSS now available</title>
		<link>http://foundationphp.com/blog/2009/11/28/getting-started-with-css-now-available/</link>
		<comments>http://foundationphp.com/blog/2009/11/28/getting-started-with-css-now-available/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 19:17:28 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=113</guid>
		<description><![CDATA[My latest book, Getting StartED with CSS, has been published, and is already in stock at Amazon.com. &#8220;Who needs yet another book on CSS?&#8221; you may ask. The reason I wrote it is because I felt the process of learning &#8230; <a href="http://foundationphp.com/blog/2009/11/28/getting-started-with-css-now-available/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My latest book, <a title="Visit the book's companion website" href="http://gettingstartedwithcss.com/"><em>Getting StartED with CSS</em></a>, has been published, and is already in stock at <a title="Go to the book's page on Amazon" href="http://www.amazon.com/gp/product/1430225432?ie=UTF8&amp;tag=japaninterfac-20">Amazon.com</a>. &#8220;Who needs yet another book on CSS?&#8221; you may ask. The reason I wrote it is because I felt the process of learning CSS was made too hard by the books that I used to learn it. Let&#8217;s face it. Learning CSS can be an uphill struggle. It&#8217;s not because the basic syntax is difficult. In fact, it&#8217;s quite easy. The main problem lies in the infinite number of ways you can combine properties and selectors to achieve the effect you want. Another big problem has been the inconsistency in the way browsers have rendered CSS.</p>
<p>This second problem is finally becoming less acute, thanks to the release of Internet Explorer 8 in March this year. IE8 supports the whole of CSS2.1, and its accurate rendering of CSS puts it on a level with other standards-compliant browsers, such as Firefox, Safari, and Opera. <em>Getting StartED with CSS</em> was written after the release of IE8, so it&#8217;s bang up to date; and it concentrates on CSS as rendered by modern browsers, rather than getting bogged down in details of hacks to persuade older browsers to behave. However, since the bane of web designers&#8217; lives, IE6, is likely to be around for some time to come, the book does offer advice on how to deal with the most common bugs in IE6.</p>
<p>Where I hope my book stands out from others is in the way it avoids throwing a whole load of theory at your before you can achieve anything practical with CSS. Instead of forcing you to wade through a detailed explanation of classes and other selectors before you start using CSS, I show you how to achieve practical results with the most basic selector of all, <a title="Definition of type selectors on the book's companion site" href="http://gettingstartedwithcss.com/selectors/basic.php#type">the type (or tag) selector</a>, which redefines the default look of HTML tags. I don&#8217;t get into classes until Chapter 4 (of 12).</p>
<p>Another difference is the way I approach the box model, an understanding of which is essential to working with CSS. Instead of bamboozling you with a whole pile of theory, I devote a whole chapter to showing how margins are used to create space between elements and lay them out. The following chapter builds on this by discussing how to add backgrounds and borders. Finally, a third chapter brings the whole box model together by adding padding, width, and height into the mix. My aim is that by introducing each aspect of the box model gradually, you build up a better understanding of how it all fits together. By the of the twelfth chapter, you have studied all visual and print properties in CSS2.1, including some of the less well-known ones, such as generated content.</p>
<p>Perhaps my only disappointment with the book is that it&#8217;s printed in black and white. However, the plus side is that the publisher has given it a relatively inexpensive price tag, at least for a computer book. The cover price is $24.99, and many online sellers are offering it for a discount. Sadly, the price is more expensive outside the USA, but that always seems to be the case with books.</p>
<p><a href="http://gettingstartedwithcss.com/">The book&#8217;s companion website</a> contains a complete reference to all CSS2.1 visual and print properties, and selectors, together with lots of examples of the properties in action. I hope you&#8217;ll find the site useful even if you don&#8217;t buy the book. But, of course, I hope you will decide to buy. <img src='http://foundationphp.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2009/11/28/getting-started-with-css-now-available/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Meet me at MAX</title>
		<link>http://foundationphp.com/blog/2009/10/01/meet-me-at-max/</link>
		<comments>http://foundationphp.com/blog/2009/10/01/meet-me-at-max/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:05:26 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=110</guid>
		<description><![CDATA[In a few hours&#8217; time, I get in a plane and fly off to Los Angeles for Adobe MAX. It&#8217;s my first time in southern California, so I&#8217;m really looking forward to it. It will also be great to hang &#8230; <a href="http://foundationphp.com/blog/2009/10/01/meet-me-at-max/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a few hours&#8217; time, I get in a plane and fly off to Los Angeles for <a href="http://max.adobe.com/">Adobe MAX</a>. It&#8217;s my first time in southern California, so I&#8217;m really looking forward to it. It will also be great to hang out with like-minded people for a few days. Writing books can be a lonely occupation at times. If you&#8217;re going to MAX, look out for me and say &#8220;Hi!&#8221; If you&#8217;re lucky, you might even get a free copy of one of my books.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2009/10/01/meet-me-at-max/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adding an Adobe Bridge web gallery to a site</title>
		<link>http://foundationphp.com/blog/2009/09/24/adding-an-adobe-bridge-web-gallery-to-a-site/</link>
		<comments>http://foundationphp.com/blog/2009/09/24/adding-an-adobe-bridge-web-gallery-to-a-site/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 16:57:50 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[AJAX/JavaScript]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=107</guid>
		<description><![CDATA[For the past two versions, Dreamweaver has come bundled with Adobe Bridge, a program that&#8217;s designed to make it easy to sort through visual assets, such as photographs, PDFs, and Flash movies. The idea behind Bridge is that it gives &#8230; <a href="http://foundationphp.com/blog/2009/09/24/adding-an-adobe-bridge-web-gallery-to-a-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the past two versions, <a href="http://www.adobe.com/products/dreamweaver/">Dreamweaver</a> has come bundled with <a href="http://www.adobe.com/products/creativesuite/bridge/">Adobe Bridge</a>, a program that&#8217;s designed to make it easy to sort through visual assets, such as photographs, PDFs, and Flash movies. The idea behind Bridge is that it gives you quick access to items that you might want to work with in different parts of the <a href="http://www.adobe.com/products/creativesuite/">Adobe Creative Suite</a>. It&#8217;s particularly useful for Flash developers who want to build part of their movie in Illustrator or Photoshop. However, most Dreamweaver users seem to remain blissfully ignorant of its existence; or if they do know about it, they leave Bridge firmly shut.</p>
<p>That&#8217;s a shame, because Bridge has some very useful features. I use it frequently for batch renumbering my photos and for selecting photos to use in websites. The thumbnail images can be resized, making light work of choosing the best photo to zap into Photoshop and optimize for a web page. The other great feature in Bridge is what is called the Adobe Output Module. Among other things, this creates Flash-based web galleries of your visual assets. It&#8217;s incredibly easy to use, and produces really nice results.</p>
<p>The only problem is that the HTML file generated by Bridge makes the Flash movie fill the entire browser window, making it impossible to incorporate the gallery into an existing website. Well, it&#8217;s not really impossible. All it needs is a little editing of the HTML and JavaScript. I have created a new tutorial with step-by-step instructions to show <a href="/tutorials/gallery/embed1.php">how to incorporate an Adobe Bridge web gallery into a website</a>. I hope you find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2009/09/24/adding-an-adobe-bridge-web-gallery-to-a-site/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Customizing a Spry Menu Bar</title>
		<link>http://foundationphp.com/blog/2009/09/20/customizing-a-spry-menu-bar/</link>
		<comments>http://foundationphp.com/blog/2009/09/20/customizing-a-spry-menu-bar/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 13:25:48 +0000</pubDate>
		<dc:creator>David Powers</dc:creator>
				<category><![CDATA[AJAX/JavaScript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://foundationphp.com/blog/?p=104</guid>
		<description><![CDATA[About a year ago, Adobe asked me if I would become a moderator for Dreamweaver Community Help. The idea was to encourage people to use the Dreamweaver online Help files more frequently on the assumption that people would be more &#8230; <a href="http://foundationphp.com/blog/2009/09/20/customizing-a-spry-menu-bar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>About a year ago, Adobe asked me if I would become a moderator for <a href="http://www.adobe.com/support/dreamweaver/">Dreamweaver Community Help</a>. The idea was to encourage people to use the <a href="http://help.adobe.com/en_US/Dreamweaver/10.0_Using/index.html">Dreamweaver online Help files</a> more frequently on the assumption that people would be more willing to do so if power users answered their questions promptly. It&#8217;s certainly worked. The problem is that some Help pages have become overwhelmed with questions. One of them is <a href="http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSEE4C0148-A6F4-4bf5-9DEF-CE06AB026214a.html">Customizing a Spry Menu Bar Widget</a>.</p>
<p>It&#8217;s obvious that people love the ability to create a menu bar in seconds, but they hate banging their head on their keyboard trying to figure out how to edit the CSS. In response, I&#8217;ve created a couple of tutorials that are now live on my site. The first one goes into considerable detail, explaining the basics of <a href="/tutorials/sprymenu/customize1.php">customizing the CSS of a Spry Menu Bar</a>, with instructions for both horizontal and vertical menu bars. The other, shorter tutorial shows <a href="/tutorials/sprymenu/centering.php">how to centre a horizontal menu bar</a>. I hope you find them useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://foundationphp.com/blog/2009/09/20/customizing-a-spry-menu-bar/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>
