There are plenty of benchmarks out there showing that PHP isn't
exactly a race horse:
But that said, php is plenty fast enough to easily handle a couple of
**thousand webpage requests per minute** on a decent web server.
That's usually fast enough for most websites ... and if you are some
big-outfit that has to scale well beyond that limit then you could
just loadbalance between multiple servers and/or take facebooks hiphop
project and cross compile your PHP to much faster C-code
I choose C# over PHP for other much more important reasons - speed
isn't the issue.
[mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Rohit Gupta
*Sent:* Sunday, June 05, 2011 2:07 PM
*To:* NZ Borland Developers Group - Delphi List
*Subject:* Re: [DUG] Web development
I dont find PHP slow at all.
On 5/06/2011 2:20 p.m., Steve Peacocke wrote:
Paul. A very informative reply thanks. Gary also suggested PHP but I have
always discounted it as slow and cumbersome. However reading through some of
the blurb suggests that it may gave come a long way in recent years.
However it does look like PHP might be an interesting prospect. I was seriously looking at C# as well but wanted something I could use sooner than the learning curve would require.
Thanks again. I'll take a good strong look over the next few weeks.
On 5/06/2011, at 12:32 PM, Paul A Norman<paul.a.nor...@gmail.com> <mailto:paul.a.nor...@gmail.com> wrote:
Approaching it from the delphi/pascal orientation first...(not meaning
pascal server side--and that is possible as well) ...
You'd find much in Delphi for Php that is very familiar.
It is built on top of an opensource framework " VCL for PHP", and
you'd probably appreciate E's familiar delphi IDE approach. When E
bought up the front end the guy who wrote it went across with it - so
it has been well backed technically in its development.
Plus you can stand Lazarus on top of the opensource part and use it
for the GUI parts.
"With the PHP Toolkit you can also convert your Delphi and Lazarus
form design files (.dfm/.lfm) to VCL for PHP files, as well as
configure Lazarus for use as a PHP IDE."
Using quality frameworks front and back end generally provides for
decent testing and error reporting.
Also if you want to look at php frameworks like Delphi for php, as an
approach, Prado (desgined heavily around Delphi - turboPascal
http://www.pradosoft.com/ is highly spoken of.
Also a derivative projecthttp://www.yiiframework.com/
"The Fast, Secure and Professional PHP Framework
"Yii is a high-performance PHP framework best for developing Web 2.0
"Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N,
caching, authentication and role-based access control, scaffolding,
testing, etc. It can reduce your development time significantly."
Further you can escape the confusion that has been mentioned here over
(even now used and contributed to by Microsoft)
document traversing, event handling, animating, and Ajax interactions
for rapid web development. jQuery is designed to change the way that
"The jQuery framework handles nearly ALL cross browser issues, and
provides somewhat of a strong object orientated approach to the whole
matter. You even just add visual components to the project in code."
Using jQuery type frameworks as front ends and php framework(s) as a
back end for business logic is very similar in thought processes to
many necessary things you may have encountered in using Delphi over
Real-time testing on a local LAN apache is just that!
You can still dive in to the html css js and of course the php as
needed, but framework programming the web is the surest path to a
consistent low hassle approach.
Even just jQuery and doing your own php is very effective and time saving.
People are doing whole cross-platform desktop client side programs,
mobile applications, Apple Linux MS etc etc like this now - see
Titanium for an all in approach based on web-kit.
different(!) but reasonably robust object system with protoyping etc.
These sites from amongst many are really useful for orientation on
"Node's goal is to provide an easy way to build scalable network
programs. In the "hello world" web server example above, many client
connections can be handled concurrently. Node tells the operating
system (through epoll, kqueue, /dev/poll, or select) that it should be
notified when a new connection is made, and then it goes to sleep. If
someone new connects, then it executes the callback. Each connection
is only a small heap allocation."
And newer releases of php offer self serving capabilities as well.
So it is an interesting time to be involved and to be (re-)entering the
If you just want simple drag and drop with a framework, Delphi for
Php or Lazarus with phpo toolkit, will do most of that for you, plus
you can extend things..
Here is an early blurb of Delphi for Php at the outset.
On 3 June 2011 16:35, Steve Peacocke<st...@peacocke.net>
Friday question (or Can of Worms)
Hey guys, I'm looking at getting into serious web development. I used
to do this a number of years ago with standard Delphi 6 at that time.
I have Delphi 7
I've been looking seriously at Ruby on Rails but that would mean
learning a whole new language and process
There has been a lot of talk of the validity of using IntraWeb with
Perhaps others have a better suggestion? What do others use? Should I
bite the bullet and jump to RoR or upgrade to D2011 or something else?