472,805 Members | 820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

is there a macromedia dreamweaver equivilant for PHP

I am a begginer with not too much time on my hand. I do some html
pages with Dreamweaver and with some minor Flash actionscript and I
have a minor ability (with the help of lots of tutorials) to do some
PHP.

I love Dreamweaver MX since it realy simplifies the visual part of the
process of making a page and also help with code typos since it
generates alot of the basic code automatically (for example, I don't
have to know how to write a relative link or an absolute link;
Dreamweaver figures taht out for me. Another example, I don't have to
type a link at all, the interface helps me find the target and
generates the link for me).

When I try to build a page with PHP, I have a very hard time getting
the visual part of the page correctly (and make many typo mistakes in
the code. Also, since I am not (and don't have the time to be) an
experienced or a pro, I have hard time remembering attributes in html
and php (which usually, dreamweaver provides automatically).
I WAS WONDERING IF ANYONE HAS SPECIFIC SUGGESTIONS OR KNOWS OF A
PROGRAM SIMILAR TO DREAMWEAVER, BUT MADE FOR PHP RATHER THAN FOR
HTML!!!!!!!
One thing I tried to do to solve this problem was to create part of
the page with dreamweaver and than cut and past the html code into the
php page... this way I dont have to deal with issues such typing the
links correctly, typing the color codes correctly, etc, etc...

the problem is that the quatation marks are different for php and
html. So I spend all of my time fixing quatation mark typos.
Jul 16 '05 #1
4 3272
davidshook wrote:
[...]
the problem is that the quatation marks are different for php and
html. So I spend all of my time fixing quatation mark typos.


How are you inserting your HTML in the PHP files?

Suppose you have
<?php
// ... line x
// ... line y
?>

and want to insert the HTML between line x and line y.

I'd do like this:
<?php
// ... line x
?>
<!-- inserted HTML here, outside the <?php ?> tags -->
<a href="URL">link</a>
<!-- end inserted HTML -->
<?php
// ... line y
?>

so that I wouldn't need to change anything of the HTML.
--
"Yes, I'm positive."
"Are you sure?"
"Help, somebody has stolen one of my electrons!"
Two atoms are talking:
Jul 16 '05 #2
try

http://www.phpide.com/php_coder/home.htm

you have to have php engine installed.. and you can work "side by side" with
dreamweaver

carramba
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 2003-08-28
Jul 16 '05 #3

"davidshook" <it********@hotmail.com> wrote in message
news:c7**************************@posting.google.c om...
I am a begginer with not too much time on my hand. I do some html
pages with Dreamweaver and with some minor Flash actionscript and I
have a minor ability (with the help of lots of tutorials) to do some
PHP.

I love Dreamweaver MX since it realy simplifies the visual part of the
process of making a page and also help with code typos since it
generates alot of the basic code automatically (for example, I don't
have to know how to write a relative link or an absolute link;
Dreamweaver figures taht out for me. Another example, I don't have to
type a link at all, the interface helps me find the target and
generates the link for me).

When I try to build a page with PHP, I have a very hard time getting
the visual part of the page correctly (and make many typo mistakes in
the code. Also, since I am not (and don't have the time to be) an
experienced or a pro, I have hard time remembering attributes in html
and php (which usually, dreamweaver provides automatically).
I WAS WONDERING IF ANYONE HAS SPECIFIC SUGGESTIONS OR KNOWS OF A
PROGRAM SIMILAR TO DREAMWEAVER, BUT MADE FOR PHP RATHER THAN FOR
HTML!!!!!!!
One thing I tried to do to solve this problem was to create part of
the page with dreamweaver and than cut and past the html code into the
php page... this way I dont have to deal with issues such typing the
links correctly, typing the color codes correctly, etc, etc...

the problem is that the quatation marks are different for php and
html. So I spend all of my time fixing quatation mark typos.


How long have you been using Dreamweaver? I think Dreamweaver MX is an
excellent tool for PHP development - but if you have the money, then take a
look at the Zend Studio (by the people who do the Zend Engine for PHP) at
http://www.zend.com

I've been using Dreamweaver MX for about six months now and have no problems
with it - Fair enough it doesn't have the PHP syntax but it does have Cold
Fusion syntax (which carry some similarities with environment variables).

Do you realise there is a "Code View" and "Design View" - The former shows
you a page where you can insert your PHP code (inside tags) while the latter
is the appearance of the page (as seen through static HTML).

In my templates, I have the following at the very top
<? include_once("$_SERVER[DOCUMENT_ROOT]/../include/standard.fip");
$parentScript=explode(".", "$_SERVER[PHP_SELF]");
$parentScriptName=array_shift($parentScript);
include("$INCLUDE$parentScriptName.php");
?>

standard.php has a set of functions that I use in most of my scripts (things
like cleansing form input and various debug functions that I can easily
remove later).

I write my PHP in to a file with the same name as my html file in a
subfolder called "../include" All my functions are contained there... That
way, my main html file designed by Dreamweaver just needs to call the
function...

For example, I have a file called "../include/countries.php" It has a list
of countries and I use GeoIP to help me determine where a client PC is
calling from (their country). In countries.php, there's a function called
selectFunction(); which creates a select box of every country in the world,
but automatically highlights the country found using GeoIP.

When I design my HTML, all I need to do to display the select pulldown box
is hardcode "selectFunction();"

I think you just need to organise yourself better and if possible, have any
changes to your workspace automatically ftp'd to your PHP/webserver when you
save it on dreamweaver - that way you can test your results instantly.

Jul 16 '05 #4
it********@hotmail.com (davidshook) wrote in message
news:<c7**************************@posting.google. com>...

I WAS WONDERING IF ANYONE HAS SPECIFIC SUGGESTIONS OR KNOWS OF A
PROGRAM SIMILAR TO DREAMWEAVER, BUT MADE FOR PHP RATHER THAN FOR
HTML!!!!!!!


My personal favorite is still EditPlus:

http://www.editplus.com/

But I am atypical in one major respect; I seem to make relatively
small number of mistakes, so I don't really do much debugging, which
EditPlus does not allow you to do.

Here are some of the development environments you might find of
interest:

PHPEdit: http://www.phpedit.com/
Free. Windows only.

ActiveState Komodo: http://www.activestate.com/Products/Komodo/
$29.95 (Personal Edition); 21-day trial license available.
Windows and Linux.

Zend Studio: http://www.zend.com/store/products/zend-studio.php
$195; free Personal Edition available (runs fully finctional
for 21 days, then turns off advanced features).
Windows, Linux, MacOS X.

NuSphere PHPEd: http://www.nusphere.com/products/
$299; trial version available.
Windows and Linux.

Cheers,
NC
Jul 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Supernews | last post by:
I work for Macromedia and we are looking to form advisory groups to better understand the needs of developers and inform future product development. Those participating will have direct contact...
0
by: Supernews | last post by:
I work for Macromedia and we are looking to form advisory groups to better understand the needs of developers and inform future product development. Those participating will have direct contact...
0
by: Zorba.GR | last post by:
Macromedia Dreamweaver MX 2004 v7.0.1 Incl Keymaker, and Addons, other Workhouseboys Design The Transmitter Buttons v1.0 for Dreamweaver MX WebAssist WA eCommerce Suite v2.01 RETAIL for...
0
by: Ron Vecchi | last post by:
Hello, Through using this and many other Microsoft dotnet newsgroups I have been pointed towards many helpful open source projects and articles that have helped a great deal in my studies as...
4
by: Ian | last post by:
Hi there, Has anybody got any tips or recommendations for using Vs.Net and Dreamweaver 2004 together? I like to use dreamweaver as the layout tool as for me it just seems a little more...
2
by: Dave Johnson | last post by:
while developing an asp.net 1.1 project "Online Cinema Reservation System" I would like guidance to how to add a Macromedia Flash inside my asp.net pages, is there a clean way to do this? i used to...
2
by: blueskies | last post by:
Can anyone using both ASP.NET and MM Contribute provide some pointers or links to best practices when implementing a website with content provided by end users? Thanks for any suggestions or...
7
by: nethajireddy | last post by:
--------------------------- Macromedia Dreamweaver MX --------------------------- While executing getCurrentValue in AddressURL.htm, a JavaScript error occurred. --------------------------- OK ...
1
by: john | last post by:
I have a site made by Dreamweaver. Is there anyway I can incorporate ASP.NET in that?
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.