Yii Framework Forum: Build 3 Tier Application With Firewall Between Them - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Build 3 Tier Application With Firewall Between Them Build 3 tier application with firewall between them Rate Topic: -----

#1 User is offline   avelozgtz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 11-June 13

Posted 11 June 2013 - 11:32 AM

I have to develop an application that should be divided in 3 tier (presentation layer, application layer and database layer).
Every layer should communicate to another through a firewall, every layer should be hosted in different server.
how can it be implemented with yii framework??

Attached File(s)


0

#2 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 11 June 2013 - 12:48 PM

The concept behind this looks horribly unfit for a webapp, as application and presentation are coupled pretty tightly. Is this an absolutely required feature?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#3 User is offline   avelozgtz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 11-June 13

Posted 11 June 2013 - 04:08 PM

View PostDa:Sourcerer, on 11 June 2013 - 12:48 PM, said:

The concept behind this looks horribly unfit for a webapp, as application and presentation are coupled pretty tightly. Is this an absolutely required feature?



There is a second option, if this topology (3 tier) is not accomplish:

"Where vendor’s product solution architectures only support a 2-tier rather than 3-tier
model, a reverse proxy type arrangement should be implemented in tier 1 (the
outermost and usually the presentation layer) with the application’s presentation and
application layers in tier 2 leaving the database layer in tier 3 (the inner most layer)."

That I think is pretty the same that MVC pattern, but my doubt about it is to deploy the application in at least 2 servers.
0

#4 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 12 June 2013 - 05:42 AM

Well, that makes a bit more sense, but not a lot. Spreading over two servers is not an issue if the RDBMS of your choice is network-capable (i.e. it speaks tcp/ip or a comparable protocol). However, it is problematic to have presentation and application really separated as in webapps, the application is sending the entire presentational data to the client in order to be interpreted and rendered there. If I were you, I'd get back to whoever wrote that spec and demand clarification. It looks a lot like s/he hasn't got a lot of experience with designing web applications.

If you really need more security (or the impression of it), consider getting a web application firewall such as phpids or mod_security.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users