<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Meeting the top man at Dreamweaver</title>
	<atom:link href="http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/feed/" rel="self" type="application/rss+xml" />
	<link>http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 13:16:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Brian Sutton</title>
		<link>http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/comment-page-1/#comment-13795</link>
		<dc:creator>Brian Sutton</dc:creator>
		<pubDate>Sun, 25 Nov 2007 12:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/#comment-13795</guid>
		<description>Well, I&#039;m very glad (and humbly sorry at the same) to time to report that having somewhat cheekily asked a techy question above, in the wrong thread, about uploading the MySQL parts of my site to my hosting service (php only stuff was already fine) after a bit of forum twiddling (not a great deal of help) and thought (always best to do that part first before asking!) I worked it out, but thought I&#039;d offer the essentials here because I couldn&#039;t find it distilled anywhere else. You might say that what follows below isnâ€™t a distillation but then many Scots take a little water with even the best malts to help release the valued â€œesthersâ€. And Iâ€™m a Sassenach tooâ€¦

As this is the wrong place, David (I&#039;m sure it is) please throw away or add into a more findable location. All this relates to your excellent book PHP for DW8 and the seasons website you build there for the reader to follow.

First key thing was to export the local database (all tables chosen) using phpMyAdmin. I couldnâ€™t get the command to complete when choosing &quot;save to file&quot; near the bottom of the page, so I just deselected that option and then copied and pasted the resulting textual version of the database that phpMyAdmin displays in a web page into a plain notepad text file. I was careful to choose MySQL4 compatibility mode in the drop down menu on the right because my hosting service is on v4, not v5 as I am locally, and you have highlighted in your books the need take care with that.

My hosting service offers what seems to be a standard &quot;cPanel&quot; for managing one&#039;s hosting options. In the databases section, phpMyAdmin is also available from the database definition page. It is also clear on that page that the &quot;virtual host&quot; they make available is also called &quot;localhost&quot; helpfully (although it seems you can define others if need be) so I was pretty confident that the Apache/MySQL/phpMyAdmin setup described in your books and followed by me for my PC was going to match with no server model definition changes.

When I tried to define a new database called â€œseasonsâ€ in their cPanel database page, I saw that they insisted on naming it abcdef_seasons where abcdef was my cPanel and hosting site username. This is critical. There was no way I could avoid that â€“ I guess itâ€™s part of how they make sure the right client/customer gets the right virtual host.

Also, when I set up the usernames and passwords for this database, it similarly â€œpre-pendedâ€ my hosting username to the ones I tried to get it to set up as chosen in my local database, the query one and the admin one. This is also critical. There was no way to avoid these changes.

Then I went to their phpMyAdmin page from the database definition page, opened that new abcdef_seasons database (empty, of course) and headed for the â€œimportâ€ tab, where a very simple dialog offer the ability to browse to the text version of â€œseasonsâ€ I had created on my local machine (by export from phpMyAdmin as above) and hey presto, an identical version of the â€œseasonsâ€ database data popped up in abcdef_seasons with all the tables.

So far so good. The key step took me a while to work out. This was to look in the â€œConnectionsâ€ folder (in my local root folder for the site) that Dreamweaver creates when the database connections are set up. In there were two files, one for each connection, the Query one and the Admin one. 

What I realised was, rather than try to name or rename the database and usernames identically in the hosting servers, it was just necessary to redefine them in these connections definition files, and all the web pages would then go to (connect with) the right database and use the right username (and password) with the appropriate permissions. I had set these up in the cPanel, equivalent to â€œallâ€ for admin and â€œselectâ€ only for query as on the local machine (but with those pre-pended abcdef names) â€“ NB passwords are NOT pre-pended, they are identical

I kept the original local version of these two connection files for continuing local development and testing work, and saved the two amended versions with new names. I uploaded these new ones to the remote site (into the same Connections folder) and then changed the ORIGINALLY named ones there in the remote site to something else and renamed the new (remote) ones to the ORIGINAL names so the remote php and web pages would find the connections in the same (Connections) folder with the same filenames they expected.

I should be more trusting, I suppose, but I was AMAZED to find that when accessing the home page on the website it opened completely correctly instead of giving those depressing error messages about wrong username etc.

I suppose all this is explained somewhere that I have missed, or I should be more intelligent or have a friend who knows all this â€“ but I wasnâ€™t and didnâ€™t! It seems so simple in retrospect (and of course now for any further sites I work on) but at the time it seemed very arcane!

I hope this might be of help to anyone who is struggling with this â€“ Iâ€™ll look for somewhere more appropriate to put this post ïŠ but meanwhile at least it rounds off my query in this thread. I know itâ€™s rather like the people who make up for arriving late at a party by leaving early, Iâ€™m offering the wrong thread question with a wrong thread answerâ€¦it doesnâ€™t make it OK, does it!

With many thanks to you, David, for being my passport, through your books, into dynamic site construction,

Brian</description>
		<content:encoded><![CDATA[<p>Well, I&#8217;m very glad (and humbly sorry at the same) to time to report that having somewhat cheekily asked a techy question above, in the wrong thread, about uploading the MySQL parts of my site to my hosting service (php only stuff was already fine) after a bit of forum twiddling (not a great deal of help) and thought (always best to do that part first before asking!) I worked it out, but thought I&#8217;d offer the essentials here because I couldn&#8217;t find it distilled anywhere else. You might say that what follows below isnâ€™t a distillation but then many Scots take a little water with even the best malts to help release the valued â€œesthersâ€. And Iâ€™m a Sassenach tooâ€¦</p>
<p>As this is the wrong place, David (I&#8217;m sure it is) please throw away or add into a more findable location. All this relates to your excellent book PHP for DW8 and the seasons website you build there for the reader to follow.</p>
<p>First key thing was to export the local database (all tables chosen) using phpMyAdmin. I couldnâ€™t get the command to complete when choosing &#8220;save to file&#8221; near the bottom of the page, so I just deselected that option and then copied and pasted the resulting textual version of the database that phpMyAdmin displays in a web page into a plain notepad text file. I was careful to choose MySQL4 compatibility mode in the drop down menu on the right because my hosting service is on v4, not v5 as I am locally, and you have highlighted in your books the need take care with that.</p>
<p>My hosting service offers what seems to be a standard &#8220;cPanel&#8221; for managing one&#8217;s hosting options. In the databases section, phpMyAdmin is also available from the database definition page. It is also clear on that page that the &#8220;virtual host&#8221; they make available is also called &#8220;localhost&#8221; helpfully (although it seems you can define others if need be) so I was pretty confident that the Apache/MySQL/phpMyAdmin setup described in your books and followed by me for my PC was going to match with no server model definition changes.</p>
<p>When I tried to define a new database called â€œseasonsâ€ in their cPanel database page, I saw that they insisted on naming it abcdef_seasons where abcdef was my cPanel and hosting site username. This is critical. There was no way I could avoid that â€“ I guess itâ€™s part of how they make sure the right client/customer gets the right virtual host.</p>
<p>Also, when I set up the usernames and passwords for this database, it similarly â€œpre-pendedâ€ my hosting username to the ones I tried to get it to set up as chosen in my local database, the query one and the admin one. This is also critical. There was no way to avoid these changes.</p>
<p>Then I went to their phpMyAdmin page from the database definition page, opened that new abcdef_seasons database (empty, of course) and headed for the â€œimportâ€ tab, where a very simple dialog offer the ability to browse to the text version of â€œseasonsâ€ I had created on my local machine (by export from phpMyAdmin as above) and hey presto, an identical version of the â€œseasonsâ€ database data popped up in abcdef_seasons with all the tables.</p>
<p>So far so good. The key step took me a while to work out. This was to look in the â€œConnectionsâ€ folder (in my local root folder for the site) that Dreamweaver creates when the database connections are set up. In there were two files, one for each connection, the Query one and the Admin one. </p>
<p>What I realised was, rather than try to name or rename the database and usernames identically in the hosting servers, it was just necessary to redefine them in these connections definition files, and all the web pages would then go to (connect with) the right database and use the right username (and password) with the appropriate permissions. I had set these up in the cPanel, equivalent to â€œallâ€ for admin and â€œselectâ€ only for query as on the local machine (but with those pre-pended abcdef names) â€“ NB passwords are NOT pre-pended, they are identical</p>
<p>I kept the original local version of these two connection files for continuing local development and testing work, and saved the two amended versions with new names. I uploaded these new ones to the remote site (into the same Connections folder) and then changed the ORIGINALLY named ones there in the remote site to something else and renamed the new (remote) ones to the ORIGINAL names so the remote php and web pages would find the connections in the same (Connections) folder with the same filenames they expected.</p>
<p>I should be more trusting, I suppose, but I was AMAZED to find that when accessing the home page on the website it opened completely correctly instead of giving those depressing error messages about wrong username etc.</p>
<p>I suppose all this is explained somewhere that I have missed, or I should be more intelligent or have a friend who knows all this â€“ but I wasnâ€™t and didnâ€™t! It seems so simple in retrospect (and of course now for any further sites I work on) but at the time it seemed very arcane!</p>
<p>I hope this might be of help to anyone who is struggling with this â€“ Iâ€™ll look for somewhere more appropriate to put this post ïŠ but meanwhile at least it rounds off my query in this thread. I know itâ€™s rather like the people who make up for arriving late at a party by leaving early, Iâ€™m offering the wrong thread question with a wrong thread answerâ€¦it doesnâ€™t make it OK, does it!</p>
<p>With many thanks to you, David, for being my passport, through your books, into dynamic site construction,</p>
<p>Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Sutton</title>
		<link>http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/comment-page-1/#comment-13656</link>
		<dc:creator>Brian Sutton</dc:creator>
		<pubDate>Mon, 19 Nov 2007 13:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://foundationphp.com/blog/2007/10/05/meeting-the-top-man-at-dreamweaver/#comment-13656</guid>
		<description>David,

Firstly, let me say how much I admire your work, and your books in particular. As a lifelong IT person from the late 60s (ouch) I&#039;m truly amazed that a person with principally a BBC journalism background can achieve so much from a self-taught background, as far as I can see from your biographical blurb snippets. For myself, I know my limitations - one of them is being too assumptive about what I know - and I&#039;m not half so surprised that someone like me with too long a career in IT management finds learning the skills my erstwhile charges had in spades rather slow, as you can see from my site.

I&#039;ve noticed too the work of Flash masters like Brian Monnone and Philip Kerman, and as I have with you, I have paid them the sincere compliment of using some of their many ideas.

Here&#039;s the rub. At the pace I am going, I&#039;ll have to confound Gordon Brown&#039;s hopes (if not expectations) of how long I might draw my pension to keep up with the successive Adobe releases! I&#039;m getting comfortable with AS2, but don&#039;t want to get left behind (old IT principle, don&#039;t get ahead of the wave but don&#039;t get too far behind) by ignoring AS3 or Flex. Ditto for Dreamweaver CS3.

On the broad front, would you recommend making the effort with CS3 etc, or wait until CS4 (you might lose the friendship of the &quot;top man&quot; I suppose if you would recommend waiting, so whisper...)

From a more detailed standpoint, is it too much to hope for an AS2 - AS3 converter to avoid going backwards before going forwards, or at least for a &quot;code hinter&quot; to help the transition?

Finally - now I&#039;m warmed up - I have become reasonably comfortable with XML in Flash (thanks to Sas Jacobs&#039; great book) and I&#039;m beginning to carry it over to Dreamweaver. But I know I&#039;m going to have to move to fully dynamic sites and that&#039;s why I find your PHP books for both Flash and Dreamweaver so helpful and stimulating.

My issue will be getting the MySQL database up to my hosting company&#039;s site. Of course they support PHP and MySQL but while PHP-only material works fine (although I will need GD support and haven&#039;t tried that yet) I haven&#039;t been too successful in getting a simple story from them, having bought database hosting, on getting the database up there.

I guess there are as many variations on that as there are hosting companies, but is there a good place to go to get that generic story if not a very specific one?

Well, that&#039;s it. I hope I haven&#039;t breached the protocols about what to expect in a blog -  I hope what I have asked is of more general interest. After all, while you mention the two types of communities using Dreamweaver as Web designers on the one hand and Graphics designers on the other (to paraphrase) there are going to be more and more &quot;third way?&quot;  people like me for whom the better and better tools make it more possible to get engaged. 

But vitally, of course, much more so with the fantastic help authors like you (and your publishers) provide with your timely, expert, readable and accurate publications.

How DO you write 500 - 1000 pages of such good stuff?! So often?

Very best regards,

Brian</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>Firstly, let me say how much I admire your work, and your books in particular. As a lifelong IT person from the late 60s (ouch) I&#8217;m truly amazed that a person with principally a BBC journalism background can achieve so much from a self-taught background, as far as I can see from your biographical blurb snippets. For myself, I know my limitations &#8211; one of them is being too assumptive about what I know &#8211; and I&#8217;m not half so surprised that someone like me with too long a career in IT management finds learning the skills my erstwhile charges had in spades rather slow, as you can see from my site.</p>
<p>I&#8217;ve noticed too the work of Flash masters like Brian Monnone and Philip Kerman, and as I have with you, I have paid them the sincere compliment of using some of their many ideas.</p>
<p>Here&#8217;s the rub. At the pace I am going, I&#8217;ll have to confound Gordon Brown&#8217;s hopes (if not expectations) of how long I might draw my pension to keep up with the successive Adobe releases! I&#8217;m getting comfortable with AS2, but don&#8217;t want to get left behind (old IT principle, don&#8217;t get ahead of the wave but don&#8217;t get too far behind) by ignoring AS3 or Flex. Ditto for Dreamweaver CS3.</p>
<p>On the broad front, would you recommend making the effort with CS3 etc, or wait until CS4 (you might lose the friendship of the &#8220;top man&#8221; I suppose if you would recommend waiting, so whisper&#8230;)</p>
<p>From a more detailed standpoint, is it too much to hope for an AS2 &#8211; AS3 converter to avoid going backwards before going forwards, or at least for a &#8220;code hinter&#8221; to help the transition?</p>
<p>Finally &#8211; now I&#8217;m warmed up &#8211; I have become reasonably comfortable with XML in Flash (thanks to Sas Jacobs&#8217; great book) and I&#8217;m beginning to carry it over to Dreamweaver. But I know I&#8217;m going to have to move to fully dynamic sites and that&#8217;s why I find your PHP books for both Flash and Dreamweaver so helpful and stimulating.</p>
<p>My issue will be getting the MySQL database up to my hosting company&#8217;s site. Of course they support PHP and MySQL but while PHP-only material works fine (although I will need GD support and haven&#8217;t tried that yet) I haven&#8217;t been too successful in getting a simple story from them, having bought database hosting, on getting the database up there.</p>
<p>I guess there are as many variations on that as there are hosting companies, but is there a good place to go to get that generic story if not a very specific one?</p>
<p>Well, that&#8217;s it. I hope I haven&#8217;t breached the protocols about what to expect in a blog &#8211;  I hope what I have asked is of more general interest. After all, while you mention the two types of communities using Dreamweaver as Web designers on the one hand and Graphics designers on the other (to paraphrase) there are going to be more and more &#8220;third way?&#8221;  people like me for whom the better and better tools make it more possible to get engaged. </p>
<p>But vitally, of course, much more so with the fantastic help authors like you (and your publishers) provide with your timely, expert, readable and accurate publications.</p>
<p>How DO you write 500 &#8211; 1000 pages of such good stuff?! So often?</p>
<p>Very best regards,</p>
<p>Brian</p>
]]></content:encoded>
	</item>
</channel>
</rss>

