Re: [PHP4BETA] JSP vs. PHP - Two vs. Three Teir
| From: | Frans Thamura | Date: | Sun, 07 May 2000 20:24:17 +0000 |
| Subject: | Re: [PHP4BETA] JSP vs. PHP - Two vs. Three Teir | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13266@lists.php.net to get a copy of this message | ||
JSP vs. PHP - Two vs. Three TeirMay I join for this discussion?
In my mind there is 2 kind of 3-tier:
1. 3-tier in physic, 1 Web Server/Executable (VB/FoxPro), 2, Apps Server (Jserver, MTS) , 3 DB
Servre_Stored Procedure
2. 3-tier in logic, 1 Presentation Layer (ASP/VB/ 2. Business Layer (COM. JavaBean/EJB), 3 Data
Access Layer.
If I ask something wrong, you can give me a feedback, I need you feedback, because it can make my
perseption of the 3-tier is more clearly.
I think the physical 3-tier is not a problem anymore, every application can implementing it.
but the logic is more complicated. I try to used UML to create the interaction. Afterthat, I
usually create a function which connect to the database, execute, and generate a HTML in fetch_array
and return an array. I used array, and ping-pong the array around the function, it is easier to
manage.
Can you see? In this discussion JSP and PHP, there is a UML implementiation for JSP (and ASP), but
PHP.
I hope one day, there is a extention for Rational Rose for PHP. But the IDE for PHP today, is PHPEd,
is far away from Microsoft Interdev or JDeveloper 3.0.
I think it will be a hard work for all PHP developer (including me), to make a RAD using PHP.
Usually company want to create a web site, faster or fastest than anything.
If you ever see how eStartup work, they usually create a complex business model for their web site,
target in 3 month launch, and in 3 year going IPO.
It is a hard way to develop using PHP. That's why there are a lot of good web site create by NT
Server. and ColdFusion come (I never used this software), but the Allaire HomeSite, is a good
development tool I think.
I have a little objective. PHP will go to enterprise if there is a good or better IDE to help create
web site faster. Because eStartup is fighting in second not in minute again.
I know PHP4 is faster than JSP/ASP, but is longer developing than JSP/ASP, not because PHP is not
powerfull but there is no good IDE.
---- Original Message -----
From: Peter Kocks
To: Michael Nino ; php4beta@lists.php.net
Cc: ssb@fast.no
Sent: Thursday, April 06, 2000 10:51 AM
Subject: RE: [PHP4BETA] JSP vs. PHP - Two vs. Three Teir
Are we talking 3 tier or 4 tier? I would call a browser (tier 1), a web server (tier 2), and a
database (tier 3). A four tier model, browser (tier 1), web server (tier 2), some middleware (tier
3), and a database (tier 4), is very difficult to make efficient.
Also, php does not mean no Java. If you have java services you can call them using php if you
wish.
--pk
-----Original Message-----
From: Michael Nino [mailto:mnino@Insight.com]
Sent: Thursday, April 06, 2000 10:32 AM
To: php4beta@lists.php.net
Cc: 'ssb@fast.no'
Subject: [PHP4BETA] JSP vs. PHP - Two vs. Three Teir
Hi,
We have been evaluating applications servers written Java, JSP and PHP. We have a need to
implement a three-teir model. Since JSP (and applications servers) provide "services" (aka
daemons) inside the JVM, how can PHP accomplish the same persistent services. Does some C code need
to be written and serviced via a PHP extension to all PHP scripts?
Your opinions are *very* important to us. If any one could comment on how PHP is best suited for
three-teir, we would be very appreciative. It works well for our Intranet and rapid application
development but if I had sum it up in one question it would be:
How can PHP run as a service or daemon?
thanks guys!
michael
-----Original Message-----
From: Derek Sivers [mailto:list@hitmedia.com]
Sent: Thursday, April 06, 2000 8:29 AM
To: Martin Pavlas; php4beta@lists.php.net
Subject: Re: [PHP4BETA] Credit Cards and PHP4
At 04:49 AM 4/6/00 , Martin Pavlas wrote:
>what I can use for payment via
>credit cards. I heard about CyberCash or DataCash, but I don't know if I
>can use them on Linux with PHP.
Yep. We use CyberCash, and are about to start using it with our new PHP
shopping cart.
It's even one of the options in compiling PHP4. ((--with-cybercash=/ or
something))
You have to get all hooked up with CyberCash first, do that mess, get your
"MCK" download and install it, and THEN recompile PHP4 with it, included.
The CyberCash site has pre-configured MCK kits for Linux Redhat 6.
So - YES - it's do-able.
--
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net