473,385 Members | 1,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

php or asp.net for this?

MBS
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.

1)As mentioned, a shopping cart.
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.

Thanks!
Bailey--
Jul 17 '05 #1
11 3077
MBS wrote:
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.
1)As mentioned, a shopping cart. you can use php sessions for this
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.
all standard mysql_query stuff
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.
do the mysql query - output as text/csv (in the header), which should prompt
the browser to download , and write out the query contents in csv format

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.
it'll be a learning curve for you , as you have an asp background, but the
PHP learning curve is quite shallow - you should have some sort of demo up
and running in about 2 weeks or so.

check out hotscripts.com for example php code - there's a fair number of
shopping carts and other stuff on there.

Thanks!
Bailey--


Jul 17 '05 #2
Never use premade script as they will never fit with your website background
architecture than if you create your application yourself. Since this is a
small project, I suggest to use PHP as it's faster to write applications.
But also because it's free and easier to implement than ASP.NET + MSSQL +
Session. But since you already have a ASP background, why not stick with it
since asp is best suited for e-commerce. Most e-commerce company use MS
Server for data storing and exchange, so it more natural for asp than php to
handle data. Maybe if you give more precision on what you have and how must
you want to spend, and with what company you want to share data, maybe I
could give you a better suggestion, since ASP.NET and PHP can do both the
same thing, they just do it differently...

Savut

"kaptain kernel" <no****@nospam.gov> wrote in message
news:40***********************@news.easynet.co.uk. ..
MBS wrote:
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.
1)As mentioned, a shopping cart.

you can use php sessions for this
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.


all standard mysql_query stuff
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.


do the mysql query - output as text/csv (in the header), which should

prompt the browser to download , and write out the query contents in csv format

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.


it'll be a learning curve for you , as you have an asp background, but the
PHP learning curve is quite shallow - you should have some sort of demo up
and running in about 2 weeks or so.

check out hotscripts.com for example php code - there's a fair number of
shopping carts and other stuff on there.

Thanks!
Bailey--

Jul 17 '05 #3
"MBS" <mb******@bellsouth.net> wrote in message
news:bd**************************@posting.google.c om...
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.

1)As mentioned, a shopping cart.
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.

Thanks!
Bailey--


PHP/MySQL/Linux

--
Mike Bradley
http://www.gzentools.com -- free online php tools
Jul 17 '05 #4
"MBS" <mb******@bellsouth.net> wrote in message news:bd**************************@posting.google.c om...
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.

1)As mentioned, a shopping cart.
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.

Thanks!
Bailey--

Aside from the excellent opportunity to learn a new language, I think you need answer a few questions:

What DB is going to be used. PHP and MySQL fit like hand in glove. If it's an Access database you will probably want to use ASP.

What is the server? If you're using IIS - you may want to stick with ASP. If it's Unix/Linux then PHP is the way to go.

Just as there are PHP scripts available, so too are ASP.

Is there a timeline involved? Yes - stick with what you know. No - have fun!

Who is going to support it in 2 years? An MS crew? Go with ASP.

Are you going to need COM support? Probably ASP.

Is there going to be a lot of uploading to the server? PHP does an excellent job handling these files. I don't know about .NET but
ASP is miserable at handling uploading files. In fact there are COM object built just for this.
Personally I think PHP is more enjoyable and faster to work with. It just "makes sense" to me. But I also don't think you should
ever force you personal preferences on a customer - it's a disservice to them - even if you do truly know better.

-CF

Jul 17 '05 #5
MBS
Thanks for the replies. As far as what server,db, and operating
system, I can host the site anywhere I want and so it is harder for me
to make a decision with all this latitude. It sounds like I may stick
with asp. However, after reading all the hype about php vs asp.net it
seemed like asp was a dead dog (or a sick dog about to die). I would
like to learn a more marketable development platform but it sounds
like it may be unecessary for this project. Any ideas on how to create
an ascii delimited dump from a web query using asp?
Jul 17 '05 #6
> I would like to learn a more marketable development platform

I don't recommend you teach yourself a language on top of a scheduled project
That is a BIG no-no.

The only time you should learn on your company's dime (time) is when they
pay for a course... You should ask them if they are willing to do this. If so go for
it. Otherwise, write the application in ASP (you know it well), and learn ASP.NET
at home. (if you plan on being any kind of marketable in the near future).

Also, you definitely should learn PHP because PHP would have been better suited
for this project. (not to take anything away from good 'ol ASP)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
Wil Moore III, MCP Site : www.quicksitedesign.com?em
Application Developer Site : www.digitallysmooth.com?em
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
Jul 17 '05 #7
kaptain kernel wrote:
MBS wrote: <snip> all standard mysql_query stuff


I don't know how you can just flat out recommend MySQL for the project. Yes,
MySQL is loveable open-source free blah blah blah, but the fact remains that
compared to its commercial counterparts (Oracle, DB2, SQL Server) it is
still quite poor. It's query optimizer sucks, to be blunt, it doesn't
support all the features of SQL 99 (correlated subqueries, full transaction
support etc. [yeah, the InnoDB tables offer full ACID compliance, but as far
as using MySQL in a distributed DBMS with transaction management... forget
it.]) There's no stored procedures (a HUGE advantage in commerical DBMSs),
no triggers, no views (another very important part of SQL), etc. If this is
for a small company that's going to be low-volume, then yeah, MySQL will
probably work. If this is going to be a high-volume high-traffic mission
critical type thing, however, I would definitely not recommend MySQL. It's
just not up to the job. So before you just go and say "Yeah, MySQL", make
sure you have all the information needed to make that decision. We clearly
do not, as the OP gave no information about the project scale...

(and don't ask for benchmarks, MySQL can't run the standard benchmarks (TPC)
because they test transactions. Even if it could, it would perform poorly as
query optimization is a huge part of TPC, as are joins, parallel operations,
distributed operations etc. The benchmarks done by MySQL are extremely
minimalist, and their comparisons all are run against old versions of
Oracle, SQL Server etc, and don't test the query optimizer, or perform any
complex joins etc.)
Jul 17 '05 #8
Well, if it's marketability you're concerned with, go with ASP.NET. I don't
have any statistics, but I dare say that PHP programmers are paid on average
less than their ASP counterparts. .NET offers more upward mobility too.
Talnet in PHP probably won't take you far career-wise.

Uzytkownik "MBS" <mb******@bellsouth.net> napisal w wiadomosci
news:bd**************************@posting.google.c om...
Thanks for the replies. As far as what server,db, and operating
system, I can host the site anywhere I want and so it is harder for me
to make a decision with all this latitude. It sounds like I may stick
with asp. However, after reading all the hype about php vs asp.net it
seemed like asp was a dead dog (or a sick dog about to die). I would
like to learn a more marketable development platform but it sounds
like it may be unecessary for this project. Any ideas on how to create
an ascii delimited dump from a web query using asp?

Jul 17 '05 #9
Agelmar,

"Agelmar" <if**********@comcast.net> kirjoitti viestissä
news:bu************@ID-30799.news.uni-berlin.de...
kaptain kernel wrote:
MBS wrote: <snip>
all standard mysql_query stuff


I don't know how you can just flat out recommend MySQL for the project.

Yes, MySQL is loveable open-source free blah blah blah, but the fact remains that compared to its commercial counterparts (Oracle, DB2, SQL Server) it is
still quite poor. It's query optimizer sucks, to be blunt, it doesn't
support all the features of SQL 99 (correlated subqueries,
MySQL-4.1 supports correlated subqueries:
http://www.mysql.com/doc/en/Correlated_subqueries.html
full transaction
support etc. [yeah, the InnoDB tables offer full ACID compliance, but as far as using MySQL in a distributed DBMS with transaction management... forget
it.])
InnoDB tables in MySQL offer full transaction support, though not the
2-phase commit required for distributed transactions. The demand for a
2-phase commit has been so low that we have delayed its implementation.
There's no stored procedures (a HUGE advantage in commerical DBMSs),
MySQL-5.0 has stored procedures:
http://www.mysql.com/downloads/mysql-5.0.html.
no triggers, no views (another very important part of SQL), etc. If this is for a small company that's going to be low-volume, then yeah, MySQL will
probably work. If this is going to be a high-volume high-traffic mission
critical type thing, however, I would definitely not recommend MySQL.
Why do Yahoo! Finance and Slashdot then use MySQL for a high-volume site?
http://www.innodb.com/userstories.php
It's
just not up to the job. So before you just go and say "Yeah, MySQL", make
sure you have all the information needed to make that decision. We clearly
do not, as the OP gave no information about the project scale...

(and don't ask for benchmarks, MySQL can't run the standard benchmarks (TPC) because they test transactions.
MySQL/InnoDB can well run TPC-C, which tests transactions. TPC-H does not
test transactions.

See also http://www.eweek.com/article2/0,4149,293,00.asp, which tested
transactions. MySQL beat SQL Server, DB2, and Sybase.
Even if it could, it would perform poorly as
query optimization is a huge part of TPC,
Query optimization is not a big part of TPC-C, which is intended to test
transactions.
as are joins, parallel operations,
distributed operations etc. The benchmarks done by MySQL are extremely
minimalist, and their comparisons all are run against old versions of
Oracle, SQL Server etc, and don't test the query optimizer, or perform any
complex joins etc.)


The eWEEK benchmark was not conducted by MySQL AB.

Best regards,

Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM
tables
Jul 17 '05 #10
Reply inline

Heikki Tuuri wrote:
Agelmar,

"Agelmar" <if**********@comcast.net> kirjoitti viestissä
news:bu************@ID-30799.news.uni-berlin.de...
kaptain kernel wrote:
MBS wrote: <snip>
all standard mysql_query stuff


I don't know how you can just flat out recommend MySQL for the
project. Yes, MySQL is loveable open-source free blah blah blah, but
the fact remains that compared to its commercial counterparts
(Oracle, DB2, SQL Server) it is still quite poor. It's query
optimizer sucks, to be blunt, it doesn't support all the features of
SQL 99 (correlated subqueries,


MySQL-4.1 supports correlated subqueries:
http://www.mysql.com/doc/en/Correlated_subqueries.html


MySQL 4.1 is still alpha release, not production. Hence I would not
recommend it to any of my clients. I would not hesitate recommending MySQL
4.0 to my clients (or 3.23 if that's what their provider is on), but I do
not generally recommend alpha releases...
full transaction
support etc. [yeah, the InnoDB tables offer full ACID compliance,
but as far as using MySQL in a distributed DBMS with transaction
management... forget it.])


InnoDB tables in MySQL offer full transaction support, though not the
2-phase commit required for distributed transactions. The demand for a
2-phase commit has been so low that we have delayed its
implementation.
There's no stored procedures (a HUGE advantage in commerical DBMSs),


MySQL-5.0 has stored procedures:
http://www.mysql.com/downloads/mysql-5.0.html.


Development tree. Definitely not production release...
no triggers, no views (another very important part of SQL), etc. If
this is for a small company that's going to be low-volume, then
yeah, MySQL will probably work. If this is going to be a high-volume
high-traffic mission critical type thing, however, I would
definitely not recommend MySQL.


Why do Yahoo! Finance and Slashdot then use MySQL for a high-volume
site? http://www.innodb.com/userstories.php


With all due respect, Yahoo! Finance and ./ are running relatively simple
queries. I doubt they're doing joins across 10 tables, most of it is just a
simple lookup on an articleID primary key, and I doubt they have any need of
transactions for the majority of the queries. Don't get me wrong, I love
MySQL for simple things / low to medium volume things, but there's a reason
that Oracle Database 10g Enterprise Edition and Microsoft SQL Server 2000
Enterprise Edition 64-bit (running on Windows Server 2003 Datacenter Edition
64-bit) hold the top scores on TPC-C. And TCP-W, which is a benchmark that
matches well with MySQL's typical use, is absolutely dominatd by MS SQL
Server 2000.
It's
just not up to the job. So before you just go and say "Yeah, MySQL",
make sure you have all the information needed to make that decision.
We clearly do not, as the OP gave no information about the project
scale...

(and don't ask for benchmarks, MySQL can't run the standard
benchmarks (TPC) because they test transactions.


MySQL/InnoDB can well run TPC-C, which tests transactions. TPC-H does
not test transactions.


I stand corrected.
See also http://www.eweek.com/article2/0,4149,293,00.asp, which tested
transactions. MySQL beat SQL Server, DB2, and Sybase.
Even if it could, it would perform poorly as
query optimization is a huge part of TPC,
Query optimization is not a big part of TPC-C, which is intended to
test transactions.


Hmm... TPC-C was based on a more complex database with multiple transaction
types, was it not? While not specifically testing the query optimizer, I'd
imagine that it would still have a large effect on the result... but I could
be wrong, and will haev to look into that.
as are joins, parallel operations,
distributed operations etc. The benchmarks done by MySQL are
extremely minimalist, and their comparisons all are run against old
versions of Oracle, SQL Server etc, and don't test the query
optimizer, or perform any complex joins etc.)


The eWEEK benchmark was not conducted by MySQL AB.


Even so, the one referenced is testing old versions of other databases on
obsolete operating systems (SQL Server 7 on NT4 etc)
Best regards,

Heikki Tuuri
Innobase Oy
http://www.innodb.com
Foreign keys, transactions, and row level locking for MySQL
InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up
MyISAM tables

Jul 17 '05 #11
What is funny is some people always telling PHP/MySQL/Linux without giving any reason...
We know that MS SQL Server is more powerful than MySQL, but why whould you still suggest MySQL ? PHP can run without problem on
Windows, Why Linux ? And ASP can do all what PHP do, and faster with the framework .NET why not use ASP ? Just some question that
you should explain for people here.

Savut

"CountScubula" <me@scantek.hotmail.com> wrote in message news:Ps*******************@newssvr27.news.prodigy. com...
"MBS" <mb******@bellsouth.net> wrote in message
news:bd**************************@posting.google.c om...
I know there are already a million threads on php vs asp.net. My prior
experience is with asp but I am now doing a website for a company that
has given me free reign over which technology I want to use. I am
developing an online product catalogue with shopping cart etc. Here is
a partial wish list.

1)As mentioned, a shopping cart.
2)A database search feature (to search multiple fields and phrase
occurences within).
3)An admin page for the company to update, modify, and delete records.
4)An admin feature so that a product category recordset can be
downloaded to their PC in an ascii delimited format. This is because
they want to be able to tie-in to the online db to also generate a
print catalogue using Quark.

Based on some of the features desired above, I would appreciate
feedback on which development platform (asp.net vs php) would be
easier to learn/use/implement for the above.

Thanks!
Bailey--


PHP/MySQL/Linux

--
Mike Bradley
http://www.gzentools.com -- free online php tools

Jul 17 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: James | last post by:
I have a from with 2 fields: Company & Name Depening which is completed, one of the following queries will be run: if($Company){ $query = "Select C* From tblsample Where ID = $Company...
5
by: Scott D | last post by:
I am trying to check and see if a field is posted or not, if not posted then assign $location which is a session variable to $location_other. If it is posted then just assign it to...
2
by: Nick | last post by:
Can someone please tell me how to access elements from a multiple selection list? From what ive read on other posts, this is correct. I keep getting an "Undefined variable" error though... Form...
2
by: Alexander Ross | last post by:
I have a variable ($x) that can have 50 different (string) values. I want to check for 7 of those values and do something based on it ... as I see it I have 2 options: 1) if (($x=="one") ||...
0
by: Dan Foley | last post by:
This script runs fine, but I'd like to know why it's so slow.. Thanks for any help out there on how i can make it faster (it might take up to 5 min to write these 3 export files whith 15 records...
5
by: Lee Redeem | last post by:
Hi there I've created abd uploaded this basic PHP script: <html> <head> <title>PHP Test</title> </head> <body> <H1 align="center">
5
by: christopher vogt | last post by:
Hi, i'm wondering if there is something like $this-> to call a method inside another method of the same class without using the classname in front. I actually use class TEST { function...
6
by: Phil Powell | last post by:
Ok guys, here we go again! SELECT s.nnet_produkt_storrelse_navn FROM nnet_produkt_storrelse s, nnet_produkt_varegruppe v, nnet_storrelse_varegruppe_assoc sv, nnet_produkt p WHERE...
1
by: Michel | last post by:
a site like this http://www.dvdzone2.com/dvd Can you make it in PHP and MySQL within 6 weeks? If so, send me your price 2 a r a (at) p a n d o r a . b e
11
by: Maciej Nadolski | last post by:
Hi! I can`t understand what php wants from me:( So: Cannot send session cache limiter - headers already sent (output started at /home/krecik/public_html/silnik.php:208) in...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.