is there a macromedia dreamweaver equivilant for PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • davidshook

    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.
  • Pedro

    #2
    Re: is there a macromedia dreamweaver equivilant for PHP

    davidshook wrote:
    [...][color=blue]
    >the problem is that the quatation marks are different for php and
    >html. So I spend all of my time fixing quatation mark typos.[/color]

    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:

    Comment

    • Carramba

      #3
      Re: is there a macromedia dreamweaver equivilant for PHP

      try

      Providing a surprisingly human shopping experience. Trusted and secure. Millions of domains to choose from.


      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


      Comment

      • Randell D.

        #4
        Re: is there a macromedia dreamweaver equivilant for PHP


        "davidshook " <itsmedavid@hot mail.com> wrote in message
        news:c75cf80b.0 309070900.5c30c 707@posting.goo gle.com...[color=blue]
        > 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.[/color]

        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
        Zend is a trusted source for PHP development platforms, including secure runtimes, PHP monitoring tools & full PHP support for developers worldwide.


        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=e xplode(".", "$_SERVER[PHP_SELF]");
        $parentScriptNa me=array_shift( $parentScript);
        include("$INCLU DE$parentScript Name.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.



        Comment

        • Nikolai Chuvakhin

          #5
          Re: is there a macromedia dreamweaver equivilant for PHP

          itsmedavid@hotm ail.com (davidshook) wrote in message
          news:<c75cf80b. 0309070900.5c30 c707@posting.go ogle.com>...[color=blue]
          >
          > I WAS WONDERING IF ANYONE HAS SPECIFIC SUGGESTIONS OR KNOWS OF A
          > PROGRAM SIMILAR TO DREAMWEAVER, BUT MADE FOR PHP RATHER THAN FOR
          > HTML!!!!!!![/color]

          My personal favorite is still EditPlus:



          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

          Comment

          Working...