Saturday, June 2. 2007PHP Dashboard WidgetTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Nice idea :)
I am not a big fan of dashboard, but I wll definitely give it a try. I do a lot of "php -r" these days too ;)
I did something similar with an AppleScript that I trigger with a key command from within BBEdit. It passes the current selection (or the current line if nothing is selected) to "php -r" and prints the output immediately below. The output is automatically selected, so it can be quickly deleted afterwards. It's very convenient for testing bits of code in place as I skim a file.
I imagine this sort of thing could be done with many other text editors as well. But I'll also give the widget a try. It might be a nice addition to my workflow. Thanks for posting it!
Humm....
How about a widget that you could drop the latest PHP source tarball onto and it will automatically compile and install? BTW, if you haven't already looked at it, try out TextMate. It is an astounding piece of software for a measly price.
That wouldn't make much sense, as everyone has different requirements for compilation
Sweet! I'm adding this to my DB! Now all I gotta do is find space...
Extending this idea. Does this mean it's feasible that PHP can be used to do behaviour for a widget?
I say this because I'd like to develop something for my mac, but I'm not proficient in anything other than web-based languages. I'd feel comfortable trying it out in a widget if all the behaviour could be done in PHP.
Can anybody tell me what the path is for this widget on a standard install of mac os x please. I have PHP working and tried a number of paths (/usr/local/php5 and variations) but not getting any response from the widget
try this and it should work, its the full path to php
/usr/local/php5/bin/php
Great thing this widget!
And for everybody trying to find path to php: you can use nice command in ternimal - which Usage: # which php and you get something like: /usr/local/bin/php |
Pay the bills...Calendar
QuicksearchArchivesMy PERSONAL BlogNote:
The contents of this blog are my own, PERSONAL opinion and do not represent the thoughts or opinions of the people I work with or for. If you have a beef with something I said, take it up with ME. Thanks (-: |
|||||||||||||||||||||||||||||||||||||||||||||||||