Re: [PHP] What's wrong the __autoload()?

2008-03-19 Thread Greg Donald
ealth - http://centerstone.org/ Med Center Today - http://medcentertoday.com/ Caste Contractors - http://castlecontractors.com/ Filmhouse.com - http://filmhouse.com/ EZsweeps - http://ezsweeps.com/ LuckyShop - http://ezsweeps.com/shoppingnew.php > Maybe you like RoR more because you suck at PHP. Maybe you're a fucking retard. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
PHP. OO was the main idea from the very start with Ruby. As a result Ruby's OO model makes PHP's OO model look like a steaming pile of shit out in the pasture. Hell, Perl's OO even makes PHP's OO look bad syntax-wise. -- Greg Donald http://destiney.com/ -- PHP Gen

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
able to work with the community. So if I can't work with the community Rails effectively, Rails will not get better? I seriously can't follow your ramblings. > I will admit that the PHP > Internals list can get pretty heated as well, but those arguments are > usually b

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > Because PHP is the dog and Ruby is the cat? Yeah, I guess. I have several cats. Indeed they are fast, sleek, and smart just like Ruby. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
so whipping up a new model or controller is really fast. It really is awesome. :) -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
evil-good.shtml Looks pretty stupid to me.. what does a dog humping a cat have to do with anything in technology? Please keep your animal pr0n to yourself. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Dave Goodchild <[EMAIL PROTECTED]> wrote: > Will you two pricks cut it out. How fucking tedious. Tedious? Sorry. /me passes the "buddhamagnet" a dictionary so he can keep up. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.n

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > You're new around here right? Hehe. For sure. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
novation. > Do more with less. Well that sure as hell ain't PHP. ROFL. More with less, using PHP, hilarious. /me points to SPL and laughs his ass off > That SHOULD be part of any developers mandate... but > not blindly. If by blindly you mean fun, fast, test-driven, producti

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > -5 for not keeping this kind of childish behavior of the list (both of you) Playing the game by claiming the game is wrong to play is still playing the game. -1 for playing the game hypocritically. -1 for thinking -5 exists.

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
. -1 for thinking +2 exists. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
ils, I didn't understand some of it, therefore Ruby sucks?" That's not reasoning and it certainly doesn't gain one any experience, unless laziness recently became a virtue. > get over yourself. You first. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Frameworks

2008-03-12 Thread Greg Donald
On 3/12/08, Aschwin Wesselius <[EMAIL PROTECTED]> wrote: > What I'm after is a framework that is simple, solid, compact and > flexible enough to extend by myself. http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Comparison_of_features -- Greg Donald ht

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Mar 12, 2008 at 3:59 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > I'm sorry, I lost context, what missing PHP language feature are you > > referring to as "it"? > > functional capabiliti

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
ve auto might think such a thing impossible if they were unaware of 4-wheel drive. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
On 3/12/08, Zoltán Németh <[EMAIL PROTECTED]> wrote: > I can't really think of a > case where I would want to modify the class definition of an > instantiated object You can't very well think to walk if you don't have legs. -- Greg Donald http://destiney.com

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
e, nor does it support adding methods to instantiated objects of those classes at runtime. And that's just one example. These sort of OO advantages exist throughout Ruby. You don't love these features because you don't know they exist. You don't know they exist because

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
27;s a dead-on, same example, just with a different programming language and a different language feature. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
ery well is just plain dumb. I'm sorry you don't get it and I'm done trying to help you get it. Good luck codling your lesser developers. May they never learn jack on their own. *sigh* -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
have thousands of lines of Ruby code under my belt that allows me to properly develop an opinion of Ruby and Rails and how they both compare to every other programming language and framework I know and have developed in. Need a URL? -- Greg Donald http://destiney.com/ -- PHP General M

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
t the entire development team from using a given feature just because you don't want to invest 20 minutes in getting your newbie developer up to spead? That's pure idiocy. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
ing to be able to use function pointers on the new Diablo III like we had planned to do, the new hires down the hall don't understand them very well so just don't use them, OK?" -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
n, all pre-configured for the most common cases. You can even create your own new environments if you have something that doesn't fit into dev/test/prod very easily. Complete versatility in every regard thanks to Ruby's meta-ness. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-12 Thread Greg Donald
finite resources we all have to share. Being mad about globalization is pointless, it's inevitable. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-12 Thread Greg Donald
ior developer who doesn't know of its existence and is > new to a job is less likely to admit ignorance and ask how a class is > being defined when __autoload() is being used. That's a the dumbest reason I've ever heard to not use a given language feature. -- Greg Donald ht

Re: [PHP] Know a JS list serve

2008-03-11 Thread Greg Donald
a list, but the peeps in #javascript on irc.freenode.net have never once failed me when I was stumped. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] save image in database vs folder

2008-03-11 Thread Greg Donald
sn't work for me however, some header/include error.. maybe there's a mirror or a cache of it some place. Or perhaps you can persuade Zend to fix it back to a working state. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] CSV speed

2008-03-10 Thread Greg Donald
rab what I need > from there? I'm starting to think it would make a lot of sense. What do > you guys think? grep foo whatever.csv | php ./script.php -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strtotime( 'last Sunday' ) and republicans

2008-03-10 Thread Greg Donald
the republicans in general, and the short one named 'W' specifically. I won't bother mentioning the fix as I'm sure 83,293,874,713 people will post the same correct code by the end of the day tomorrow. No one runs PHP4 except _my_ clients anyway. *shrug* -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why use session_register()?

2008-03-10 Thread Greg Donald
tart() prior to it's use. http://php.net/session_register -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RewriteRule help

2008-03-01 Thread Greg Donald
On 3/1/08, Shelley <[EMAIL PROTECTED]> wrote: > Anybody knows what apache RewriteRule to use if I want url: > http://www.aaa.comm/user// > be rewritten as: > http://www.aaa.comm/user/index.php// RewriteRule ^user/([-a-zA-Z0-9]+)$ /index.php?user=$1 [NC,L]

Re: [PHP] string effect

2008-02-29 Thread Greg Donald
t; $textLength; $x++ ) { if( preg_match( "/[[:space:]]/", $array[ $x ] ) ) { $counter = 0; } else { $counter++; } $newText .= $array[ $x ]; if( $counter >= $maxLength ) { $newText .= ' '; $counter = 0; } }

Re: [PHP] php with modified version of sqlite

2008-02-29 Thread Greg Donald
ow do I control which version > of sqlite, php is calling? > Thanks for any advice PHP can use whatever version of SQLite you compile it against. I do believe SQLite version 3 is the current popular version. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.

Re: [PHP] string effect

2008-02-29 Thread Greg Donald
r such thing ? > > thanks a lot, function truncate( $string, $length=384, $ending='...' ) { if( strlen( $string ) > $length ) $string = substr( $string, 0, $length ) . $ending ; return $string; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] output buffering in CLI script.

2008-02-29 Thread Greg Donald
On 2/28/08, Casey <[EMAIL PROTECTED]> wrote: > #!/usr/bin/php Or the entirely more portable version: #!/usr/bin/env php http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Greg Donald
On 2/28/08, Nathan Rixham <[EMAIL PROTECTED]> wrote: > what ide's editor's do you two use? zend's use of javaw is killing my > win2k3 dev machine anyways. # dd if=/dev/tty of=/dev/hda1 And then sometimes I also use vim. -- Greg Donald http://destiney.com/ -- PHP

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > So is ASP really a framework? .Net has upwards of 70K classes. If that's not a framework then I dunno what is. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
u > may want to brush up on your math skills my friend. And your humor skills as > well :) My point is it's old news. And it wasn't funny then either. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
ly the 4 year old variety. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
ge, but then isn't ASP, the object of Rob's "*lol*", also a framework of sorts? Pot-kettle-black. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > RoR is a framework, not a language. Really? I had not heard that previously. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Greg Donald
On 2/27/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > *lol* Look at the examples on the page... aks yourself if you enjoy > typing 2 to 3 times as much to do the same thing. *lol* This is one of the same reasons why I'm using Ruby on Rails more and PHP less, all the time.

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > Speak for yourself. My code is always 100% spotless, efficient, > and runs the first time, completely bug-free, every single time, as it > has for years. Well, in Ruby on Rails, it has this.. nevermind. -- G

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Greg Donald
an friend Lalo says "gringo" isn't nearly as potent an insult as it was back in the 70's when he actually used it towards Texans who didn't know or care that he was also a native Texan by birth. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Newbie List

2008-02-26 Thread Greg Donald
On 2/26/08, revDAVE <[EMAIL PROTECTED]> wrote: > Rather than bug folks on this cool list for beginner questions - does anyone > know of a good PHP Newbie email List? The newbie list idea was shot down multiple times over the years. Ask here. -- Greg Donald http://destiney.c

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Greg Donald
On 2/26/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > I'm just glad there's a lot of sinners out there, or at least > people who aren't that crazy :) They're called hypocrites. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.n

Re: [PHP] Re: When to use design patterns?

2008-02-25 Thread Greg Donald
t "Joomla" name: http://search.securityfocus.com/swsearch?query=joomla&metaname=alldoc And the 280+ exploits when it was called "Mambo": http://search.securityfocus.com/swsearch?query=mambo&metaname=alldoc -- Greg Donald http://destiney.com/ -- PHP General Mailing List

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
ce-sitting agnostics, lets not forget Sagan's best: 'If by "God" one means the set of physical laws that govern the universe, then clearly there is such a God. This God is emotionally unsatisfying... it does not make much sense to pray to the law of gravity.' -- Greg Do

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
Ridicule is the only weapon which can be used against unintelligible propositions." -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
ible: http://tinyurl.com/h4u5b I love what Steven Weinberg, the Nobel Prize-winning physicist said, "Religion is an insult to human dignity. With or without it, you'd have good people doing good things and evil people doing evil things. But for good people to do evil things, that take

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
Having the capacity to create a lot of something in an orderly fashion does not prove existence. > god's like wind, can't see it but it still blows your bin over so you > know it's there. Good, now I know who to blame when a tornado takes out a trailer park in the

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
who insists on genital mutilation at birth? Do we want influences into our governments that inhibit natural advances in modern science? Do you really believe in virgin birth and resurrection? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: temporary error

2008-02-23 Thread Greg Donald
On 2/22/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > That's pretty funny... but why rewrite a great fantasy? It started as a sort of a dare from one of my "bright" friends. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: temporary error

2008-02-22 Thread Greg Donald
On 2/22/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > So help me God Speaking of imaginary things, check out this new site I built few weeks back: http://rewriteproject.com/ I do believe I am the first person to ever "tag cloud" a bible :) -- Greg Donald http://des

Re: [PHP] More than one values returned?

2008-02-22 Thread Greg Donald
of an example to back up your obviously immature and uninformed claim. > Oh wait.. I am indeed waiting, where's your code? When, and under what circumstances exactly, is getting back an array of objects from a function or method call "poor design" ? Please, do tell. -- G

Re: [PHP] More than one values returned?

2008-02-21 Thread Greg Donald
: @foo = Foo.find( :all ) Django: foo = Foo.objects.all() ZF: $foo = new Foo(); $foo->fetchRow( $foo->select() ); All return arrays of objects. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
signment_%28computer_science%29#Parallel_assignment > Please read my other post which explains > the reasoning. Your "reasoning" is shit. min, max = 0, 0 is beautiful. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread Greg Donald
r example: http://search.securityfocus.com/swsearch?sbm=%2F&metaname=alldoc&query=phpfox&x=0&y=0 Two exploits doesn't seem bad, but in what time span were they? Something to think about. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On Feb 19, 2008 5:23 PM, Steve Edberg <[EMAIL PROTECTED]> wrote: > For completeness sake, this is pretty much the same in PHP: > > function test() { >return array(1,2); > } > > list($a,$b) = test(); Yup, just a few more keystrokes is all. -- Greg

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
On 2/18/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > I'd just return arrays unless I had a specific need for incurring object > overhead for such simple datatypes. w0rd. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] More than one values returned?

2008-02-19 Thread Greg Donald
it. In Ruby: def foo 1, 2 end a, b = foo In Python: def foo return 1, 2 a, b = foo In Perl: sub foo { return (1, 2); } (my $a, my $b) = foo; -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > Sure, if you want to miss all the linker and compiler goodies :-) I'm guessing that'd be non-issue for an obviously inexperienced FreeBSD user. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz' > by URL Works fine for me on 6.3-RELEASE. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protected ZIP file with password

2008-02-18 Thread Greg Donald
On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: > cd /usr/ports/archivers/zip > make install clean zip pkg_add -r zip done. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
al clients > such > as programmatic ones eg. web service clients or mobile devices. REST is the new SOAP. Yaml is the new XML. I'm guessing this news just hasn't made it into any PHP frameworks yet. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 3:37 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > well thats what xslt is, which is pretty nice. /me point Nathan to http://en.wikipedia.org/wiki/Rhetorical_question XSLT sucks, complete overkill. -- Greg Donald http://destiney.com/ -- PHP General Mailing L

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 3:32 PM, Christoph Boget <[EMAIL PROTECTED]> wrote: > As an aside, you can save lines when debugging by doing: > > echo '' . print_r( $var, TRUE ) . ''; OMG, thanks for that. Lines are so expensive nowadays and all. -- Greg Donald http://des

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
with which you are working. Additionally, they provide the opportunity > to punt anything not necessary at run-time to pre-compiled HTML. Your solution to templating is XML? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
I usually add a little function like this to my PHP projects: function debug( $var ) { echo ''; print_r( $var ); echo ''; } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On Feb 12, 2008 2:57 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > I prefer content formatting encapsulation as provided by custom tags. Decorators? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Template system in PHP

2008-02-12 Thread Greg Donald
On 2/12/08, Xavier de Lapeyre <[EMAIL PROTECTED]> wrote: > Do any of you guys & gurls know of a way to implement that template > system. eval() is my favorite templating engine. http://php.net/eval -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://

Re: [PHP] PHP Source code protection

2008-02-11 Thread Greg Donald
more capable than the Zend Encoder. In principle I'd at least want something that costs less than it's equivalent decoder. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Source code protection

2008-02-07 Thread Greg Donald
ney. They paid for the code so why do you think you still own rights to it? > they possess the acumen and free time to be able to reverse-engineer > the code themselves, I honestly don't know why they'd pay someone to > develop the application in PHP for them in the first place. I

Re: [PHP] Recommended ORM for PHP

2008-02-07 Thread Greg Donald
://railsdb.org/ At this point I've successfully hooked it up to Oracle, MySQL, PostgreSQL, and SQLite. > greg, thoughts ? I like pie. Martin Fowler +1, if you're a software developer and don't own any books by him, you should. -- Greg Donald http://destiney.com/ -- PHP Gen

Re: [PHP] PHP program to download sites

2008-02-07 Thread Greg Donald
ent.. so you don't download the whole internet. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Source code protection

2008-02-07 Thread Greg Donald
meone wants to reverse code that you have put in their possession, they will find a way. Deductive reasoning leads to two possible options: 1) Don't give the code to anyone. 2) Give the code to the client and accept the fact that it may get pirated. -- Greg Donald http://destiney.com/ --

Re: [PHP] shopping carts

2008-02-06 Thread Greg Donald
On 2/6/08, nihilism machine <[EMAIL PROTECTED]> wrote: > that does not help, none specify whether they have a custom fields > option or not. "Wah.. why won't anyone do my research for me?" -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://w

Re: [PHP] PHP Source code protection

2008-02-06 Thread Greg Donald
On 2/6/08, Greg Donald <[EMAIL PROTECTED]> wrote: > On 2/6/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > There's the Zend Encoder at www.zend.com. Though it may be called > > something else now. > > Pointless. > > http://www.phprecovery.com/ http://w

Re: [PHP] PHP Source code protection

2008-02-06 Thread Greg Donald
On 2/6/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > There's the Zend Encoder at www.zend.com. Though it may be called > something else now. Pointless. http://www.phprecovery.com/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Recommended ORM for PHP

2008-02-06 Thread Greg Donald
iveRecord caches the fields query in production. A one-time query to discover the field types is not a performance hit. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: New search related question

2008-02-04 Thread Greg Donald
t the logic for you. Q. If grep was the best search tool then why did slocate get invented? A. Indexes. A MySQL index doesn't go away in between requests. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New search related question

2008-02-04 Thread Greg Donald
On 2/4/08, Jason Pruim <[EMAIL PROTECTED]> wrote: > Is there anything wrong with the way I'm thinking? Or is it that there > is a better way to search through a static HTML site? http://www.htdig.org/ -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http:/

Re: [PHP] Calling All Opinionated ******** ....

2008-02-01 Thread Greg Donald
27;m in the market for a new framework, but please only tell me about ZF because I don't want to spend my own time researching stuff for myself." Since when is learning something new a crime? Why are you even a programmer? ZF works fine if you don't mind all the bloated OO

Re: [PHP] PEAR website and MSIE 6

2008-02-01 Thread Greg Donald
On Jan 31, 2008 7:04 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > IE8 passes Acid2. :) They make a salve for that I heard. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array iteration vs. ArrayIterator

2008-02-01 Thread Greg Donald
ot;wordy, java-like syntax" only. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pass Variable Names to a Function

2008-02-01 Thread Greg Donald
x27;'; > } >} > > And I would call the function with set_var($name) or set_var($phone). > The problem is getting the function to use $var as a variable name, > rather than a value. What am I missing, please? "" means interpolate the contents. '' mea

Re: [PHP] first php 5 class

2008-01-31 Thread Greg Donald
On Jan 30, 2008 7:21 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Greg's my hero of the day - even if he has been banging the Ruby drum on > the PHP Stage half the night ;-) PHP is a great language. I don't plan to stop using it anytime soon. -- Greg Donald http://

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
gems are. When you install a gem the docs are created by rdoc for you on the fly using the gem's Ruby code itself. As a result you can't not get current api docs when you install a gem. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
'ruby' > 'php' => true It's like having a shell built directly into the language. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
etty_print_instance_variables", "private_methods", "protected_methods", "public_methods", "push", "rassoc", "reject", "reject!", "replace", "require", "respond_to?", "reverse", "reverse!", "reverse_each", "ri", "rindex", "select", "send", "shift", "singleton_methods", "size", "slice", "slice!", "sort", "sort!", "sort_by", "taint", "tainted?", "to_a", "to_ary", "to_s", "transpose", "type", "uniq", "uniq!", "unshift", "untaint", "values_at", "zip", "|"] And since you can't see it I will also mention that IRB has beautiful syntax highlighting. > however, ive never heard of an extension whereby the debugger > drops you into a 'php -a' session. > > and btw. php does have pecl and pear, these are both modular Every time I ever went to the PEAR site I played a game of 'how many times do I have to click before I dig down deep enough to realize the docs aren't really there'. Meanwhile every gem you install with Ruby has an rdoc package with complete api docs for the gem. You just fire up your local `gem server` and browse to http://localhost:8808/ to view complete api docs, offline or on. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On 1/30/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Jan 30, 2008 2:55 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > If you only need to test data integrity then it seems good enough. I > > would argue that being able to test xhr requests is a basic > >

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On 1/30/08, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Jan 30, 2008 2:38 PM, Greg Donald <[EMAIL PROTECTED]> wrote: > > If you like Java then stick with PHP as that's where the syntax is > > clearly headed: > > > > http://www.php.net/~helly/php/ext/s

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
ritten in Ruby not some silly contrivance like XML. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
On Jan 30, 2008 12:40 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > java is awesome, it just hasnt worked out for me career wise. If you like Java then stick with PHP as that's where the syntax is clearly headed: http://www.php.net/~helly/php/ext/spl/ -- Greg Donald http:

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
password: > Perfect example of an advance in web technology. > perfect example of something that doesnt make much difference. The time saved writing Yaml instead of XML makes a huge difference to me. Similar savings are to be had when comparing PHP to most anything except Java.

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
it like Perl's CPAN if you're familiar. There are also plugins, engines, and components depending on the level of integration you want the vendor code to have. 6) Model validations extend into the view. No re-mapping of variables like with Smarty or some others I've tried. 7) The R

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
r tasks. The syntax is a lot smaller which makes it a lot faster than XML. Perfect example of an advance in web technology. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
don't like it ;) It's opinionated software and is certainly not for everyone. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
t is particularly interesting, especially if your into meta-languages or language creation in general. http://destiney.com/blog/play-with-perl6-mac-os-x-leopard -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first php 5 class

2008-01-30 Thread Greg Donald
nces in web development technology to focus on elsewhere. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >