|
Posted by shimmyshack on 03/30/07 17:18
On Mar 30, 5:43 pm, "Ben" <nos...@thankyou.com> wrote:
> General question for the group. I have a friend who claims that PHP/Java
> grids can't touch .NET with respect to dev time, reliability and speed. I'm
> not in a position to debate but would like to know the thoughts given the
> following requirements:
>
> - Grid will handle 1,000 row, 25 columns record sets on a regular basis
>
> - Multiple users hitting same data set so automatic refreshes will need to
> occur frequently, 10 second intervals for example, and a clean/fast repaint
> is key.
>
> - Maybe of less significance but drag n drop is required.
>
> Don't want to debate the requirements themselves, they are what they are.
> But if you had to choose PHP/Java vs .NET (ASP/VB) to develop said grid,
> which is "better" and why? The back end DB for both scenarios will be
> either SQL, MySQL or Oracle, client choice and don't want to debate offering
> a choice of the DB solutions either please.
>
> TYIA for any thoughts.
>
> =B
What you are /really/ asking is whether php can provide fast access to
the database. The rest of it, the grid (html table markup) repainting
(rendering) drag and drop (javascript) mtuliple users (server) doesn't
have much to do with php.
But you should know IIRC php offloads its maths and various other
things onto native C libraries, so I can't see that .NET will have any
improvement whatsoever it the speed of execution. (.NET surely
compiles to byte code which is then executed in M$'s runtime env)
As to the rest, the only thing which you have control over are the
server and javascript, chances are the opensource libraries for drag
drop and other functionality will be WAY better than anything M$ can
possibly offer. It, as a company has a woeful record of client jscript
- even the postback was broken for ages!) it is slow to respond to
obvious advances, whereas opencourse can be tweaked and improved daily
and frequently is, so you can pair your library right down and if all
you need is drag and drop you can optimise it for that.
As for server setup, I guess you are talking php on IIS, so fast_cgi
benchmarks are what you want, I read somewhere that this compares very
well.
But this will always come down to opinion, he has never used a well
setup Linux version probably, and doesnt understand the underlying
technologies well enough to be the judge of any of this. He is just
religious about .NET because he knows he can "drag and drop" forms and
so on, and "ajaxify" his code with a few clicks, great - his focus is
on speedy coding so he can spend his big bucks on a new gadget, and
let someone else worry about matters of security and professionalism,
and tight code. Not my persaonl idea of what a professional programmer
should be.
Navigation:
[Reply to this message]
|