Editing PHP code in Dreamweaver MX.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cory W
    Deeply shallow
    • Jan 2004
    • 9133

    #1

    Editing PHP code in Dreamweaver MX.

    Is this considered an "ok" thing to do?

    I am not a programmer in the slightest, but I can pull down PHP files, open them with DW and alter code appropriately.

    For all intents and purposes, it seems to work. However, I wonder if coders look down on this or if DW manipulates the code adversly at times?

    I know back in the day, editing code in DW sometimes led to errors down the road.

    I am just wondering if Dreamweaver software is now a solid PHP editor.
    ICQ: 292310358
    Offering writing and content services (mainstream).
    Marketing for L3 Payments
  • dodger21
    Confirmed User
    • Jan 2003
    • 2680

    #2
    I do all my PHP, ASP and SQL coding in Dreamweaver. Haven't had any issues with it.
    icq: 237055440

    Comment

    • pstation
      Confirmed User
      • Jul 2003
      • 1135

      #3
      I suppose it depends on how you use it. I've been using it lately for writing code and haven't experienced any problem yet, but I pretty much never use the wysiwyg editor except to preview the design.
      Last edited by pstation; 06-21-2006, 01:59 PM.

      Comment

      • nestle
        Confirmed User
        • Apr 2006
        • 647

        #4
        You can edit PHP files in any text editor. PHP files are all text files in essence unless it's been encoded in which case it will most likely be binary and you won't be able to read it.

        Believe it or not, a lot of PHP coders use dreamweaver.

        Comment

        • fris
          I have to go potty
          • Aug 2002
          • 55824

          #5
          i usally do mine on my box in vi
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


          My Newest Theme

          Comment

          • jimthefiend
            So Fucking Banned
            • Oct 2003
            • 18889

            #6
            I notice more problems using notepad for PHP than I do with the text editor in DW.

            Comment

            • marketsmart
              HOMICIDAL TROLL KILLER
              • Dec 2004
              • 20419

              #7
              Originally posted by nestle
              You can edit PHP files in any text editor. PHP files are all text files in essence unless it's been encoded in which case it will most likely be binary and you won't be able to read it.

              Comment

              • MaddCaz
                Confirmed User
                • Mar 2006
                • 9483

                #8
                Yea I think you're good.

                BigCocks.com -
                MatureWomen.com -
                Tranny.com -
                DrunkGirls.com -
                TeenGirls.com -
                MonsterCock.com and
                many more... Click
                here to see them all!

                Comment

                • CaptainHowdy
                  Too lazy to set a custom title
                  • Dec 2004
                  • 94137

                  #9
                  Yeah, i edit PHP and ASP in Dreamweaver MX without any hassle !!

                  Comment

                  • DigitalPimpShit
                    Confirmed User
                    • Apr 2002
                    • 783

                    #10
                    I use Crimson Editor. Its free and there is no worry of it inflating the code. Its like wordpad but it color codes the syntax.

                    Comment

                    • Cory W
                      Deeply shallow
                      • Jan 2004
                      • 9133

                      #11
                      Awesome, wanted to make sure I was not the only one.

                      This is simple stuff. More or less, after programmers create the pages, I pull certain php files down to edit them.
                      ICQ: 292310358
                      Offering writing and content services (mainstream).
                      Marketing for L3 Payments

                      Comment

                      • BradM
                        Confirmed User
                        • Dec 2003
                        • 3397

                        #12
                        Originally posted by Fris
                        i usally do mine on my box in vi
                        yeah, but someone like cory wouldn't have the slightest idea how to do that. not safe. unless you jail his user heavy

                        Comment

                        • BradM
                          Confirmed User
                          • Dec 2003
                          • 3397

                          #13
                          Originally posted by jimthefiend
                          I notice more problems using notepad for PHP than I do with the text editor in DW.
                          Stop wordwrapping? Notepad is a plain text editor, there is no reason you should have any problems at all. Or are you just making that up to sound cool?

                          Comment

                          • mrkris
                            Confirmed User
                            • May 2005
                            • 2737

                            #14
                            I use Zend for 90% of my php coding.

                            PHP-MySQL-Rails | ICQ: 342500546

                            Comment

                            • summerland
                              So Fucking Banned
                              • Jun 2006
                              • 162

                              #15
                              I say kuddos.

                              Comment

                              • jimthefiend
                                So Fucking Banned
                                • Oct 2003
                                • 18889

                                #16
                                Originally posted by BradM
                                Stop wordwrapping? Notepad is a plain text editor, there is no reason you should have any problems at all. Or are you just making that up to sound cool?

                                It's more than wordwrap. The rest I'll ignore because I'm tired.

                                Comment

                                • BradM
                                  Confirmed User
                                  • Dec 2003
                                  • 3397

                                  #17
                                  Originally posted by jimthefiend
                                  It's more than wordwrap. The rest I'll ignore because I'm tired.
                                  #php just laughed hysterically at your comment. Dumbass.

                                  Comment

                                  • nestle
                                    Confirmed User
                                    • Apr 2006
                                    • 647

                                    #18
                                    Originally posted by DigitalPimpShit
                                    I use Crimson Editor. Its free and there is no worry of it inflating the code. Its like wordpad but it color codes the syntax.
                                    Crimson Editor is a great freeware tool for PHP ... well any coding you need to do! Definitely makes it easier to write and read php code because of default syntax highlighting. I used to use it when I was working with PHP every now and then. Then I involved myself in a much bigger project so decided to get a php ide.

                                    Comment

                                    • V_RocKs
                                      Damn Right I Kiss Ass!
                                      • Nov 2003
                                      • 32451

                                      #19
                                      Select in DW that it should not break lines for you... Example: if a line is 200 characters long, it should span 2 or 3 lines of WORD WRAP and not be BROKEN by DW at the 80th character and span 2 or 3 lines of the file.

                                      Comment

                                      • Cory W
                                        Deeply shallow
                                        • Jan 2004
                                        • 9133

                                        #20
                                        Thanks all for your help.
                                        ICQ: 292310358
                                        Offering writing and content services (mainstream).
                                        Marketing for L3 Payments

                                        Comment

                                        • jimthefiend
                                          So Fucking Banned
                                          • Oct 2003
                                          • 18889

                                          #21
                                          Originally posted by BradM
                                          #php just laughed hysterically at your comment. Dumbass.
                                          *sigh*

                                          Everyones busting my balls today.
                                          A quick google search will find all kinds of similiar issues.

                                          Some editors (including Windows Notepad in win2000 and up) use the convention of marking Unicode files with 'FFFE' in the beginning. When opening the files that start like this, they assume they are unicode and shift to unicode mode, removing those two bytes from the beginning.

                                          Unfortunately this convention is not a standard and breaks a great many things, including php - it makes php start the output when the file does not immediately start with <?php - and this is not easy to detect, because when you open this file, you see that it does, because your software removes those two bytes again.

                                          It appears that this is a probable cause of your problems, the only way to fix this is to try another editor which does not follow this silly convention and check your index.php.


                                          Dumbass.

                                          Comment

                                          • Violetta
                                            Affiliate
                                            • Jul 2004
                                            • 28735

                                            #22
                                            I just did some php changes in NVU, but that fucked it all up. So I had to turn on my laptop where I have dreamweaver installed, and fix it there...

                                            Dreamweaver ROCKS!
                                            M&A Queen

                                            Comment

                                            • seeric
                                              ..........
                                              • Aug 2004
                                              • 41917

                                              #23
                                              Originally posted by jimthefiend
                                              I notice more problems using notepad for PHP than I do with the text editor in DW.


                                              what he said.

                                              Comment

                                              Working...