Re: [PHP] PHP editor
Not exactly... I was not reffering to PHP files... The white spaces from a template file will make double the size of certain files when they are sent to the browser... So a page of 50 k might have 100 K because of those white spaces instead of tabs... For a dial up connection this means a lot even if you are not google... can someone confirm this? this sounds totally wrong. Why does it sound totally wrong? A tab is a single character whereas 2 spaces are 2 characters. 1 x 50k = 50k 2 x 50k = 100k Try the following code: echo str_repeat( , 5 ); or echo str_repeat( \t, 5 ); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 11:58 am, Chris Boget wrote: Why does it sound totally wrong? A tab is a single character whereas 2 spaces are 2 characters. 1 x 50k = 50k 2 x 50k = 100k Try the following code: echo str_repeat( , 5 ); or echo str_repeat( \t, 5 ); Remove all whitespace from the final HTML, then all this doesn't matter. function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
Remove all whitespace from the final HTML, then all this doesn't matter. function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Have already thought about this but would this not be too time consuming to process this replacement on evey hit? I am using a version of fast template much improved on a site which is already very overloaded so this would mean additional processing and replacements seems to be resources consuming sometimes... Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide... http://search.jobsgrabber.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Not to be too pedantic, but you could probably reduce the above to a single line function: function cleanFinalOutput($html){ return eregi_replace(\n, , eregi_replace(\r, , eregi_replace(\t, , $html ))); } ;) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP editor
Chris Boget mailto:[EMAIL PROTECTED] on Thursday, April 15, 2004 9:59 AM said: Not exactly... I was not reffering to PHP files... The white spaces from a template file will make double the size of certain files when they are sent to the browser... So a page of 50 k might have 100 K because of those white spaces instead of tabs... For a dial up connection this means a lot even if you are not google... can someone confirm this? this sounds totally wrong. Why does it sound totally wrong? A tab is a single character whereas 2 spaces are 2 characters. i guess you didn't read the second part of my email that started after the ON THE OTHER HAND line. what i was trying to say was that if he meant the HTML output then yes of course it's going to make the file larger... SO instead of using the tab key to indent his html he should use the space bar. i use one space to indent html. i use the tab key (literally 4 spaces) to indent my php. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP editor
Arthur Radulescu mailto:[EMAIL PROTECTED] on Thursday, April 15, 2004 10:02 AM said: Remove all whitespace from the final HTML, then all this doesn't matter. [snip function] Have already thought about this but would this not be too time consuming to process this replacement on evey hit? I am using a version of fast template much improved on a site which is already very overloaded so this would mean additional processing and replacements seems to be resources consuming sometimes... maybe instead of running the function at runtime you can create two sites (there might be a more elegant way to do this), one for development and one that is live. on the development site you put as many white space characters as you want, then run all the template files through a perl script that strips out all unnecessary white space and publishes those template files to the live site. this way you only have to run the script once and you can continue to work on a readable template file. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
i guess you didn't read the second part of my email that started after the ON THE OTHER HAND line. Ok, yes, I am a retard. :) Chris -never mind me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[Re: [PHP] PHP editor]
1 - If we are talking about php code, it's irrelevant, in terms of size, using spaces or tabs, because they are not part of output. 2 - If, on other and, we are talking about html created by the php code, the case is completely different because output is parsed to the browser, so size will increase if we use tabs. I use spaces for php code and tabs for html. Jorge | cloreto.com Chris Boget wrote: Not exactly... I was not reffering to PHP files... The white spaces from a template file will make double the size of certain files when they are sent to the browser... So a page of 50 k might have 100 K because of those white spaces instead of tabs... For a dial up connection this means a lot even if you are not google... can someone confirm this? this sounds totally wrong. Why does it sound totally wrong? A tab is a single character whereas 2 spaces are 2 characters. 1 x 50k = 50k 2 x 50k = 100k Try the following code: echo str_repeat( , 5 ); or echo str_repeat( \t, 5 ); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
* Thus wrote Chris Boget ([EMAIL PROTECTED]): function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Not to be too pedantic, but you could probably reduce the above to a single line function: function cleanFinalOutput($html){ return eregi_replace(\n, , eregi_replace(\r, , eregi_replace(\t, , $html ))); } um.. preg_replace('/\s+/m', ' ', $html); pre btw, blindly removing space (even from html) isn't a wise thing todo. /pre Curt -- I used to think I was pedantic, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[Re: [PHP] PHP editor]
I think I am also sleeping :) My conclusion is that: - for html is better using tabs because by using spaces, it will increase output to the browser; - when coding php it's irrelevant because output is not parsed to browser. Jorge | cloreto.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 12:32 pm, Curt Zirzow wrote: um.. preg_replace('/\s+/m', ' ', $html); pre btw, blindly removing space (even from html) isn't a wise thing todo. /pre The function I posted only removes tabs, newlines, and carriage returns. It does not remove space characters. Your example seems to be the dangerous one. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 12:02 pm, Arthur Radulescu wrote: Have already thought about this but would this not be too time consuming to process this replacement on evey hit? I am using a version of fast template much improved on a site which is already very overloaded so this would mean additional processing and replacements seems to be resources consuming sometimes... Works for me. Feel free to not use it. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 12:15 pm, Chris Boget wrote: function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Not to be too pedantic, but you could probably reduce the above to a single line function: function cleanFinalOutput($html){ return eregi_replace(\n, , eregi_replace(\r, , eregi_replace(\t, , $html ))); Well, if you like long wrapping lines of code.. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
* Thus wrote Greg Donald ([EMAIL PROTECTED]): On Thursday 15 April 2004 12:32 pm, Curt Zirzow wrote: um.. preg_replace('/\s+/m', ' ', $html); pre btw, blindly removing space (even from html) isn't a wise thing todo. /pre The function I posted only removes tabs, newlines, and carriage returns. It does not remove space characters. Your example seems to be the dangerous one. ok, then: s/[\r\n\t]//m; either way, you're blindly removing white space, which *does* matter in certain cases. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
On Thursday 15 April 2004 12:21 pm, Jorge Oliveira wrote: I use spaces for php code and tabs for html. And the point of doing that is? -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
1 - By using spaces on php code, I assure that I (or others) can edit the script in any editor easily 2 - I use tabs(or no tabs at all) for html because size of output sent to browser is smaller this way. Greg Donald wrote: On Thursday 15 April 2004 12:21 pm, Jorge Oliveira wrote: I use spaces for php code and tabs for html. And the point of doing that is? -- Cumprimentos, Jorge Oliveira Assistência Seara.com Cais das Pedras, Nº 8 , 1º Esq. 4050-465 Porto - Portugal Tel: (+351) 22 607 56 70 Fax: (+351) 22 607 56 77 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [Re: [PHP] PHP editor]
[snip] 1 - By using spaces on php code, I assure that I (or others) can edit the script in any editor easily 2 - I use tabs(or no tabs at all) for html because size of output sent to browser is smaller this way. [/snip] That is not correct. Since PHP and HTML engines all ignore white space and comments it does not matter how much of either you put in a file. Your arguement is specious at best. If you really believed it was a problem you would eliminate new lines as well. Your code would begin to look like ... htmlheadtitleI Am A Code Genious, NOT/title/headbody bgcolor=#FFTons of stuff in a long line/body/html or ?php echo $variable. I am a code genious, NOTbr\n; for($i=0;$100;$i++){if(4==$i/2){echo I am still a genious, NOT!br\n;}else{exit();}? Readable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP editor]
Jorge Oliveira mailto:[EMAIL PROTECTED] on Thursday, April 15, 2004 10:32 AM said: - for html is better using tabs because by using spaces, it will increase output to the browser; only if you use more than one space per indent. chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... --- That is not correct. Since PHP and HTML engines all ignore white space and comments it does not matter how much of either you put in a file. Your arguement is specious at best. If you really believed it was a problem you would eliminate new lines as well. Your code would begin to look like ... htmlheadtitleI Am A Code Genious, NOT/title/headbody bgcolor=#FFTons of stuff in a long line/body/html or ?php echo $variable. I am a code genious, NOTbr\n; for($i=0;$100;$i++){if(4==$i/2){echo I am still a genious, NOT!br\n;}else{exit();}? Readable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [Re: [PHP] PHP editor]
[snip] PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... [snip] Your assumption about Google would be incorrect, it has nothing to do with page size as most of their pages are predominately text. See http://www.w3.org/TR/html401/struct/text.html#whitespace for a more detailed dissertation on white space in HTML. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 12:57 pm, Curt Zirzow wrote: ok, then: s/[\r\n\t]//m; either way, you're blindly removing white space, which *does* matter in certain cases. What case would that be? The function I posted is completely safe. I've been using it for a long time without any issues. View my efficient single line of html source code: http://destiney.com/. All the styles and javascript work fine. HTML parsers don't give a rats ass about newlines, tabs, and carriage returns so why have them.. Makes the output easier to compress as well. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
What I meant was that it is obiously that eliminating the spaces but not by a blind replacement, the new lines characters and even the tabs will reduce the size of the page which will result in a faster loading and less bandwidth consumed... And the example was google... Am I wrong with anything here? [snip] PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... [snip] Your assumption about Google would be incorrect, it has nothing to do with page size as most of their pages are predominately text. See http://www.w3.org/TR/html401/struct/text.html#whitespace for a more detailed dissertation on white space in HTML. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
You are correct, but I believe the bandwidth savings is small. What I usually do for my apps is allow the admin to configure whitespace trimming. If configured, I only remove whitespace from the beginning of the line to the first non-whitespace character. This reduces the code size somewhat, while still leaving the HTML human-readable (newlines are intact). cheers, Travis Arthur Radulescu wrote: What I meant was that it is obiously that eliminating the spaces but not by a blind replacement, the new lines characters and even the tabs will reduce the size of the page which will result in a faster loading and less bandwidth consumed... And the example was google... Am I wrong with anything here? [snip] PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... [snip] Your assumption about Google would be incorrect, it has nothing to do with page size as most of their pages are predominately text. See http://www.w3.org/TR/html401/struct/text.html#whitespace for a more detailed dissertation on white space in HTML. -- Travis Low mailto:[EMAIL PROTECTED] http://www.dawnstar.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
From: Chris Boget [EMAIL PROTECTED] function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Not to be too pedantic, but you could probably reduce the above to a single line function: function cleanFinalOutput($html){ return eregi_replace(\n, , eregi_replace(\r, , eregi_replace(\t, , $html ))); Certainly don't need to fire up the regex engine. return str_replace(array(\r,\n,\t),'',$html); ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
You are correct, but I believe the bandwidth savings is small. What I usually do for my apps is allow the admin to configure whitespace trimming. If configured, I only remove whitespace from the beginning of the line to the first non-whitespace character. This reduces the code size somewhat, while still leaving the HTML human-readable (newlines are intact). I have checked on some pages and this is reduced with 15% to 40% usually... But the discussion started from the PHP editor... I have forgot to mention that another serious problem with the previous editors I have used was that I have to develop a website in traditional chinese and it give me lot of problmes with html editing... In fact I had no chances using Zend or dreamweaver or homesite or phpeditor The only chance was using notepad or dreamweaver MX... All the others were messing the template files... I have even tried with Visuyal Studio and had the same problems Since I am developing another website in arabique at this moment I thought that I should ask if anyone knows an editor to handle this kind of editing in good conditions... Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide... http://search.jobsgrabber.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 01:49 pm, Richard Davey wrote: The browser doesn't give a monkeys about whitespace et all. Having said that, stripping it vs. leaving it is virtually irrelevant too and I'm shocked why so many skilled people on this list actually care-less about it :) There is no right or wrong, it's down to personal preferences. Well at my shop more efficient = right and less efficient = wrong. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
On Thursday 15 April 2004 01:38 pm, John W. Holmes wrote: Certainly don't need to fire up the regex engine. return str_replace(array(\r,\n,\t),'',$html); Sweet, didn't know you pass it an array. Thx! -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
* Thus wrote Greg Donald ([EMAIL PROTECTED]): On Thursday 15 April 2004 12:57 pm, Curt Zirzow wrote: ok, then: s/[\r\n\t]//m; either way, you're blindly removing white space, which *does* matter in certain cases. What case would that be? The function I posted is completely safe. I've been using it for a long time without any issues. View my efficient single line of html source code: http://destiney.com/. actually, having *everything* on one line can make things inefficient, depending on the browser implementation on reading lines from the socket. But my point is that there are cases where html is WS sensitive: pre WS sensitive /pre or code style=white-space: pre; if ($ws ) { indent; } /code btw, you have a javascript on your homepage: message: Statement on line 1: Expression evaluated to null or undefined and is not convertible to Object: window.external Backtrace: Line 1 of inline#1 script in http://destiney.com/ window.external.AddFavorite(http://destiney.com/;, document.title); Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [Re: [PHP] PHP editor]
* Thus wrote Arthur Radulescu ([EMAIL PROTECTED]): PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... I very much doubt that, if they were so concerned about WS then they wouldn't have idiotic things like: font size=-1bfont color=#00Web/font/bnbsp;nbsp;nbsp;nbsp; Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
* Thus wrote John W. Holmes ([EMAIL PROTECTED]): From: Chris Boget [EMAIL PROTECTED] function cleanFinalOutput($html){ $return = eregi_replace(\n, , $html); $return = eregi_replace(\r, , $return); return eregi_replace(\t, , $return); } Not to be too pedantic, but you could probably reduce the above to a single line function: function cleanFinalOutput($html){ return eregi_replace(\n, , eregi_replace(\r, , eregi_replace(\t, , $html ))); Certainly don't need to fire up the regex engine. return str_replace(array(\r,\n,\t),'',$html); and yet another way: return strtr($html, array(\t = '', \n = '', \r = '')) Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP editor
Richard Davey wrote: Passing a potentially huge string through a replacement function for every single page doesn't really = efficient in my shop. YMMV. We use Turke MMCache so it's not every single page. Besides that CPUs are way cheaper than bandwidth. -- Greg Donald [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor
Hi, I have found the solution to my problem, I share it http://phpeditors.linuxbackup.co.uk/ Greetings and thanks, Nico -Oorspronkelijk bericht- Van: Jay Blanchard [mailto:[EMAIL PROTECTED] Verzonden: donderdag 2 oktober 2003 14:30 Aan: Nico Berg; PHP General Onderwerp: RE: [PHP] PHP Editor [snip] I am pretty new in PHP coding. So for starters i want to know what is a good php-editor? I like them freeware for windows. [/snip] EDIT for windows is great, it's free, it's already installed and it requires that you do no additional searching of manuals, archives, or the web to use. Click Start-Run. Type command and hit enter. When the command prompt arrives type 'edit' and hit enter. Voila! A windows freeware editing too. You can even use it for batch files, PERL, ASP, and several other languages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor
Nico Berg mailto:[EMAIL PROTECTED] on Friday, October 03, 2003 12:38 AM said: Hi, I have found the solution to my problem, I share it http://phpeditors.linuxbackup.co.uk/ OOH! OOH! OOH! This should be added to the weekly PHP Newbie post!!! chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor
[snip] I am pretty new in PHP coding. So for starters i want to know what is a good php-editor? I like them freeware for windows. [/snip] EDIT for windows is great, it's free, it's already installed and it requires that you do no additional searching of manuals, archives, or the web to use. Click Start-Run. Type command and hit enter. When the command prompt arrives type 'edit' and hit enter. Voila! A windows freeware editing too. You can even use it for batch files, PERL, ASP, and several other languages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor
[snip] I have the Dutch translation of the php-bible and they write: Use the right tool, don't let anybody tell you you need notepad or tools like that, use a proper tool. Are they dumm? Is it better to use a tool like emacs, notepad, edit or someting like that? The advice Visual Slickedit but that is 30 mb and cost 50$. [/snip] Zend Studio - http://www.zend.com But, you wanted freeware for windows, right? Programmers File Editor is free http://www.lancs.ac.uk/people/cpaap/pfe/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor
Nico Berg mailto:[EMAIL PROTECTED] on Thursday, October 02, 2003 5:09 AM said: I am pretty new in PHP coding. So for starters i want to know what is a good php-editor? I like them freeware for windows. HTML-Kit www.chami.com c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I write my code with pencil and paper and then scan it.. Dont need an editor ! John Nichel wrote: I know we've discussed this numerous times, but I'll chime in again (mainly because I'm bored). By far, I have been totally satisfied with UltraEdit. Lightweight, just about any language you want to edit, user configurable syntax highlighting (for those into that), handles UNIX / DOS / Mac files easily, etc, etc. And best of all, buy a liscense (cheap) and you're supporting a programmer, and not a company. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I like accelerators I just didnt like the price. So I wrote my own, but I havent worked all the bugs out yet. From: Robert Cummings [EMAIL PROTECTED] To: Curt Zirzow [EMAIL PROTECTED] CC: PHP-General [EMAIL PROTECTED] Subject: Re: [PHP] PHP Editor - which to use? Date: 24 Sep 2003 09:44:40 -0400 On Wed, 2003-09-24 at 09:43, Curt Zirzow wrote: * Thus wrote Didier McGillis ([EMAIL PROTECTED]): alot easier for me with the returns and tabs. What I do is I have a script that strips out any space, tabs, carriage returns and then moves the code into the production environment. But really unless you are dealing with In some cases, files with no carriage returns is less effeciant than files with them. Accelerators are very efficient, and I'm pretty sure they don't store whitespace except when it's in a string :) Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
me? groan? never! :) Really I think most of agree that its a personal preference if you learned one way then you going to be the most comfortable in using that style. I am very used to C style coding and therefore am more comfortable using that. From: Kevin Bruce [EMAIL PROTECTED] To: PHP-General [EMAIL PROTECTED] Subject: Re: [PHP] PHP Editor - which to use? Date: Wed, 24 Sep 2003 10:34:33 -0400 FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. I started out as a pure designer but got into the web and have since been a moderate code writer, so cut me some slack if my methods are not standard;) Whether or not it is proper form, I use the following format: if($conditional) { some code; } else { if($subconditional) { subsome code; } else { subsome alternate code; } } --- iChat screen name- mdsgkevin * Thus wrote Robert Cummings ([EMAIL PROTECTED]): *COUGH* *COUGH* EVERY REAL coder knows that you have to use the following brace style for your code to be accepted into the l33t hierarchy of [EMAIL PROTECTED]: if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer | in_a_rush if($p) { $bu = substr( $_GET['o'], 0, $p ); $bup = substr( $_GET['o'], ++$p ); } else { $bu = $_GET['o']; $bup = ''; } :) Curt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I think that is the one thing that really gets me, and therefore is the reason that I stay away from Dreamweaver (my wife uses it, so its in the house) but I have to tweak the code it gives me or she gives me when something isnt working, and its always something odd or many things odd in the HTML or php. But again thats just me. From: Kevin Bruce [EMAIL PROTECTED] To: Cesar Cordovez [EMAIL PROTECTED], PHP-General [EMAIL PROTECTED] Subject: Re: [PHP] PHP Editor - which to use? Date: Wed, 24 Sep 2003 13:04:45 -0400 Thanks:) I'll give BBedit a go for a week and let you know how it turns out. Yes, Dreamweaver does sucketh much, but it's great for hashing out the page (WYSIWYG style) then tweeking the code. I Hate (capital H) hand typing nested tables.* :P *high school memoryHwat the hell do I need typing for, I'm going to be an illustrator!/high school memory THE best text/code editor in this planet is BBEdit. No questions about it. It is a pitty it only runs on Macs. I have used it to write text, code fortran, pascal, c, c++, html, css and php (among others). It is great, I love it. Kudos to Bare Bones! Great find/replace utility. Incredible adaptation to your needs. Owesome syntax coloring. Terminal included. FTP, mail, telnet, terminal, macro, perl included. Try it, now! Cesar (If any one cares, I also think that Dreamweaver Sucks!, big Time, capital S) Kevin Bruce wrote: FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. -- Kevin Bruce Educational Web Designer VIP K-16 Grant http://www.scienceinquiry.org [EMAIL PROTECTED] Maryland Sea Grant College 4321 Hartwick Road, Suite 300 College Park, MD 20740 301.403.4220 ext. 25 OR (on Wednesdays and Fridays) 717.637.5370 AOL Instant Messenger screen name- mdsgkevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
lmao .. good one. From: pete M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP Editor - which to use? Date: Thu, 25 Sep 2003 10:59:19 +0100 I write my code with pencil and paper and then scan it.. Dont need an editor ! John Nichel wrote: I know we've discussed this numerous times, but I'll chime in again (mainly because I'm bored). By far, I have been totally satisfied with UltraEdit. Lightweight, just about any language you want to edit, user configurable syntax highlighting (for those into that), handles UNIX / DOS / Mac files easily, etc, etc. And best of all, buy a liscense (cheap) and you're supporting a programmer, and not a company. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Nope, if you were to look at the responses that I have give to people in the past, you would notice that I indent just fine. Jim Lucas - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: Jim Lucas [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 5:12 AM Subject: Re: [PHP] PHP Editor - which to use? I bet you don't indent your code either. And all white characters are useless too, they only slow interpreter down. Good coder will understand this at a glimpse: if($pos_params!=false){$back_url=substr($HTTP_GET_VARS['origin'],0,$pos_para ms);$back_url_params=substr($HTTP_GET_VARS['origin'],$pos_params+1);}else{$b ack_url=$HTTP_GET_VARS['origin'];$back_url_params='';} Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:59 AM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] PHP Editor - which to use?
you can create so-called assistants... You can create a loop that asks in a table how many rows and columns do you want in that table. Then you can have it create the table with all your favorite default table settings, but while it is generating it, you could have it prompt you for any additional settings that you would like to have in the new table. That doesn't explain what internal scripting is. Do you mean that edit sessions are scriptable, using its own script interpreter? Or do you mean something else entirely? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] PHP Editor - which to use?
Jim Lucas mailto:[EMAIL PROTECTED] on Thursday, September 25, 2003 11:52 AM said: I already answered that question two days ago. I didn't ask you to answer it twice so I don't what you're talking about. c, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
Something else entirely. I guess you could call them helper scripts libraries. Example would be: You can program a script to create a switch statement and then have it prompt you for the number of case statements to add in and if you want them to break; or not. Things like that. Short cuts if you will.. Jim Lucas - Original Message - From: Roger B.A. Klorese [EMAIL PROTECTED] To: 'Jim Lucas' [EMAIL PROTECTED]; 'Chris W. Parker' [EMAIL PROTECTED]; 'jeffrey pearson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 12:00 PM Subject: RE: RE: [PHP] PHP Editor - which to use? you can create so-called assistants... You can create a loop that asks in a table how many rows and columns do you want in that table. Then you can have it create the table with all your favorite default table settings, but while it is generating it, you could have it prompt you for any additional settings that you would like to have in the new table. That doesn't explain what internal scripting is. Do you mean that edit sessions are scriptable, using its own script interpreter? Or do you mean something else entirely? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
Sorry, someone else responded to your email with the request. Jim Lucas - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jim Lucas [EMAIL PROTECTED]; jeffrey pearson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 12:01 PM Subject: RE: RE: [PHP] PHP Editor - which to use? Jim Lucas mailto:[EMAIL PROTECTED] on Thursday, September 25, 2003 11:52 AM said: I already answered that question two days ago. I didn't ask you to answer it twice so I don't what you're talking about. c, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] PHP Editor - which to use?
I guess you could call them helper scripts libraries. Example would be: You can program a script to create a switch statement and then have it prompt you for the number of case statements to add in and if you want them to break; or not. Things like that. Short cuts if you will.. Well, if those scripts are taking input and telling the editor what to do, they're exactly what I said: a scripting language within the editor. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
AEdiX - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 11:59 PM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] PHP Editor - which to use?
It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. Ha,ha. too funny. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:56 AM To: jeffrey pearson; [EMAIL PROTECTED] Subject: Re: RE: [PHP] PHP Editor - which to use? I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I bet you don't indent your code either. And all white characters are useless too, they only slow interpreter down. Good coder will understand this at a glimpse: if($pos_params!=false){$back_url=substr($HTTP_GET_VARS['origin'],0,$pos_params);$back_url_params=substr($HTTP_GET_VARS['origin'],$pos_params+1);}else{$back_url=$HTTP_GET_VARS['origin'];$back_url_params='';} Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:59 AM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I love editplus, I love homesite and emacs. I hate Dreamweaver. I can read code like that not a problem, but for debugging and layout its alot easier for me with the returns and tabs. What I do is I have a script that strips out any space, tabs, carriage returns and then moves the code into the production environment. But really unless you are dealing with hight traffic sites, your not going to see a difference. From: Marek Kilimajer [EMAIL PROTECTED] To: Jim Lucas [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] PHP Editor - which to use? Date: Wed, 24 Sep 2003 14:12:04 +0200 I bet you don't indent your code either. And all white characters are useless too, they only slow interpreter down. Good coder will understand this at a glimpse: if($pos_params!=false){$back_url=substr($HTTP_GET_VARS['origin'],0,$pos_params);$back_url_params=substr($HTTP_GET_VARS['origin'],$pos_params+1);}else{$back_url=$HTTP_GET_VARS['origin'];$back_url_params='';} Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:59 AM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
On Wed, 2003-09-24 at 08:12, Marek Kilimajer wrote: I bet you don't indent your code either. And all white characters are useless too, they only slow interpreter down. Good coder will understand this at a glimpse: if($pos_params!=false){$back_url=substr($HTTP_GET_VARS['origin'],0,$pos_params);$back_url_params=substr($HTTP_GET_VARS['origin'],$pos_params+1);}else{$back_url=$HTTP_GET_VARS['origin'];$back_url_params='';} *COUGH* *COUGH* EVERY REAL coder knows that you have to use the following brace style for your code to be accepted into the l33t hierarchy of [EMAIL PROTECTED]: if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } And in case you didn't notice, all lines are broken to fit in a 78 column width so they can be printed without wrapping on most printers in ascii mode. If you didn't know this or don't write your code like this then you're just not worthy of our intellectual circle. Cheers, Rob. Ps. This has been a joke, and while I do use the above coding style, I could hardly pretend to force my own style on anyone else even if everyone else does write unreadable code ;) Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:59 AM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
* Thus wrote Didier McGillis ([EMAIL PROTECTED]): alot easier for me with the returns and tabs. What I do is I have a script that strips out any space, tabs, carriage returns and then moves the code into the production environment. But really unless you are dealing with In some cases, files with no carriage returns is less effeciant than files with them. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
On Wed, 2003-09-24 at 09:43, Curt Zirzow wrote: * Thus wrote Didier McGillis ([EMAIL PROTECTED]): alot easier for me with the returns and tabs. What I do is I have a script that strips out any space, tabs, carriage returns and then moves the code into the production environment. But really unless you are dealing with In some cases, files with no carriage returns is less effeciant than files with them. Accelerators are very efficient, and I'm pretty sure they don't store whitespace except when it's in a string :) Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): *COUGH* *COUGH* EVERY REAL coder knows that you have to use the following brace style for your code to be accepted into the l33t hierarchy of [EMAIL PROTECTED]: if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer | in_a_rush if($p) { $bu = substr( $_GET['o'], 0, $p ); $bup = substr( $_GET['o'], ++$p ); } else { $bu = $_GET['o']; $bup = ''; } :) Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Hi, Good coder will understand this at a glimpse: [snip horrible code] if($pos_params!=false) Assuming it's a boolean, $pos_params is *already* true or false, so testing it like this is pretty much pointless. It makes more sense (and is much more readable IMHO) to do something like this: if ($pos_params) { // something } I'm not sure how the PHP interpreter works internally but that might even save your script the overhead of an unnecessary comparison ;-) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Curt Zirzow wrote: cat | realprogrammer | in_a_rush if($p) { $bu = substr( $_GET['o'], 0, $p ); $bup = substr( $_GET['o'], ++$p ); } else { $bu = $_GET['o']; $bup = ''; } This is a real world example of how real programmer in a rush can introduce bugs. Original example did not modify $p (or $pos_params). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
* Thus wrote Jon Haworth ([EMAIL PROTECTED]): Hi, Good coder will understand this at a glimpse: [snip horrible code] if($pos_params!=false) um... you rewrote that, his code was: if( $pos_params != false ) Assuming it's a boolean, $pos_params is *already* true or false, so testing it like this is pretty much pointless. It makes more sense (and is much more readable IMHO) to do something like this: if ($pos_params) { // something } Also, i'd like to add, that even though these code examples will work it maybe a little missleading. Assuming where this $pos_params came from is strpos(), $pos_params can be false or 0. The condition that is being tested doesn't really let the code reader know that. In fact, there is a bug with both versions, if the $pos_params is the first character (value of 0) then we the back_url_params is going to get lost. So in theory the condition *should* be if ( $pos_params !== false) Ok, I've evaluated all this code way too much now :) Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Jon Haworth wrote: if($pos_params!=false) Assuming it's a boolean, $pos_params is *already* true or false, so testing it like this is pretty much pointless. It makes more sense (and is much more readable IMHO) to do something like this: if ($pos_params) { // something } From the futher reading of the code we are able to deduct it can be also an integer: $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); but then testing it this way: if($pos_params!==false) would be more appropriate in this case. For those interested this code snippet was taken from oscommerce. Marek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. I started out as a pure designer but got into the web and have since been a moderate code writer, so cut me some slack if my methods are not standard;) Whether or not it is proper form, I use the following format: if($conditional) { some code; } else { if($subconditional) { subsome code; } else { subsome alternate code; } } --- iChat screen name- mdsgkevin * Thus wrote Robert Cummings ([EMAIL PROTECTED]): *COUGH* *COUGH* EVERY REAL coder knows that you have to use the following brace style for your code to be accepted into the l33t hierarchy of [EMAIL PROTECTED]: if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer if( $pos_params != false ) { $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); $back_url_params = substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); } else { $back_url = $HTTP_GET_VARS['origin']; $back_url_params = ''; } cat | realprogrammer | in_a_rush if($p) { $bu = substr( $_GET['o'], 0, $p ); $bup = substr( $_GET['o'], ++$p ); } else { $bu = $_GET['o']; $bup = ''; } :) Curt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
On Wed, 24 Sep 2003 10:34:33 -0400 Kevin Bruce [EMAIL PROTECTED] wrote: FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. I use Nedit on both Mac and Linux. Syntax hiliting and most features can be customised since they are based on macros. On OS X it needs XFree86. There is also the more limited SubEthaEdit (native), new but promising. Regards, Andu Novac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
THE best text/code editor in this planet is BBEdit. No questions about it. It is a pitty it only runs on Macs. I have used it to write text, code fortran, pascal, c, c++, html, css and php (among others). It is great, I love it. Kudos to Bare Bones! Great find/replace utility. Incredible adaptation to your needs. Owesome syntax coloring. Terminal included. FTP, mail, telnet, terminal, macro, perl included. Try it, now! Cesar (If any one cares, I also think that Dreamweaver Sucks!, big Time, capital S) Kevin Bruce wrote: FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Thanks:) I'll give BBedit a go for a week and let you know how it turns out. Yes, Dreamweaver does sucketh much, but it's great for hashing out the page (WYSIWYG style) then tweeking the code. I Hate (capital H) hand typing nested tables.* :P *high school memoryHwat the hell do I need typing for, I'm going to be an illustrator!/high school memory THE best text/code editor in this planet is BBEdit. No questions about it. It is a pitty it only runs on Macs. I have used it to write text, code fortran, pascal, c, c++, html, css and php (among others). It is great, I love it. Kudos to Bare Bones! Great find/replace utility. Incredible adaptation to your needs. Owesome syntax coloring. Terminal included. FTP, mail, telnet, terminal, macro, perl included. Try it, now! Cesar (If any one cares, I also think that Dreamweaver Sucks!, big Time, capital S) Kevin Bruce wrote: FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. -- Kevin Bruce Educational Web Designer VIP K-16 Grant http://www.scienceinquiry.org [EMAIL PROTECTED] Maryland Sea Grant College 4321 Hartwick Road, Suite 300 College Park, MD 20740 301.403.4220 ext. 25 OR (on Wednesdays and Fridays) 717.637.5370 AOL Instant Messenger screen name- mdsgkevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
The new Dreamweaver is much better than the previous version. I still have not found 'the ideal' editor for me and I use several tools. The one tool that looks like it could become my tool of choice could be eclipse. because you can build custom editors (plugins) for anything you need. Clint Cesar Cordovez wrote: THE best text/code editor in this planet is BBEdit. No questions about it. It is a pitty it only runs on Macs. I have used it to write text, code fortran, pascal, c, c++, html, css and php (among others). It is great, I love it. Kudos to Bare Bones! Great find/replace utility. Incredible adaptation to your needs. Owesome syntax coloring. Terminal included. FTP, mail, telnet, terminal, macro, perl included. Try it, now! Cesar (If any one cares, I also think that Dreamweaver Sucks!, big Time, capital S) Kevin Bruce wrote: FYI- New to this list but have been a php coder for 2 years. I know a lot of you out there are going to groan inwardly, but I use Dreamweaver, mainly because that's what I used since it's inception when I was writing static sites. I use OSX for my writing platform and occasionally use BBedit as well. If someone could point out a better PHP editor for the Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I know we've discussed this numerous times, but I'll chime in again (mainly because I'm bored). By far, I have been totally satisfied with UltraEdit. Lightweight, just about any language you want to edit, user configurable syntax highlighting (for those into that), handles UNIX / DOS / Mac files easily, etc, etc. And best of all, buy a liscense (cheap) and you're supporting a programmer, and not a company. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
On Wed, Sep 24, 2003 at 01:04:45PM -0400, Kevin Bruce wrote: : : Thanks:) I'll give BBedit a go for a week and let you know how it turns out. : Yes, Dreamweaver does sucketh much, but it's great for hashing out the page : (WYSIWYG style) then tweeking the code. I Hate (capital H) hand typing : nested tables.* :P IMHO, Golive 6 is better than Dreamweaver MX for editing tables. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
The Best is the GTK verstion of the classic VI editor (latest VI 6.2 - uses GTK 2 on Linux) and there is also a Windows version. It's the best and you don't have to pay for licenses. http://www.vim.org/index.php Notepad - is very poor. you can not controle tabs spaces, see white space and syntax color. [EMAIL PROTECTED] wrote: You must either be insane, a genius, or joking. Some of the most gifted people in the world are all three! Not that I'm claiming to be one, but yes I'm all three. :-D I couldn't imagine writing code without context sensitive highlighting -- there are so many bugs that would be overlooked. - Huh? What's that? Context hightlighting? Like built-in colorful magic markers? Ehh. Bugs can NEVER go overlooked as long as PHP's parse-errors are always right there to rub it in that we fudged up... ;) I swear...all PHP error msgs should end with you loser! :-D And not being able to use M-g to goto aline number? (I use Emacs) I'd go bonkers. Notepad as well. ctrl+G -- only found out about that a year into PHPdammit. coulda really used it when I was learning...beat the hell outta using the down arrow and counting in my head! Hope ya don't think I'm tryin to poke fun Dan. I meant well ;) Quite frankly I dont think I'd ever learn an editor, I've used Notepad so long, it's like an 85 year old man learning how to use a DVD player. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
In you php.ini, set error_append_string to ... you loser! On Monday 22 September 2003 07:56 pm, [EMAIL PROTECTED] wrote: You must either be insane, a genius, or joking. Some of the most gifted people in the world are all three! Not that I'm claiming to be one, but yes I'm all three. :-D I couldn't imagine writing code without context sensitive highlighting -- there are so many bugs that would be overlooked. - Huh? What's that? Context hightlighting? Like built-in colorful magic markers? Ehh. Bugs can NEVER go overlooked as long as PHP's parse-errors are always right there to rub it in that we fudged up... ;) I swear...all PHP error msgs should end with you loser! :-D And not being able to use M-g to goto aline number? (I use Emacs) I'd go bonkers. Notepad as well. ctrl+G -- only found out about that a year into PHPdammit. coulda really used it when I was learning...beat the hell outta using the down arrow and counting in my head! Hope ya don't think I'm tryin to poke fun Dan. I meant well ;) Quite frankly I dont think I'd ever learn an editor, I've used Notepad so long, it's like an 85 year old man learning how to use a DVD player. ;) -- [cli] To think is to differ. -Clarence Darrow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. And best of all, there is a free version that does most everything the full priced copy does. Plus, one added feature is, is that it will allow you to do internal scripting. Jim Lucas - Original Message - From: jeffrey pearson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:59 AM Subject: Re: RE: [PHP] PHP Editor - which to use? I like to use Edit Plus. www.editplus.com It has the syntax highlighting for php, perl, java, and many others through modules that are downloadable from their web site, DOESNT change code like dreamweaver does and its cheap ($25). Jeff Pearson - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] Date: Monday, September 22, 2003 2:00 am Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php- must-have-editors. grtz jan -Original Message- From: Binay [EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: RE: [PHP] PHP Editor - which to use?
Jim Lucas mailto:[EMAIL PROTECTED] on Tuesday, September 23, 2003 9:56 AM said: Plus, one added feature is, is that it will allow you to do internal scripting. What are you able to do with internal scripting? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
On Wednesday 24 September 2003 00:56, Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. Does that mean php shouldn't have any error reporting whatsoever, because it encourages bad incompetent coders who rely on being mollycoddled? ;-) -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Every task takes twice as long as you think it will take -- Fundamental Law of Thermodynamics n1¤75 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor - which to use?
[snip] It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. Does that mean php shouldn't have any error reporting whatsoever, because it encourages bad incompetent coders who rely on being mollycoddled? [/snip] Mollycoddled indeed! I remember when I had to punch holes in cards. Talk about syntax highlighting! He should have said It doesn't do syntax highlighting, but if you need that, then you need to learn to type better. No wonder hanging chads are lost on some. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. O holy genius coder, we bow to you, forgive uswhy did we take the straight and easy path instead of the rough and true path... -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor - which to use?
Ryan A mailto:[EMAIL PROTECTED] on Tuesday, September 23, 2003 11:10 AM said: O holy genius coder, we bow to you, forgive uswhy did we take the straight and easy path instead of the rough and true path... Because we are not ereet. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]): Ryan A mailto:[EMAIL PROTECTED] on Tuesday, September 23, 2003 11:10 AM said: O holy genius coder, we bow to you, forgive uswhy did we take the straight and easy path instead of the rough and true path... Because we are not ereet. heh.. all I know is all these trojan attachments i'm getting are really pissing me off now. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: RE: [PHP] PHP Editor - which to use?
you can create so-called assistants... You can create a loop that asks in a table how many rows and columns do you want in that table. Then you can have it create the table with all your favorite default table settings, but while it is generating it, you could have it prompt you for any additional settings that you would like to have in the new table. Jim Lucas - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jim Lucas [EMAIL PROTECTED]; jeffrey pearson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:06 AM Subject: RE: RE: [PHP] PHP Editor - which to use? Jim Lucas mailto:[EMAIL PROTECTED] on Tuesday, September 23, 2003 9:56 AM said: Plus, one added feature is, is that it will allow you to do internal scripting. What are you able to do with internal scripting? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Who did I say was incompetent? I don't think I said that. Maybe you took it that way, but that I did not say. I never said that I was better at writing code then anybody else, as a matter a fact I get stumped on many things. I love this list because without having to ask any questions, all my questions get answered. Anyways, I feel that not having syntax highlighting forces you to pay attention to writing your code correctly the first time. If you are more aware of what you are writing then you know how it should be writen, and what it will take to write it correctly. Proper planning will help in this, but it is practice that make you perfect, not something to point it out to you. I have always liked doing things the hard way. I feel that I learn more and retain more that way. So in the future if I am working on-site and have to modify something, then I will better understand what is going on, rather then having to rely on some program to point it out to me. The mind is a terrible thing to waste! My apologies to anybody that I might have offended. Jim Lucas - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:08 AM Subject: Re: [PHP] PHP Editor - which to use? On Wednesday 24 September 2003 00:56, Jim Lucas wrote: I like NoteTab from www.notetab.com It doesn't do syntax highlighting, but if you need that, then you need to learn to code better. Does that mean php shouldn't have any error reporting whatsoever, because it encourages bad incompetent coders who rely on being mollycoddled? ;-) -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Every task takes twice as long as you think it will take -- Fundamental Law of Thermodynamics n1¤75 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor - which to use?
well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php-must-have-editors. grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Hey Personally I dont think any 1 is good for all purposes...I use a combination of Dreamweaver MX, Zend and PHPEdit. HTH. Cheers, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 22, 2003 11:00 AM Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php-must-have-editors. grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] RE : [PHP] PHP Editor - which to use?
Not a php-must-have-editors but useful ones, for example, are phpEd and Zend Studio (text completion, functions library, ...). I found that Zend Studio is a good one because of internal CVS connexions, work on UNIX Windows systems, Project managements, ... I think it's a good choice for a professional use. Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine- De : Ruessel, Jan [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 septembre 2003 11:00 À : [EMAIL PROTECTED] Objet : RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php-must-have-editors. grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] RE : [PHP] PHP Editor - which to use?
On Monday 22 Sep 2003 11:35, BENARD Jean-philippe wrote: Not a php-must-have-editors but useful ones, for example, are phpEd and Zend Studio (text completion, functions library, ...). I found that Zend Studio is a good one because of internal CVS connexions, work on UNIX Windows systems, Project managements, ... I think it's a good choice for a professional use. Another vote for Zend. I tend to use vi, but I'm loving the CVS integration and code completion capabilities of Zend. Now to get my manager to buy me the full copy :) Now, if only I could find out how to tell it that it doesn't need DB.php in the project, but to reference it as an external library! (Where DB.php is the PEAR code.) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
I'm a big fan of ActiveState Komodo, largely because it handles PHP, Perl, Python, and others. While most of my work is done in PHP, it's nice not having to switch editors when trying to port code to or from another language. I must agree with Ryan that there is no 1 app to use. Dreamweaver MX is a staple in anyone's software library, especially for visual development, and Zend Studio is another great app. However, what I like about either, you may not so you'll really just have to try out the numerous demos and find what works for you. Edward Dudlik Becoming Digital www.becomingdigital.com wishes | www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, 22 September, 2003 05:07 Subject: Re: [PHP] PHP Editor - which to use? Hey Personally I dont think any 1 is good for all purposes...I use a combination of Dreamweaver MX, Zend and PHPEdit. HTH. Cheers, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 22, 2003 11:00 AM Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php-must-have-editors. grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
PHP eclipse is also nice, you need eclipse from http://www.eclipse.org and then you install the PHP Eclipse module http://phpeclipse.sourceforge.net. Very easy to install, I am a big fan of Komodo, I also like Vim, Kate and Eclipse. I tried Zend Studio 1 and 2 but it didn't live up to the expectations that I had for the price. Becoming Digital wrote: I'm a big fan of ActiveState Komodo, largely because it handles PHP, Perl, Python, and others. While most of my work is done in PHP, it's nice not having to switch editors when trying to port code to or from another language. I must agree with Ryan that there is no 1 app to use. Dreamweaver MX is a staple in anyone's software library, especially for visual development, and Zend Studio is another great app. However, what I like about either, you may not so you'll really just have to try out the numerous demos and find what works for you. Edward Dudlik Becoming Digital www.becomingdigital.com wishes | www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, 22 September, 2003 05:07 Subject: Re: [PHP] PHP Editor - which to use? Hey Personally I dont think any 1 is good for all purposes...I use a combination of Dreamweaver MX, Zend and PHPEdit. HTH. Cheers, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com - Original Message - From: Ruessel, Jan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 22, 2003 11:00 AM Subject: RE: [PHP] PHP Editor - which to use? well, i like to use dreamweaver mx or textpad with the syntax highlighting file you additionally have to download. i dunno if there are special php-must-have-editors. grtz jan -Original Message- From: Binay [mailto:[EMAIL PROTECTED] Sent: Montag, 22. September 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] PHP Editor - which to use? Hi everybody! Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Thanks Binay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Editor - which to use?
Binay mailto:[EMAIL PROTECTED] on Monday, September 22, 2003 1:58 AM said: Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Doesn't fit in the visual feel category but I really like HTML-Kit available at www.chami.com. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
PHP eclipse is also nice, you need eclipse from http://www.eclipse.org and then you install the PHP Eclipse module http://phpeclipse.sourceforge.net. Very easy to install, I am a big fan of Komodo, I also like Vim, Kate and Eclipse. I tried Zend Studio 1 and 2 but it didn't live up to the expectations that I had for the price. Eclipse offers tons of additional plugins and if you like java you can surely write your own php plugins too. There are many great db plugins that i use too. -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software.
Re: [PHP] PHP Editor - which to use?
On Mon, 2003-09-22 at 22:08, [EMAIL PROTECTED] wrote: Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software. Nh, a slightly larger company named Microsoft Inc. created an editor called wordpad that doesn't bugger the document with \r, or is it, it can read the document properly when \r doesn't exist? *shrug* I use joe -- joe, yeah that's right, one more time JOE :) It's got really cool features, like no auto completion, no colour, no graphics. best of all it runs in a terminal such as Eterm or aterm which can be semi transparent so I can see my cool background showing through. What more could you ask for? Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software. You must either be insane, a genius, or joking. I couldn't imagine writing code without context sensitive highlighting -- there are so many bugs that would be overlooked. And not being able to use M-g to goto a line number? (I use Emacs) I'd go bonkers. Look at GNU Emacs. It's got a large learning curve, but once you learn it it's worth it. E-mail me if you want how-to instructions on setting it up. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Editor - which to use?
You must either be insane, a genius, or joking. Some of the most gifted people in the world are all three! Not that I'm claiming to be one, but yes I'm all three. :-D I couldn't imagine writing code without context sensitive highlighting -- there are so many bugs that would be overlooked. - Huh? What's that? Context hightlighting? Like built-in colorful magic markers? Ehh. Bugs can NEVER go overlooked as long as PHP's parse-errors are always right there to rub it in that we fudged up... ;) I swear...all PHP error msgs should end with you loser! :-D And not being able to use M-g to goto aline number? (I use Emacs) I'd go bonkers. Notepad as well. ctrl+G -- only found out about that a year into PHPdammit. coulda really used it when I was learning...beat the hell outta using the down arrow and counting in my head! Hope ya don't think I'm tryin to poke fun Dan. I meant well ;) Quite frankly I dont think I'd ever learn an editor, I've used Notepad so long, it's like an 85 year old man learning how to use a DVD player. ;)
RE: [PHP] php editor
I think the BEST php editor out there is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax highlighting that you find in many other editors 2. Unlimited technical support (at only $245 per call) 3. At $1000 - $2500 per copy it's has substantially more features than other cheaper editors. 4. It uses far more memory, so it remembers more stuff. 5. I can seamlessly integrate .NET into my PHP code 6. I don't have to waste my time with integrated debuggers 7. It automatically generates obfuscated code 8. I don't have to worry about those annoying GPL or LGPL licenses 9. Runs great on SuSE 10. When it crashes I know I need to take my ergonomic break 11. When loading large projects I have plenty of time to make myself a cup of tea, or if I'm out of tea, to drive to the store to buy some tea, return, brew a cup, read slashdot, take a shower 12. The outstanding support of PHP at Microsoft. Read about Microsoft's support of PHP here: www.microsoft.com/php Read about Microsoft's integration of PHP and Visual Studio here: www.microsoft.com/vstudio/support/php -- Now if you're serious. Do us all a favor. Do a little research first. This question has been answered on so many sites/newsgroups. -alternatively- the best php editor out there is the one that you use. -- I do like my first answer the best. heh. -- If you made it this far, try this page: http://www.php-editors.com/result.php?showall=y Ironically Yours, Chris -Original Message- From: STONE Steven [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 3:21 AM To: php mailing list Subject: [PHP] php editor What's the best php editor out there? Thanks in advance for nay replies! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php editor
*ROFL* Rob. On Thu, 2003-09-11 at 12:54, Chris Hubbard wrote: I think the BEST php editor out there is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax highlighting that you find in many other editors 2. Unlimited technical support (at only $245 per call) 3. At $1000 - $2500 per copy it's has substantially more features than other cheaper editors. 4. It uses far more memory, so it remembers more stuff. 5. I can seamlessly integrate .NET into my PHP code 6. I don't have to waste my time with integrated debuggers 7. It automatically generates obfuscated code 8. I don't have to worry about those annoying GPL or LGPL licenses 9. Runs great on SuSE 10. When it crashes I know I need to take my ergonomic break 11. When loading large projects I have plenty of time to make myself a cup of tea, or if I'm out of tea, to drive to the store to buy some tea, return, brew a cup, read slashdot, take a shower 12. The outstanding support of PHP at Microsoft. -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul.| `-' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor
On Thu, 11 Sep 2003 08:54:06 -0800 Chris Hubbard [EMAIL PROTECTED] wrote: I think the BEST php editor out there is Microsoft's Visual Studio. You should've posted this before I got all invested with Nedit, Linux and the like... Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax highlighting that you find in many other editors 2. Unlimited technical support (at only $245 per call) 3. At $1000 - $2500 per copy it's has substantially more features than other cheaper editors. 4. It uses far more memory, so it remembers more stuff. 5. I can seamlessly integrate .NET into my PHP code 6. I don't have to waste my time with integrated debuggers 7. It automatically generates obfuscated code 8. I don't have to worry about those annoying GPL or LGPL licenses 9. Runs great on SuSE 10. When it crashes I know I need to take my ergonomic break 11. When loading large projects I have plenty of time to make myself a cup of tea, or if I'm out of tea, to drive to the store to buy some tea, return, brew a cup, read slashdot, take a shower 12. The outstanding support of PHP at Microsoft. Read about Microsoft's support of PHP here: www.microsoft.com/php Read about Microsoft's integration of PHP and Visual Studio here: www.microsoft.com/vstudio/support/php -- Now if you're serious. Do us all a favor. Do a little research first. This question has been answered on so many sites/newsgroups. -alternatively- the best php editor out there is the one that you use. -- I do like my first answer the best. heh. -- If you made it this far, try this page: http://www.php-editors.com/result.php?showall=y Ironically Yours, Chris -Original Message- From: STONE Steven [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 3:21 AM To: php mailing list Subject: [PHP] php editor What's the best php editor out there? Thanks in advance for nay replies! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Regards, Andu Novac -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor
Thanks for starting my day out with a chuckle.. this is one of the better tongue in cheek items I have seen in a little bit Chris I think the BEST php editor out there is Microsoft's Visual Studio. Here's some of the reasons I think Visual Studio is the BEST 1. None of that annoying syntax highlighting that you find in many other editors 2. Unlimited technical support (at only $245 per call) 3. At $1000 - $2500 per copy it's has substantially more features than other cheaper editors. 4. It uses far more memory, so it remembers more stuff. 5. I can seamlessly integrate .NET into my PHP code 6. I don't have to waste my time with integrated debuggers 7. It automatically generates obfuscated code 8. I don't have to worry about those annoying GPL or LGPL licenses 9. Runs great on SuSE 10. When it crashes I know I need to take my ergonomic break 11. When loading large projects I have plenty of time to make myself a cup of tea, or if I'm out of tea, to drive to the store to buy some tea, return, brew a cup, read slashdot, take a shower 12. The outstanding support of PHP at Microsoft. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor
Dreamweaver MX 2004. - zerof -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor
STONE Steven wrote: What's the best php editor out there? Thanks in advance for nay replies! We've reached our quota on answering this question. Search the archives. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor
Hello STONE, I use Zend Studio SS What's the best php editor out there? SS Thanks in advance for nay replies! -- Best regards, MuToGeNmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor?
This list is not owned by Zend. One should still not be talking about cracking software (Zend or otherwise) on it, though... Zeev At 14:51 14/06/2003, Ryan A wrote: What can i say? if you aint living on the edge you're taking up too much space I reccomend you don't talk about cracking Zend software on a list owner by Zend... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php editor?
Well said ! More in general , I would like to take the opportunity to thank you and the Zend team for your contribution with regards to the complete PHP project. Wim -Oorspronkelijk bericht- Van: Zeev Suraski [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, June 18, 2003 9:50 AM Aan: Ryan A CC: [EMAIL PROTECTED] Onderwerp: Re: [PHP] php editor? This list is not owned by Zend. One should still not be talking about cracking software (Zend or otherwise) on it, though... Zeev At 14:51 14/06/2003, Ryan A wrote: What can i say? if you aint living on the edge you're taking up too much space I reccomend you don't talk about cracking Zend software on a list owner by Zend... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php editor?
PHPCoder Pro is a very nice development enviroment as well - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 8:22 PM Subject: Fw: [PHP] php editor? Try to these PHP development environment: * Nusphere Studio * Zend Studio * Maguma Studio hello all people in the PHP mailing list, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php