Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 1st, 2002, 07:34 PM
jgalvan jgalvan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 11 jgalvan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Is dreamweaver mx gonna finally be php friendly?

I just downloaded it. It asks if you want server technology when setting up a site. One of the technology fields is php. I did'nt see much change in viewing it. Anyone hear or know if dreamweaver will start intergrating php.

Personally I love Dreamweaver, because I design mostly. I program small scripts like links, galleries, and such. I doubt dreamweaver will want to do this anyway because of CF.
Attached Images
File Type: gif dream.gif (1,008 Bytes, 332 views)

Reply With Quote
  #2  
Old May 4th, 2002, 12:12 AM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 12 m 33 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
I have to admit I'm really impressed. This thing handles PHP fairly well. I mean, it even puts mysql_error() into the die() for queries...how nice is that?

And, check this out, previous/next links are point and click. You create a record set (query), and then you can drag and drop columns from that query into your document, choose to insert a "previous link", "next link", "go to first page" link, etc.

There are "wizards" for creating INSERT, UPDATE, and DELETE statements that use functions.

It even puts your database connection info into an include file and includes it in your main script.

It would take a little while to get used to it all if you're used to doing it by hand, but once you're used to it, I can see how it could save you some time.

Here's some code it generated for prev/next link page:
PHP Code:
<?php require_once('Connections/TestSite.php'); ?>
<?php
$currentPage 
$HTTP_SERVER_VARS["PHP_SELF"];

$maxRows_Recordset1 50;
$pageNum_Recordset1 0;
if (isset(
$HTTP_GET_VARS['pageNum_Recordset1'])) {
  
$pageNum_Recordset1 $HTTP_GET_VARS['pageNum_Recordset1'];
}
$startRow_Recordset1 $pageNum_Recordset1 $maxRows_Recordset1;

mysql_select_db($database_TestSite$TestSite);
$query_Recordset1 "SELECT * FROM test";
$query_limit_Recordset1 sprintf("%s LIMIT %d, %d"$query_Recordset1$startRow_Recordset1$maxRows_Recordset1);
$Recordset1 mysql_query($query_limit_Recordset1$TestSite) or die(mysql_error());
$row_Recordset1 mysql_fetch_assoc($Recordset1);

if (isset(
$HTTP_GET_VARS['totalRows_Recordset1'])) {
  
$totalRows_Recordset1 $HTTP_GET_VARS['totalRows_Recordset1'];
} else {
  
$all_Recordset1 mysql_query($query_Recordset1);
  
$totalRows_Recordset1 mysql_num_rows($all_Recordset1);
}
$totalPages_Recordset1 = (int)($totalRows_Recordset1/$maxRows_Recordset1);

$queryString_Recordset1 "";
if (!empty(
$HTTP_SERVER_VARS['QUERY_STRING'])) {
  
$params explode("&"$HTTP_SERVER_VARS['QUERY_STRING']);
  
$newParams = array();
  foreach (
$params as $param) {
    if (
stristr($param"pageNum_Recordset1") == false && 
        
stristr($param"totalRows_Recordset1") == false) {
      
array_push($newParams$param);
    }
  }
  if (
count($newParams) != 0) {
    
$queryString_Recordset1 "&" implode("&"$newParams);
  }
}
$queryString_Recordset1 sprintf("&totalRows_Recordset1=%d%s"$totalRows_Recordset1$queryString_Recordset1);
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
There are <?php echo $totalRows_Recordset1 ?> records in the database
<br>
<table width="90%" border="1">
  <tr>
    <td>Column 1</td>
    <td>Column 2</td>
  </tr>
  <?php do { ?>
  <tr> 
    <td><?php echo htmlentities($row_Recordset1['c1']); ?></td>
    <td><?php echo htmlentities($row_Recordset1['c2']); ?></td>
  </tr>
  <?php } while ($row_Recordset1 mysql_fetch_assoc($Recordset1)); ?>
</table>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s"$currentPagemax(0$pageNum_Recordset1 1), $queryString_Recordset1); ?>"><< Previous</a> 
<a href="<?php printf("%s?pageNum_Recordset1=%d%s"$currentPagemin($totalPages_Recordset1$pageNum_Recordset1 1), $queryString_Recordset1); ?>">Next >></a> 
</body>
</html>
<?php
mysql_free_result
($Recordset1);
?>

---John Holmes...

Reply With Quote
  #3  
Old May 4th, 2002, 12:14 AM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 12 m 33 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
Forgot to mention the problems..

I did have to install it a second time because it wouldn't let me create a connection to MySQL. Kept giving me an "unidentified error"

Also, as you can see, it uses HTTP_GET_VARS instead of _GET. I really, really, hope that this is fixed in the release version. I imagine it will be, but that would be a certain way to almost doom it from doing PHP programming...

---John Holmes...

Reply With Quote
  #4  
Old May 4th, 2002, 10:36 PM
SilkySmooth's Avatar
SilkySmooth SilkySmooth is offline
Newbie :P
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2001
Location: In the PHP Engine :-)
Posts: 2,880 SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 11 h 32 m 23 sec
Reputation Power: 15
Give me a text editor any day, software like this is what ruins the programming trade in my opinion, it allows to many novices to go around posing as professionals, taking the clients money, bugging out when it gets to complicated for them because they don`t actually understand PHP and never intend to learn, the client ends up not trusting web developers anymore because his experience working with this novice was so bad. Or the client ends up thinking that PHP could never do the job in the first place.

Rant over

Just my tuppence worth
__________________
---------------------
-- SilkySmooth --
---------------------
Proxy | Little Directory

Reply With Quote
  #5  
Old May 5th, 2002, 03:01 PM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 24 m 31 sec
Reputation Power: 9
Same here Silky. It'll be pretty lame also if all programmers end up to be debuggers for faulty scripts... where's the fun in that?
__________________
K1

Reply With Quote
  #6  
Old May 5th, 2002, 03:22 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 12 m 33 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
People can write crappy code with or without a tool like this...just look at what gets posted on this forum.

I like dreamweaver b/c of the site syncronization, easy HTML layout, and other features...now it's even better with syntax highlighting and some of the functions might even make coding faster...maybe...

---John Holmes...

Reply With Quote
  #7  
Old May 5th, 2002, 09:51 PM
roninblade's Avatar
roninblade roninblade is offline
// no comment
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2001
Posts: 1,639 roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 45 m
Reputation Power: 33
i believe that dreamweaver mx is fine for programmers who already know what they are doing. but for newbies, tools like this promotes laziness and keeps them from really learning php.

Last edited by roninblade : May 5th, 2002 at 10:24 PM.

Reply With Quote
  #8  
Old May 5th, 2002, 09:56 PM
SilkySmooth's Avatar
SilkySmooth SilkySmooth is offline
Newbie :P
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2001
Location: In the PHP Engine :-)
Posts: 2,880 SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 11 h 32 m 23 sec
Reputation Power: 15
John,

Don`t get me wrong, I'm not saying D/W is a bad product, it does have many advantages, but I think Ronin summarised pretty well what I was trying to say.

Reply With Quote
  #9  
Old May 6th, 2002, 03:37 AM
jdk's Avatar
jdk jdk is offline
phpkid ~~~~~~ :o)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Nov 2000
Location: NJ, USA
Posts: 2,535 jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level)jdk User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 11 m 11 sec
Reputation Power: 10
Send a message via Yahoo to jdk
I checked out Dreamweaver MX !!!

It has really improved !!! and I luv it !!

Though I have yet to check its server side scripting capabilities, I don't think I would use Dreamweaver for that. The simple reason being I follow a style when I code. Like I never use DIE straight off. There would be always one error handling function which takes care of all the errors.

All the time I use templates, so I won't need that facilty where you can drop the recordsets and create pages. Its not my way.

Still I would say dreamweaver is the BEST html editor you can have for money !!!

JD
__________________
_____________________________
d.k.jariwala (JD)
~ simple thought, simple act ~
I blog @ http://jdk.phpkid.org

Reply With Quote
  #10  
Old May 6th, 2002, 04:23 AM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,385 Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)Sepodati User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate FolderFolding Points: 72299 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 4 Weeks 19 h 12 m 33 sec
Reputation Power: 1784
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
I wonder if the code it inserts is template driven or if new stuff could be added. I know there is a "snippets" tab, where you can save functions, classes, etc, I imagine.

It'd be nice if you could modify the code that's inserted to fit your own style...

---John Holmes...

Reply With Quote
  #11  
Old May 6th, 2002, 03:49 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
I must say that MM is impressing the hell out of me with DWMX.

The code generated is pretty clean. Not quite my style, but definately A LOT cleaner than I expected.

I haven't been a fan of DW and it was only on my computer because my partner who does design uses it. I'm going to give it the full workout over the next few days, and if it continues to impress, I'll definately be using it.
__________________
FSBO (For Sale By Owner) Realty

Reply With Quote