Download presentation
Presentation is loading. Please wait.
1
269200 Web Programming Language
Week 14 Dr. Ken Cosh Angular.JS
2
So Far We’ve looked at HTML CSS PHP JQuery
3
This Week – Angular.JS A Framework for developing web applications
Free Open Source Based on MVC Architecture
4
A Framework? Abstraction providing generic functionality
Not a library! The framework dictates the flow of control, not the caller. Default behaviour Extensible
5
MVC? Model View Controller Software Architecture Pattern
“separates the representation of information from the user's interaction with it” The Observer Pattern is at it’s core.
6
MVC Model View Controller The model manages the state – data
Representing different views of the data Controller Controlling which views are shown
7
mod_rewrite (& .htaccess)
Depending on your setup, you may need to get mod_rewrite to work edit the httpd.conf What is mod_rewrite? Allows us to rewrite (change) the url…
8
.htaccess <IfModule mod_rewrite.c> RewriteEngine on
RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule>
9
Get Going… Watch the tutorials here:-
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.