76 (edited by MadHatter 2006-09-16 15:05)

Re: What editor do you use for php?

deadram wrote:

So you would like bloated software? I like 5 commands to filter out all the junk of that 12Gig into 5Gig

the 12 gig file was the filtered data.  what to do then?

deadram wrote:

Why waste all that CPU on things your not going to use in that session, when your computer could be doing other, more important things; like archiving porn off the web automagically, and rotating each of your 10 virtual desktops to display the images, while hosting a website, calculating the rating to give to you music collection based on your interactions with your music player, reading you an e-book, botting 10 games, building a C++ app, and calculating the relative position of the moon to the sun in 2 billion years, all whilest your writing your latest addition to your php script on less then 1Gig of ram, and not even using 50% of your 3Gig CPU... ;p

because I can do all that w/ out taking up 25% of my system resources.  because there have been great strides in software that increases productivity.  Im not trying to do a "vi 1337" conversation.  I use both linux and window, vi and visual studio, because thats my job.  I'm not just a hobbyist developer; folks pay me quite a bit to do what I do, and not saying that for any other reason but that if I were paying someone quite a bit of cash, I'd expect their output to be substantial.  If you look at the time it takes to do end to end production: from system analysis to maintenance cycles, using tools like photoshop, vmware, visual studio or eclipse, sparx or any of the other products blacklisted in your last post, then compare how long it takes for that cycle to evolve using notepad, and a compiler, you'll see that development time is exponentially more with the "non-tools."  vi has no built in case tools.  it cant template out entire projects.  it doesnt have code insite into code my team has written--if bob wrote some library and added documentation to that object, can vi give me a list of methods available on an object and display what those methods were meant to do? no it does not, so I'd have to open up the source code to those files and dig through to find out what it was intended to do.

I'm not trying to say anyone sucks for using editors like emacs or vi.  they have their place, and I know quite a bit of people who'd rather use them than tools that do so much more.  I'm just pointing out that for enterprise application development, your clients are going to spend way more money on your development, or you're going to loose more money because it takes you longer to code your application, if you use a plain text editor.

that is all.


http://sanity-free.org/misc/vi-emacs-final.png

Re: What editor do you use for php?

hehe, Nice pic big_smile

I still can't side with you though, because your compairing VS to vi... My point about vi being a terribly useful tool is that it is not the development environment, it's just the text editor of the development environment. Plug in a script (with cron? your bash login script? the list goes on) to check the cvs/svn repository every X minutes, and read alloud through one of the text2speech apps, when new junks arrived. Have it open a window on your desktop instead, with say, Quanta, or have a perl script parse the code and just spit out all the public functions in an html file? The important point here is that 1) this stuff isn't being done by vi, 2) you choose who says what to who now. Having vi as your editor, really meens you have bash as your ide. Depending on the project, you can alter the very nature of the development environment. With VS it's all or nothing... total lack of freedom (Other windows apps often follow this approach; interestingly enough that's what emacs ~sortof~ did). That being said, I am a hobbist; and I probably won't every work for oddles of other peoples money (at least not for programming/scripting). Should that time come we'd have to time me on vi, and then on VS... I'm about 100% sure that vi would be faster though, cause I'd get 'unknown statement ":.,+100s/a/iMyValue/g"' errors all the time, ohh, and alt+f4 isn't a good thing to press on windows...

It really comes down to what your confortable with, like I know football (soccer in north america) is the best sport in the world, but if your not comfortable saying it, I understand tongue big_smile

echo "deadram"; echo; fortune;

78

Re: What editor do you use for php?

deadram wrote:

like archiving porn off the web automagically

Don't want to stray off topic but this caught my eye. I assume your sucking up alt.binaries, if so what have you found on Linux that works well?

Re: What editor do you use for php?

ummm... lol... not exactly the answer i was looking for...
I just use a cron job, and run a script that minors http sites. Add a line to the script and I get a new site.

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

lets say you're going on a road trip.  you have several options on how to get there.   lets throw out public transport.  you can either walk, ride a bicycle, or drive an automobile.  If you ask a person who doesnt know how to drive or ride a bike, they'd rather walk because thats what they know how to do (been doing it their whole lives.  they know a few tricks to make walking easier.  they have good shoes, and they dont weigh a ton while traveling).  if you ask somebody who's never driven a car before but knows how to ride a bike, I'm sure they'd rather ride the bike, because it gets them there w/ less effort.  now ask the guy who knows how to drive a car, and they'd pick the car.

now they'd all get to their destination using all 3 different methods of transport.  the car would get there first followed by the bike and the walker would get there last.

software engineering is the same way.  you can write the app in machine code, but writing in assemble is quicker, but writing in a full featured programming language that can comple to machine code is even quicker than writing assembler.  beyond this point you have the same type of thing.  you can write all your code in a text editor or you can write it in an IDE.  each one of these solutions will get you an application executable, but much like the foot, bike, and car situation, there will be one way that will get you to a running app faster and with less effort than the others. 

I could be a genius at x86 assembler and write an app that is faster and more efficient (althoug it would only be capable of doing 1 thing) than the exact same app written in java. the java app however would take less time to write, and it would have more features, and it would be able to run on x86, x64, i64, sparc and mobile devices.

the reason for all this is that as hardware changes (monitor memory now is capable of storing more than 80 characters) the way we program them changes.  as hardware gets more advanced, the code to program it gets more advance, and as that happens the way we write it changes.

vi was great on a little operating system at&t made a long time ago, when sh was the only shell around, and there was no windowing environments, and things were written in c.

when you're working w/ large frameworks, large code bases, and complex conceptual specs, a simple text editor will be like walking to the destination.  it will be like using a very fast app that does 1 thing really good.  unfortunately, the needs of the developer have moved far beyond being able to type letters into a buffer, or be able to run macro's in a text editor to search and replace any occurance of "foo."

if all you're doing is modifying a few lines of an existing application (or script as folks like to call php applications) on the remote server, ssh'ing into the box & using vi to edit the file on the drive, I'll agree that that is a better solution than ftping it to your local box, opening eclipse to change 2 lines of code, the ftping it back to the server only to repeat that process several times to fix what you're trying to do.

if your writing a forum system like punbb I dont think that using vi on the remote box is the best solution.  having a local server / database, and using something like phpedit or zend studio (mmm debugger), or dreamweaver would be faster and more efficient than vi.

when I was in school all I used was vi or emacs.  I wasnt writing huge amounts of code, nor things that required short timelines to develop large apps.  it was a good tool for that.

seeing as how we're talking about little php scripts that probably arent object oriented, and dont do more than generate some little html files, I dont think it matters much if at all.

Re: What editor do you use for php?

MadHatter wrote:

if your writing a forum system like punbb I dont think that using vi on the remote box is the best solution.  having a local server / database, and using something like phpedit or zend studio (mmm debugger), or dreamweaver would be faster and more efficient than vi.

Well in my particular situation, ssh'in into my own box would be silly, hehe, but true nuff, if it's on a remote box, grab it locally... and if you want to, break out the big boys ;p

Meh, it's kindah like your story up above... Things that arn't "commercial product" quality, or size, don't require this, or that, to modify... You want to drive the car there, and get there first; drive the bike and come second, or walk the way and come last? Well when the distance is short, it doesn't matter tongue

The being said, I couldn't see much use in vi (or the acompanying bach apps) for you, other then the special occation. For me, even with a large project, vi is the way to go. Remeber I'm running linux as a desktop, so I don't have ssh anywhere to get vi up and running, and I have as many v-terminals as I like. The simple fact is, I have more screen realestate then 10 of me could handle, and enough "do this" scripts in the home folder to accomplish anything a Windows app could do for me. Going back to windows, or using wine to run anything other then games would be like moving from a 10 acre house in the country to a bachlor in the heart of the city (Which is an odd analogy... I actually prefer my bachlors, in the city, lol).

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

Scinte is fun for a recursive search in files  : but we could not compare 2 files.
So Vim !!

For an integreted soft (that can use FTP, compare, syntax hilight) may be PSPad under windows or Quanta+ under Linux !

83 (edited by twohawks 2006-09-26 19:10)

Re: What editor do you use for php?

UltraEdit, EditPad, EditPad Pro, Homesite (I use an old version 4.5),HotDog, AceHTML (Pro).. I prefer customizable being able to customize the coding styles so you don't get stuck as code typw evolve (DHTML, PHP, ASP, etc ad-nauseum).

My brain is screwed on tew tite... but I see phpedit was mentioned (defacto?)...
Thought I'd point out zaher just added "Light PHP Edit" which I am going to definitely check out...
http://punbb.org/forums/viewtopic.php?pid=77688#p77688
Cheers,

TwoHawks
Love is the Function
No Form is the Tool

Re: What editor do you use for php?

Are there any Windows editors that can easily validate PHP code?

Re: What editor do you use for php?

guardian34 wrote:

TextMate on OS X.

PunBB TextMate Bundle

86

Re: What editor do you use for php?

I use crimson editor for all the coding (php/css/xhtml).

Re: What editor do you use for php?

Frontpage 2003

www.gameballa.com was done with frontpage 2003

Re: What editor do you use for php?

That is... bad. Very bad.

Re: What editor do you use for php?

zaher wrote:

I released Alpha version of my editor (PHP Light Edit) in sourceforge.net but still need testing and testing, i tried to force my friend to use it, but thay like the huge editors with many features.

I tried this one (yeah I know I'm late but I lost track of this topic), and I find your program nicely done, are you gonna keep work on it?

Re: What editor do you use for php?

elbekko wrote:

That is... bad. Very bad.

What is bad??

My site or the fact that I used frontpage 2003????

91

Re: What editor do you use for php?

guardian34 wrote:

Are there any Windows editors that can easily validate PHP code?

Check this out: http://www.activestate.com/products/komodo_edit/

Re: What editor do you use for php?

Dreamweaver is best in my opinion.

93

Re: What editor do you use for php?

I use "PHP Editor" its a free, and very easy to use program, and does the job.

Re: What editor do you use for php?

rollonequick wrote:
elbekko wrote:

That is... bad. Very bad.

What is bad??

My site or the fact that I used frontpage 2003????

Primarily Frontpage. But the fact that your site is a bunch of copied scripts and Frontpage-generated code doesn't make that very good either.

Re: What editor do you use for php?

PSPad

Re: What editor do you use for php?

elbekko wrote:
rollonequick wrote:
elbekko wrote:

That is... bad. Very bad.

What is bad??

My site or the fact that I used frontpage 2003????

Primarily Frontpage. But the fact that your site is a bunch of copied scripts and Frontpage-generated code doesn't make that very good either.

I don't know elbekko, I've fallen in love with this concise coding style: wink

                    <tr>
                        <td>

                        <p style="margin-top: 5px; margin-bottom: 5px"><b>
                        <font face="Arial" size="2">- <font color="#3399FF">
                        <a href="news.php">
                        <font color="#3399FF">Home</font></a></font></font></b></p>
                        <p style="margin-top: 5px; margin-bottom: 5px"><b>
                        <font face="Arial" size="2">-
                        </font>
                        <a href="profile_fields.php">

                        <font face="Arial" size="2" color="#FFFFFF">My GB Profile</font></a></b></p>
                        <p style="margin-top: 5px; margin-bottom: 5px"><b>
                        <font face="Arial" size="2">-
                        <a href="message_list.php">
                        <font color="#FFFFFF">My GB Messages</font></a></font></b></p><p style="margin-top: 5px; margin-bottom: 5px">
                        <font face="Arial"><b><font size="2">-
                        <a href="bank.php">
                        <font color="#FFFFFF">My GB Bank Account</font></a></font></b></font><p style="margin-top: 5px; margin-bottom: 5px">

                        <b><font face="Arial" size="2">-
                        <a href="mychallenges.php">
                        <font color="#FFFFFF">My GB Challenges</font></a></font></b></td>
                    </tr>
Looking for a certain modification for your forum? Please take a look here before posting.

97

Re: What editor do you use for php?

Editplus
Editplus syntax files

Post hoc ergo propter hoc

Re: What editor do you use for php?

pogenwurst wrote:

I don't know elbekko, I've fallen in love with this concise coding style: wink

[...]

Good Lord...

Re: What editor do you use for php?

i'm just a beginning with php but i like http://jedit.org/ when i'm using different os's and http://www.kdevelop.org/ when i'm in linux only mode.  both are free.

100

Re: What editor do you use for php?

Bluefish is apparently quite a good one for *nix systems. Don't think they have a M$ port of it. (I still prefer vi myself). big_smile