PHP Editor

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Since day 2 (day 1 was notepad :P) I have used EditPlus. It seems to have everything I want and more.

I can't say I've ever needed these "collapsable code blocks" you talk about, but maybe I would in the future.

EditPlus has good syntax highlighting and thats the only thing I really need to be honest, also it's free.

From the website:
- Syntax highlighting for HTML, CSS, PHP, ASP, Perl, C/C++, Java, JavaScript and VBScript. Also, it can be extended for other programming languages based on custom syntax files.
- Seamless Web browser for previewing HTML pages, and FTP commands for uploading local files to FTP server.
- Other features include HTML toolbar, user tools, line number, ruler, URL highlighting, auto-completion, cliptext, column selection, powerful search and replace, multiple undo/redo, spell checker, customizable keyboard shortcuts, and more.
http://www.editplus.com

Does anyone else use this?
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

isn't that an shareware version?. A free PHP editor for Windows that I was told of is Davor's PHP Editor. I am personally a Linux user so can't really say. Give it a try! :D
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

well you download the full version, and then after so many days using it it prompts you to buy it each time you open it, but you dont have to and can continue using the full version forever.

if you hate the pop up there is a keygen somewhere. i used to have it.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

lol but using software beyond it's expiry is considered illegal (not that im bothered hehe)... There is plenty of free editors out there which offer a lot more, you should give them a try.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

stay away from the piracy talkage...
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

sorry feyd, wont happen again.

also, its not illegal im 99% sure the software is supposed to say you are on day 32324 of your 30 day trial period, please register here, or continue. if not, its the most stupid flaw in any software ive ever seen :P
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

jayshields is typical of why I discontinued publishing any shareware. Along with Joe's "not that I'm bothered..." Too many people think payment is optional and that using it without payment is not theft. Sigh.
PCSpectraRetired
Forum Newbie
Posts: 10
Joined: Sun Aug 28, 2005 7:55 pm

Post by PCSpectraRetired »

Bill H wrote:Ah. At the risk of sounding arrogant, it seems to me that keeping code broken into manageable functions avoids the need for anything like that. I've never felt the need to get any code"out of my way" in that fashion, and I've been doing this since 1980 or so, including applications and systems in the hundreds of thousands of lines. That's what functions and includes are for.
Althought not a ole' timer like you :wink: (I did start young, around 8 on a Commadore Vic-20 and it's version of BASIC) I tend to agree...

Cheers :)
PCSpectraRetired
Forum Newbie
Posts: 10
Joined: Sun Aug 28, 2005 7:55 pm

Post by PCSpectraRetired »

IMHO UltraEdit is the best editor out there for PHP, Perl , etc that don't have a dedicated IDE.

It is very fast and can handle large files easily, although...files shouldn't be that large anyway :)

It even has Indent/Unindent and column selection capabilities, which IMHO come in really handy when copying code from a web site and pasting into your own.

Cheers :)
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Bill H wrote:
If you have a collection of small classes in a single file
Good point, hadn't thought of that. It would be useful.
And one other "common" (for certain sub-groups of people) use-case for code folding: Places where you're interfacing one computer languange to another. I beleive the PHP interpreter's code base makes a lot of use of folding to hide a lot of the "cruft" involved with "transparently" converting the internal representaions of variables into the arguements expected by the underlying C library functions, etc.

At work we have a python application that we commonly extend with custom C code. There's some very repetitive/boring template code for handling the conversion of multiple returns to extra reference parameters so that the compiler is happy. In many cases this template code is pre-generated by the compiler and automatically "fixed" if manually editted, etc. However, normally we don't need to look at it, so if its folded away it makes life easier.

Expanding on my documentation comment too -- at work, and other places, I've seen people embedding even more than normal "DocBlock" upto and including extended tutorials into the code documentation. The build process also creates a complete web and print reference manual. (Significantly more involved than phpDocumentor's tutorial support).... The amazing thing... the developers actually are keeping the documentation in sync!)

Yes, it is VERY easy to abuse, once you get used to it. Ie in the common self-submitting form that a lot of PHP writers use, having the form handler in one folding block and the page display in another. For all but the simplest, its likely better to have better functional/object decomposition.
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

Althought not a ole' timer like you
I think I take umbrage at that. I only started drawing Social Security this year.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

While collapsable code blocks may seem pointless to some people (as Bill H appears to believe :P) I found it very useful for someone who's just learning the PHP language, such as myself. I haven't been PHPing for even a year yet so when I need to concentrate on certain areas, having all of that other code visible can some times be a distraction to me.

Perhaps for my usage, being able to hide your code blocks may seem a bit n00bish. But as nielsene mentioned, it can prove useful for advanced users as well.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
BruceT
Forum Newbie
Posts: 14
Joined: Sat Aug 27, 2005 10:23 am

Post by BruceT »

I like the code folding in an editor as well, because it allows me to "hide" blocks of code, especially methods in a class file, that are complete and tested. It makes it easier to scroll through the whole file and see a larger "view" of it with just the method signature lines displayed, and the method contents safely hidden away until I need to look at them again.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Any of these editors (free) can open remote file and edit and save - via ftp ?
Post Reply