[Unknown]

  • Posts: 77
Re: A PHP fork?
« Reply #30, on June 19th, 2011, 11:35 AM »
I find it very interesting.  Honestly, I wish I had the time to sink my teeth into something like this.  These are some good improvements, and if things like this are getting rejected, I wonder how much good a fork could do in the world...
Quote from Arantor on June 16th, 2011, 01:26 PM
Forcing users to use GET and POST, rather than an ambiguous source is a nice step, though honestly I'd love to see a proper taint detection method such as in Perl, where you explicitly can't do anything to input without some kind of sanity check first.
Yes, although annoying, I agree.
Quote from Arantor on June 17th, 2011, 05:12 PM
I don't know which off the top of my head, but if it works how I think it works, it'll be GET - because what it can do is inject a <script> tag into the DOM for the browser to fetch the contents dynamically - and it'll be JSON when it comes in, presumably.
This is called jsonp and has problems with > 4k of data.  Some of the "easy" things jQuery does don't necessarily encourage best practice (I know this from having to do code review at work.)
Quote from Eros on June 18th, 2011, 02:37 AM
....I wouldn't call the POS IDEs for PHP proper IDE's either. Then again, the only thing I think Microsoft ever did right was Visual Studio so....:/
/quote]

Indeed.  I use Phalanger myself for PHP and it works great.  I bet it could be hacked relatively easily into supporting a JSON-like array syntax.

-[Unknown]