Your PHP programming environment

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

User avatar
delorian
Forum Contributor
Posts: 223
Joined: Sun May 04, 2003 5:20 pm
Location: Olsztyn, Poland

Post by delorian »

Stoker wrote:uhm as I tried to mention earlier, DW and ZS is not comparable products, although they both have some of the same features, ZS don't know much about designs, and DW don't know a lot about PHP...

DW is for design.
ZS is an IDE/Debugger with a good editor for PHP.
I know, but I have to choose one of them, there's a problem called money, I can't afford them both... or maybe I will take them both, with some ehmmm, $%##egal way :wink: :lol:
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Here's my environment:

• Operating Systems:

* Server:
- An ancient 100 MHz Pentium/586, 800 MB HD and 16 MB RAM on the ground under my desk with only power and network cable plugged in, powered by Debian GNU/Linux 3.0r1 plus:
- Apache 1.3.26
- MySQL 3.26.49
- PHP 4.3.2 (Apache module)
- Samba 2.2.3a-12
- FTP, SSH and other stuff

* Workstation:
- An 800 MHz Athlon Thunderbird, 20 GB, 256 RAM running Windows XP

• PHP

I started coding PHP with UltraEdit version 8. Then later I tried DreamWeaverMX and its internal FTP functionality (especially that Local/Remote site and auto-upload on save) made me move. Nowadays I'm thinking to move to ZendStudio. DW is very poor as a PHP editor.

• MySQL/Database

I use DBDesigner for database design, modelling, creation and maintenance. I use sql-scripts/mysql console application for populating.

• HTML code editor

I started with Homesite (one of the best, in my opinion), and used it from version 2 to 5, then moved to DreamWeaverMX as said above. As I'm thinking to leave DW, I'm looking for another HTML *code* editor. It seems I'm going back to Homesite :)

• Design

For all designing stuff I use the amazing Adobe Photoshop 7.0, need (almost) nothing else. Sometimes I play with Blender (powerful 3D modelling and rendering program - ah! it's open source ;))

• Other applications

- TopStyle PRO for editing CSS documents or <style> HTML tags
- UltraEdit for JavaScript and every text-editing task
- PuTTY as SSH client
- LeapFTP as FTP client
- Mozilla Firebird as browser (its JavaScript console deeply rocks)

I use that ancient server as a test environment. All administration is made via SSH. When things work I upload the modified files to the webserver (on the Internet) using LeapFTP.

Here is the list of OS/applications I use:

• Debian - http://www.debian.org
• UltraEdit - http://www.ultraedit.com
• DreamWeaverMX - http://www.macromedia.com
• DBDesigner - http://www.fabforce.net
• HomeSite - http://www.macromedia.com
• Adobe Photoshop - http://www.adobe.com
• Blender - http://www.blender.org
• TopStyle PRO - http://www.bradsoft.com/topstyle/
• PuTTY - http://www.chiark.greenend.org.uk/~sgtatham/putty/
• LeapFTP - http://www.leapware.com
• Mozilla - http://www.mozilla.org

This is it. That's my contribution. After read above posts, I decided to take a look at Komodo and Eclipse. Thanks.

Regards,
Scorphus.
lastcraft
Forum Commoner
Posts: 80
Joined: Sat Jul 12, 2003 10:31 pm
Location: London

Post by lastcraft »

Hi.

I would just echo some previous sentiments that a source control system, such as CVS, is essential. You don't think it is (I didn't) and you can up with a workaround for every disaster scenario I could come up with, but really it is. You really cannot live without it once you have set everything up. All of these possibilities are free once the tool is set up...
1) Accessable from any workstation.
2) Automatically backing up from one point.
3) Multiple users.
4) Can try out new ventures, such as a big deletion, but still roll back.
5) Controlled one click roll-out including different versions to different servers.
6) Automated roll-out (this changes the whole development style).
7) Easy viewing of old versions (with a WebCVS tool such as in Horde).
8) Easy restore after changing workstation (just check-out).
All of this gives you a solid base upon which to grow your methodolgy.

yours, Marcus.
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

My environment.

SuSE Linux 8.2 as the OS (Comes with much of this stuff by default)
Zend Development Environment 3.0 for PHP, HTML, and CSS.
CVS for Versioning Control
vim if I am editing files on the server
Aqua Data Studio for SQL access (http://www.aquafold.com/)
DIA for Code Diagrams
gFTP for FTP access
Rhytymbox for Music (Hey! I need my music when I code!)
SSH (obviously!)
Epiphany Web Browser
GIMP 1.3 for Graphics
Selkirk
Forum Commoner
Posts: 41
Joined: Sat Aug 23, 2003 10:55 am
Location: Michigan

Post by Selkirk »

Hardware:

I am using a 300 Mhz G3 with 768MB RAM running Mac OS X. (planning to upgrade at the next G5 update)

Software:

BBEdit - An outstanding text editor with php syntax coloring, a nice diff capability and good regexp based multi file searching, etc.
Dreamweaver MX - I use this for html design & template design, but not PHP editing. I am a programmer, not a designer. I mostly use the site manager for uploading and syncronizing to the various sites I work on.
Photoshop - My graphics skills suck, but every once and a while I have to do an icon, logo, or a product photo.
Apache - I'm using the version of Apache that comes with OS X.
MySQL - I am running the latest version of MySQL 3.x on my machine.
PhpMyAdmin - I have this aliased so that I can access it from any site I am working on.
PHP - I have 4.3.2 installed right now for development, but I keep the 4.1.2 version that comes with OS X available for BC testing.
OmniWeb - I used this browser for development because it has a really nice syntax colored view source, and it can has a logging capability for viewing HTTP headers. I default the homepage to http://localhost/ which is always the current project I am working on.

Organization:

The normal DocumentRoot on the Mac is /Library/WebServer/Documents/. I use a subdirectory for each site that I work on and change my apache DocumentRoot to the subdirectory according to which project I am currently working on. Someday I will write a script to automate this. I also have each site set up in dreamweaver with the appropriate paths, etc.

Archival:

I have two hard drives with a custom written shell script that copies and compresses backups from one to the other in the early morning hours.
xmlcafe
Forum Newbie
Posts: 1
Joined: Fri Sep 26, 2003 3:48 am

Post by xmlcafe »

I'm using:
win 2000 - Apache 2.0.47 - PHP 5.0.0 beta 1 - MySQL 4.0.15a
As an editor: ConText with an hardlink to php_manual.chm (using F9 I get on item help)
I think that's a greate editor because it knows of many other languages
sincerely
Post Reply