CakePHP interview questions and answers

CakePHP  is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc. Question: What are the drawbacks of cakephp? Answer : The learning curve, and it loads full application before it starts your task. Its […]

AngularJS services

AngularJs services are javaScript function that perform a specific tasks only. Using dependency injection mechanism services are normally attached. AngularJS provides some build in services i.e. $http, $route, $window, $location etc where each service is responsible for different tasks. For example, $http is used for ajax call, $route is for routing information. There are two […]

Components of KnockoutJS

Components are way of organizing the UI code for structure wise and promote code re-usability for a large application. Components can be registered using the ko.components.register() API. ko.components.register(‘componentname’, { viewModel: {…}, template: {….) }); <!DOCTYPE html> <head> <title>Components of KnockoutJS</title> <script src=”https://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min.js”></script> </head> <body> <h4>Example 1: without parameters</h4> <div data-bind=’component: “example-editor”‘></div> <h4>Example 2: passing parameters</h4> […]