Help me convince the ASP guy about PHP usage.
Moderator: General Moderators
I got the same experience as you when it came to speed in X, not too convincing no! But I don't have a lot of experience with Linux, I have just tried it a few times... is it much faster if you compile it all yourself?
I think Linux has to be much faster and easier in X to be successful on the desktops, so far it is as a server Linux shines. But I do hope it will be a hard rival to windows on the desktop some day soon. =)
I think Linux has to be much faster and easier in X to be successful on the desktops, so far it is as a server Linux shines. But I do hope it will be a hard rival to windows on the desktop some day soon. =)
- Heavy
- Forum Contributor
- Posts: 478
- Joined: Sun Sep 22, 2002 7:36 am
- Location: Viksjöfors, Hälsingland, Sweden
- Contact:
OK So what now ?
I have given .NET with all of its meanings a serious chance. I have not yet had my hands on a development situation where .NET is installed, but the ASP guy will test it in the next few weeks and I hope to be able to join him.
So, the primary advantages to .NET are:
* Use any compatible language; C#, C++, VB whatever...
* Compiled code (dll's and stuff) for faster execution
* exellent IDE
* Compiled code allows for discretion. (You can distribute your software to others without allowing them to see the sources... Considerably good in a commercial situation.)
* Application integration with whatever kinds of software running on .NET on the same system.
* co-location (several servers cooperating from different geographical locations, to save bandwidth. ??? I am not completely sure about this one
)
* and maybe something more significant that I don't recall
it's disadvantages:
* MS platform dependency
* MS license fees
* MS bug problems (I added a frontpage subweb in my IIS recently, causing another web server on th same IIS but on othe IP to crash and never come back. I had to remove it completely and put it back again. Would you want to do that on a loaded site? The site was down for 8 hours...)
Now. I would like some response from people who have experienced PHP Accelerator.
Is it stable?
More:
Is there any chance that PHP or PHP Accelerator will grow into fully compiled code that a PHP runtime library can execute?
I mean in a way that locally developed PHP applications can be distributed to servers out of our control without giving away the source code?
So, the primary advantages to .NET are:
* Use any compatible language; C#, C++, VB whatever...
* Compiled code (dll's and stuff) for faster execution
* exellent IDE
* Compiled code allows for discretion. (You can distribute your software to others without allowing them to see the sources... Considerably good in a commercial situation.)
* Application integration with whatever kinds of software running on .NET on the same system.
* co-location (several servers cooperating from different geographical locations, to save bandwidth. ??? I am not completely sure about this one
* and maybe something more significant that I don't recall
it's disadvantages:
* MS platform dependency
* MS license fees
* MS bug problems (I added a frontpage subweb in my IIS recently, causing another web server on th same IIS but on othe IP to crash and never come back. I had to remove it completely and put it back again. Would you want to do that on a loaded site? The site was down for 8 hours...)
Now. I would like some response from people who have experienced PHP Accelerator.
Is it stable?
More:
Is there any chance that PHP or PHP Accelerator will grow into fully compiled code that a PHP runtime library can execute?
I mean in a way that locally developed PHP applications can be distributed to servers out of our control without giving away the source code?
-
fractalvibes
- Forum Contributor
- Posts: 335
- Joined: Thu Sep 26, 2002 6:14 pm
- Location: Waco, Texas
- Heavy
- Forum Contributor
- Posts: 478
- Joined: Sun Sep 22, 2002 7:36 am
- Location: Viksjöfors, Hälsingland, Sweden
- Contact:
I myself know about the second.fractalvibes wrote:Tell the ASP person that with PHP he can avoid quite a bit of DLL-HELL.
PHP supports so much natively that requires EXPENSIVE components to accomplish using ASP.
About the first:
Is that your own experience?
Are you familiar with .NET?
You see, I want to go the way that ensures best possible situation in a couple of years, and the way that doesn't take too much time to develop.
Money is also important, we don't like big license fees, but we don't like paying for unnecessary months of development either.
I think it is really hard to know which way to go in the beginning of a three to five year project!
-
fractalvibes
- Forum Contributor
- Posts: 335
- Joined: Thu Sep 26, 2002 6:14 pm
- Location: Waco, Texas
I know ASP.Net does support a lot of new functionality, such as Image processing, which Classic ASP does not. See http://www.4guysfromrolla.com for some articles about what new things .Net brings. A totally different paradygm from the scripting world (html and script interspersed).
DLL - Hell - yes, I have written a few of those in VB and installing changed versions can be a nightmare....
Phil J.
DLL - Hell - yes, I have written a few of those in VB and installing changed versions can be a nightmare....
Phil J.
-
fractalvibes
- Forum Contributor
- Posts: 335
- Joined: Thu Sep 26, 2002 6:14 pm
- Location: Waco, Texas
....and I forgot to add:
No matter if you are writing in ASP, ASP.Net, PHP, Cold Fusion, or whatever else - do not forget that overall site performance is greatly tied
to database performance. A poorly designed/tuned database will cause your app to perform poorly no matter....
So consider the choice of database as important as choice of language.
In that realm I think M$ ADO has an edge over the connectity offered via PHP as far as what you can easily do and connect to.
Phil J.
No matter if you are writing in ASP, ASP.Net, PHP, Cold Fusion, or whatever else - do not forget that overall site performance is greatly tied
to database performance. A poorly designed/tuned database will cause your app to perform poorly no matter....
So consider the choice of database as important as choice of language.
In that realm I think M$ ADO has an edge over the connectity offered via PHP as far as what you can easily do and connect to.
Phil J.
-
fractalvibes
- Forum Contributor
- Posts: 335
- Joined: Thu Sep 26, 2002 6:14 pm
- Location: Waco, Texas
Sorry. By that I meant that M$ ADO offers a vast range of connectivity - see http://www.able-consulting.com/ADO_Conn.htm
for an example of what all you can connect to.
I don't know that PHP offers such flexibility, but perhaps it does and I am unaware.
The ADO object model is rather large - see http://www.devguru.com
Nevertheless, I do enjoy coding with PHP.
Phil J.
for an example of what all you can connect to.
I don't know that PHP offers such flexibility, but perhaps it does and I am unaware.
The ADO object model is rather large - see http://www.devguru.com
Nevertheless, I do enjoy coding with PHP.
Phil J.