9 Jul 2015

Install Cake Php files Step by Step

Steps -

1. Download Composer.exe and install it on windows OS

 While Installing Composer please give the path of php.exe file
  where it prompt for selection of folder

(This php.exe file remain in xampp/php/php.exe)

. once composer installed,

Please run the following command for auto installation of files  in the project folder

2. Type the following command to create the project folder inside of  path: xampp/htdocs

composer create-project --prefer-dist cakephp/app [app_name]



(always keep command path to htdocs folder before write the above command on CMD)

3. Fix intl.dll configuration settings-

a. Uncomment intl.dll line in php.ini file (Path:  xampp/php/php.ini)

b. Copy all files from the (Path:  xampp/php/) starting by name iu*.dll  & paste it to Path: xampp/apache/bin/

5 Jul 2015

Angular JS a simple Application

Angular JS Application

 http://www.informit.com/articles/article.aspx?p=2271482&seqNum=9

http://www.informit.com/articles/article.aspx?p=2271482&seqNum=8

var firstApp = angular.module('firstApp', []); firstApp.controller('FirstController', function($scope) { $scope.first = 'Some'; $scope.last = 'One'; $scope.heading = 'Message: '; $scope.updateMessage = function() { $scope.message = 'Hello ' + $scope.first +' '+ $scope.last + '!'; }; });