70308

Yii and Knockout Together? [closed]

Question:

I am trying to decide on a set of tools to use for a new web app I am going to build.

I want it to be really interactive and work using Ajax (i.e. no page refreshes etc). It will also have a UI for mobile devices like the iPhone

I want to implement it using PHP, MySQL and JavaScript, mainly because its what I know and I can easily host it somewhere

Does anyone have any views on what tools I should use?

At the moment I am thinking: - for PHP - Yii - for Javascript - Knockout.js and jQuery - for Mobile - jQuery for mobile

My only concern is using Yii and Knockout together, is it a bit overkill with two MVC frameworks?

Should I also be looking at HTML5 more?

Answer1:

Knockout is client side, and it is MVVM - Model-View-View-Model. You could update Knockout models via AJAX json from Yii controller, and knockout will update user interface accordingly.

Recommend

  • cordova build android throws error on Ubuntu 12.04
  • Unique SMS sender id?
  • jQueryMobile, Ajax Navigation, and MVC
  • Which browser have this strange user agent? (IOS device)
  • include dlls in visual studio c++ 2008
  • Getting error 'Cannot read property 'document' of undefined' while importing exp
  • R Split data.frame using a column that represents and on/off switch
  • How to get latest version of a artifact on Bintray using JSONP
  • Hide HTML elements without javascript, only CSS
  • How to synchronize jQuery dialog box to act like alert() of Javascript
  • MYSQ & MVC3 SQL connection error \\ ProviderManifestToken but I am using MySQL
  • UWP/C# - Issue with AQS and USB Devices
  • Angularjs pass function from Controller to Directive (or call controller function from directive) -
  • IE7 and TinyMCE with Plone
  • How to make jdk.nashorn.api.scripting.JSObject visible in plugin [duplicate]
  • How does document.ready work with angular element directives?
  • SharedPreferences or SQLite Database?
  • Zurb Foundation _global.scss meta styles for js?
  • Django simple Captcha “No module named fields” error
  • jQuery ready not fired after rails link_to is clicked
  • Moving mysql files across servers
  • Atlas images wrong size on iPad iOS 9
  • Q promise. Difference between .when and .then
  • Projection media query: browser support and workarounds?
  • C# - Serializing and deserializing static member
  • HTML download movie download link
  • Bug in WPF DataGrid
  • Updating server-side rendering client-side
  • Incrementing object id automatically JS constructor (static method and variable)
  • How to check if every primary key value is being referenced as foreign key in another table
  • Upload files with Ajax and Jquery
  • Do I've to free mysql result after storing it?
  • WOWZA + RTMP + HTML5 Playback?
  • Traverse Array and Display in markup
  • Comma separated Values
  • A cron job substitute?
  • json Serialization in asp
  • NSLayoutConstraint that would pin a view to the bottom edge of a superview
  • How to set the response of a form post action to a iframe source?
  • Setting background image for body element in xhtml (for different monitors and resolutions)