Yii Framework Forum: Yii And Service Oriented Architecture - Yii Framework Forum

Jump to content

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

Yii And Service Oriented Architecture Is this good choice? Rate Topic: -----

#1 User is offline   nicolasxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 31-December 12

Posted 31 December 2012 - 12:16 PM

Hi,
I am evaluating the an architecture for a web application. The app is dealing with invoice, payment, approval, and integrating to Quickbooks.
Is this a good idea to use Service Oriented Architecture on top of Yii Framework?
please google "Service Oriented Architecture wiki". Yii Forum doesn't allow me to embed link in this post.

The idea is to use back-end(yii) to send JSON encoded data to front-end only, and use jQuery and HTML at front-end to display all the data. Does it conflict the MVC architecture that Yii is using? If not, how do I implement the view file?

I found this 2-year old post: Please search "service oriented application with yii"
but the answer is still not clear to me.

Please help! Thank you very much!

- Nick
0

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 31 December 2012 - 12:21 PM

Enjoy:

https://github.com/c...boneBoilerplate

:)
"Less noise - more signal"
0

#3 User is offline   nicolasxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 31-December 12

Posted 31 December 2012 - 01:18 PM

"You may be thinking that Yii is too powerful to be used just as a RESTful service. That for this purpose it could be done with NodeJS or any of the other libraries available, but it is the power of Yii and for the sake of application scalability that we decided to use it."

I still couldn't understand how does MVC work together with Restful Web Service. Can you help me explain?

Thanks!
0

#4 User is offline   nicolasxu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 31-December 12

Posted 31 December 2012 - 01:24 PM

"Backbone is an incredibly small library for the amount of functionality and structure it gives you. It is essentially MVC for the client and allows you to make your code modular. "

Backbone.js is a MVC and Yii is also a MVC. How do these two MVCs work together?
0

#5 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 31 December 2012 - 01:35 PM

That's really Google questions, don't you think?

Just forget about the buzz words and take a look at the code I linked to. ;)
"Less noise - more signal"
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