Click to See Complete Forum and Search --> : How much is Zend Actually Used?


er0k
03-08-2003, 03:55 PM
Ill post a poll, this forum is small and doesnt have much content, to see how many of you actually use php for programming.

Jedi Legend
03-09-2003, 02:11 AM
Originally posted by er0k
Ill post a poll, this forum is small and doesnt have much content, to see how many of you actually use php for programming.

I'm going to be the jerk to say it:

Use PHP for programming? Are you nuts? I use it for cooking.

Ok, I'm sorry... I knew what you meant. I don't use PHP for shell programming... yet.

jstarkey
03-10-2003, 06:33 PM
lol. This is a tough poll.

er0k. Which Zend product were you referring to? I think we can only assume you mean PHP? Referring to the Zend Engine?

Sounds like a great book, Jedi: 'The Zend of Cooking" by Jedi Legend. :)

piersk
05-22-2003, 05:17 AM
Surely he/she (can't be too careful :D) means the zend IDE that you can get.

phrater
06-17-2003, 02:53 PM
I use Zend occasionally for PhP web development, but for the
most part I use Programmer's File Editor (PFE) or Pico if I
have the luxury of working from a *nix box on that particular
day. The problem with Zend is that it is so damned slow.
Right idea guys, but could you do some cleaning to make it
more w2k friendly for those of us that don't always get to
choose our environment.

jstarkey
06-17-2003, 04:04 PM
pico?? Whoa!! You're the first coder I've heard step out of the emacs vs vi argument. :)

I coded in vi for 2 1/2 years and then switched to Studio.

elToro
06-25-2003, 03:26 PM
I use Zend Studio, but not for shell programming.

stolzyboy
06-25-2003, 04:13 PM
for shell programming, i'm a pico fan, and i'm entirely different when it comes to php programming, i like my color coding in macromedia's homesite

jstarkey
06-26-2003, 04:38 AM
Originally posted by elToro
I use Zend Studio, but not for shell programming.

I have used it for shell work, but mostly use vi if it's remote.

Studio is also great for PHP-Gtk work. I've created a nice IMAP client and time tracker using solely Studio and have saved a lot of time.

procoder
08-07-2003, 04:03 PM
You can use it for shell? please do explain :)

But I use zend at work and at home developing php sites

jstarkey
08-07-2003, 04:09 PM
Originally posted by procoder
You can use it for shell? please do explain :)


Just open your script and edit it :)

I was referring to editing shell scripts with Studio.

procoder
08-07-2003, 04:31 PM
Do you mean PHP CL? Like perl scripts... To do specefic systems tasks instead of websites

jstarkey
08-07-2003, 04:40 PM
Yeah, most of my cron jobs use PHP scripts, and I compile a seperate binary for them.

If you want to use PHP from the shell, just do:

#!/path/to/php -q
<?php

echo "this is a shell script\n";

?>

And then execute that file.

procoder
08-30-2003, 11:05 PM
can you pass permators like in perl?

script.php bla bla

e.t.c

jstarkey
09-29-2003, 02:22 PM
Originally posted by procoder
can you pass permators like in perl?

script.php bla bla

e.t.c

lol, this is definitely the slowest moving thread in PHPB history :)

yeah, the params are in $argv, I believe. I do it on a couple scripts, but can't remember which array it is.

Moonglobe
10-07-2003, 12:25 AM
Studio's not bad, but it really messes up with PHP5 so i can't use it (yes im alredy on php5, but only locally). As for emacs v. vi, i to am a pico coder when i just want something quick, but generally i use mc's built-in editor.

stolzyboy
10-07-2003, 09:23 AM
i'm sure Zend will be waiting for stable PHP5 before developing a studio for it... at least i would hope :D

n00854180t
10-10-2003, 08:00 PM
I have Zend at home but I don't use it often. I like it well enough, but it is so damned slow. I use GridinSoft Notepad mostly (its basically Windows Notepad with syntax highlighting and line numbering...very light but powerful, crashes occaisionally). At work I use Programmer's Notepad, or GridinSoft (although less because on Win98 it sucks. I am going to (hopefully sometime) put a Linux distro on this comp)).

Moonglobe
10-10-2003, 08:37 PM
Slackware 9.1 (http://slackware.com/torrents/)'s out.....but only through bittorrent.

LordShryku
10-12-2003, 12:35 AM
linuxiso.org also has it....

Moonglobe
10-12-2003, 12:52 AM
well ya. but i was tired and it was a brain-o..........

LordShryku
10-12-2003, 12:57 AM
I just like that site :D

kangus
11-14-2003, 02:49 PM
From http://www.php.net/manual/en/features.commandline.php
create a file called ech.php with:

#!/usr/bin/php
<?php
var_dump($argv);
?>

then:
chmod 755 ech.php

then:

[root@aca8 kangus]# ./ech.php -- -h foo dog
X-Powered-By: PHP/4.2.2
Set-Cookie: ZDEDebuggerPresent=php,phtml,php3
Content-type: text/html

array(5) {
[0]=>
string(9) "./ech.php"
[1]=>
string(2) "--"
[2]=>
string(2) "-h"
[3]=>
string(3) "foo"
[4]=>
string(3) "dog"
}
[root@aca8 kangus]#

Hint; If you create the file on a DOS based system make sure to save the files as a unix type file (no lfcr just lf) or when you FTP the file to your Linux host make the conversion then.