Re: Middle Tire in PHP MySQL

From: Michael Austin (maustin_at_firstdbasource.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 14:52:55 GMT

Kumar Saurabh wrote:

> Hi Devs,
>
> I was thinking of implementing a middle tire (most probably in XML)
> for a PHP MySQL web app but couldn't make a head way. can any one
> suggest how can i proceed with this.
>
> Thanks in advance.

I think you mean Tier :)

In a multi-tier application each tier performs certain tasks. Let's take a
3-tier system and break them down.

Tier-1: User Interface. Browser or PC app that communicates with an
Application server.

Tier-2: Application Server: Each application server process is generally, but
not always multi-threaded/re-entrant such that multiple User Interface
connections can be handled by one Server process. This process is responsible
for handling business logic and other validation routines as well as
communicating with the next Tier.

Tier-3: Further processes the data and is responsible for storing it in a data
store (flat-file or database).

Now if you understand this very basic definition of a multi-tier architecture,
this means that you would add a layer of unnecessary complexity by introducing a
level of difficulty that you may not need nor completely understand. As a
learning exercise this could be valuable.

Write a front-end (Windows or Linux-based) app in GCC, VCC, VB that generates
XML output that then communicates with an application server running a JAVA app
that then communicates with your PHP app to store the data in MySQL. The levels
of data obfuscation are virtually unlimited.

-- 
Michael Austin.
Consultant - NOT Available.
Donations STILL welcomed. http://www.firstdbasource.com/donations.html
:)


Relevant Pages

  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Ruby Enterprise App Design Advice
    ... Load balanced to send user to best server. ... FastCGI or SCGI - We would like to replace FastCGI with something ... certain instance and want to have a single session server (if I understand ... deals with login and logout and assigns an app server. ...
    (comp.lang.ruby)
  • RE: C++ Garbage Collector on VMS?
    ... And HW is usually not a problem in th app tier. ... One for App server, one for DB. ... Tiers were a great concept when HW could not keep up with the processing required by each tier and network speeds were slow and unreliable. ... In small to medium app environments, ...
    (comp.os.vms)
  • Re: Schannel and Session Renegotiation
    ... Schannel does not support the server sending app ... We are discussing the option of providing support for the client blowing off ...
    (microsoft.public.platformsdk.security)