Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old December 19th, 2002, 04:04 PM
Jelly Roll Jelly Roll is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 1 Jelly Roll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP and ASP in the same application (???)

A company has an application that was built in ASP/SQL Server which runs on a Windows platform. A new module is being planned. A new programmer is going to build this module (ie. not the programmer who built the original system.)

The new programmer suggests writing the new code in PHP (instead of ASP). He would use ODBC to connect to the SQL Server database. The new programmer prefers open source languages and suggests that the company should keep in mind that with the introduction of ASP.Net you never know if Microsoft will stop supporting ASP down the road.

The question is: is it a good idea to develop the new module in PHP, or should it be written ASP, like the rest of the application. The company is conerned about 2 things: (1) how would a PHP module perform in the Windows environment? and (2) would it become an issue in the future regarding maintaining the system ie. having modules built in different languages?

Though this info is general, any input from anybody who develops web applications and has experience in this area would be appreciated.

Presently, the company is not certain if the module should be developed in PHP or ASP.

Reply With Quote
  #2  
Old December 20th, 2002, 06:25 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
firstly i would strongly suggest not using multiple languages in your web site, apart from not being very professional, it would make it hard to operate, esp if the two languages have to talk to eachother.

If your develoeper insists, it is possible, im asuming your using the .asp extension currently. so you will have to tell your server to parse .asp with a php parser. also SHORT TAGS in your php.ini config MUST be turned off, otherwise, it will parse the asp as php.

Reply With Quote
  #3  
Old December 21st, 2002, 09:56 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
I'm with Ben on this one. Although it is possible to develop online systems with multiple languages, it can be tedious, especially with maintenance and coding styles.

The short tags Ben mentioned is an important one. Many coders use the short tags (I prefer the long tags myself), and this can cause more harm than good.

Unless your company is willing to port the application over to PHP, I wouldn't recommend having the two running simultaneously.

On another note, having PHP run on a Windows-based system is not a problem. I develop on a Windows XP system, and haven't noticed much difference than when running my applications on a Linux server. If your company is concerned about that, I would assure them there wouldn't be any major concerns.
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > PHP and ASP in the same application (???)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway