web frameworks design comparison draft - please help me improve it focus on Model-View-Controller frameworks
|
|
|
- Patricia Lane
- 10 years ago
- Views:
Transcription
1 web frameworks design comparison draft - please help me improve it focus on Model-View-Controller frameworks
2 Controllers In Rails class MyTestController < ApplicationController def index render_text Hello World end end The name of the class has to match the name of the controller file.
3 Controllers In Django from django.http import HttpResponse def index(request): return HttpResponse("Hello World ) Django is explicit, you need to import all functions you use.
4 Controllers In Cherrypy and TurboGears 1.0 import cherrypy class def index(self): return "Hello World" Cherrypy, Turbogears, and Pylons are also explicit. You need to import all functions you want to use.
5 Controllers In web2py def index(): return "Hello World" web2py is similar to Rails. It imports for you all the web2py keyword. Often, like in this case, you do t need any.
6 Get/Post requests In Rails class MyTestController < ApplicationController def index render_text Hello +params[:who] end end GET and POST variables are passed via params but other request parameters (client ip for example) are passed via a different mechanism.
7 Get/Post requests In Django from django.http import HttpResponse def index(request): return HttpResponse("Hello World %s % \ request.request[ who ]) Nice, simple. The request contains all the info. You can use.get or.post instead of.request to be more specific.
8 Get/Post requests In Cherrypy and TurboGears 1.0 import cherrypy class def index(self,who): return "Hello %s" % who GET and POST variables are passed via arguments of the action, but other request parameters (client ip for example) are passed via a different mechanism.
9 Get/Post requests In web2py def index(): return "Hello %s" % request.vars.who Similar to Django. All request data is in one place. You can use.get_vars and.post_vars instead of.vars to be more specific.
10 Dispatching In Rails URL gets mapped into class MyTestController < ApplicationController def index render_text Hello World end end By default Rails does t allow running multiple apps without running multiple copies of Rails, since the name of the app is t in the URL, only the controller name (MyTest) and the action name (index) appear. This can be changed by configuring routes.
11 Dispatching In Django you need to edit url.py to map URLs into actions from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^index$', myapp.mycontroller.index), ) This is the equivalent of Rails routes and it requires using regular expressions. There is default. You need one entry in url.py for every action.
12 Dispatching In Cherrypy and TurboGears 1.0 import cherrypy class def index(self,who): return "Hello %s" % who Works very much like Rails and default mapping between URL and action can be overwritten.
13 Dispatching In web2py a URL like calls def index(): return "Hello %s" % request.vars.who Similar to Rails and Charrypy but, by default the URL requires that you specify the name of the app. This allows web2py to run multiple apps without using routes. Web2py has its own version of routes that supports two different syntaxes (with and without regular expression) to overwrite the mapping and reverse mapping as well.
14 Calling Views In Rails class MyTestController < ApplicationController def Hello World end end It calls the default view (MyTest/index) which renders the page. The variables marked are global vars and are passed to the view. Notice that if the view is t defined, this results in an error message.
15 Calling Views In Django from django.shortcuts import render_to_response def index(request): return render_to_response("index.html, { message : Hello World }) This is the short way of doing it in Django. You have to specify the view name index.html since there is default. Parameters are passed via a dictionary. You get an error message if the view is t defined. Notice that in Django a view is called a template and a controller is called a view.
16 Calling Views In TurboGears 1.0 with Cherrypy import turbogears from turbogears import controllers, expose class def index(self): return dict(message= Hello World ) The view is specified in the expose decorator.
17 Calling Views In web2py def index(): return dict(message= Hello World ) The last line works like Cherrypy but by default it looks for a view called mycontroller/index.html in myapp. If this view does t exist it uses a generic view to show all variables returned in the dictionary. The default can be overwritten with response.view= filename.html
18 Views In Rails <table> do recipe %> <tr> <td><%= recipe.name %></td> </tr> <% end %> </table> It allows full Ruby in views but: - it does t escape strings by default (unsafe) - <% %> requires a special editor since < > are special in HTML
19 Views In Django <table> {% for recipe in recipes %} <tr> <td>{{recipe.name}}</td> </tr> {% endfor %} </table> The choice of {% %} and {{ }} tags is good because any HTML editor can deal with them. The code looks like Python code but it is t (tice the endfor which is t a python keyword. This limits what you can do in views.
20 Views Kid or Genshi in TurboGears 1.0 or Cherrypy <html xmlns=" xmlns:py=" <table> <tr py:for="recipe in recipes" > <td py:content= recipe.name > </td> </tr> </table> This allows full Python quotes py:for=... but it can only be used to generate HTML/XML views, t dynamical JavaScript for example.
21 Views In web2py <table> {{for recipe in recipes:}}> <tr> <td>{{=recipe.name}}</td> </tr> {{pass}} </table> Similar to Django but full Python in the code (tice pass is a Python keyword) without indentation requirements (web2py indents the code for you at runtime). Only one type of escape sequence {{ }} which is transparent to all HTML editors. All string are escaped (unless otherwise specified, like in Django and Kid). It can be used to generate JavaScript (like Django and Rails).
22 Escaping in Views In Rails <%%= message> The double %% indicate the text has to be escaped. This is off by default, hence unsafe. Should be the opposite.
23 Escaping in Views In Django {% filter safe %} {{ message }} {% endfilter %} Since Django 1.0 all text is escaped by default. You mark it as safe if you do t want it to be escaped.
24 Escaping in Views Kid or Genshi in TurboGears 1.0 or Cherrypy <div py:content= XML(recipe.name) ></div> Text is escaped by default. If text should t be escaped it has to be marked with XML
25 Escaping in Views In web2py {{=XML(recipe.name,sanitize=False)}} Text is escaped by default. If text should t be escaped it has to be marked with XML. The optional sanitize option perform XML sanitization by selective escaping some tags and t others. Which tags have to be escaped and which tag attributes can be specified via arguments of XML.
26 Views Hierarchy In Rails <title>layout Example</title> <body> <%= yield %> </body> </html> and in controller: render :layout= filename.html.erb The rendered page is inserted in the <%= yield %> tag in the layout. One can include other views with <%= render... %> Notice that also :layout follow a naming convention and there is a default.
27 Views Hierarchy In Django <title>layout Example</title> </head> <body> {% block main %} {% endblock %} </body> </html> and in view: {%block main%}body{%endblock%} Views can be extended and included using blocks that have names.
28 Views Hierarchy Kid or Genshi in TurboGears 1.0 or Cherrypy <html xmlns=" xmlns:py=" py:extends="'master.kid'">...
29 Views Hierarchy In web2py <title>layout Example</title> <body> {{include}} </body> </html> and in view: {{extend layout.html }} body Notation similar to Rails but called like in Kid. The body replaces {{include}} in the layout. layouts can extend other layouts. Views can include other views.
30 Forms In Rails <%= form_tag :action => "update" dp %> Name: <%= text_field "item", "name" %><br /> Value: <%= text_field "item", "value" %><br /> <%= submit_tag %> <%= end %> Rails has helpers to create forms but that s it. As far as I kw there is standard mechanism to automatically create forms from models (database tables). Perhaps there are Rails add-on to do this. There is a mechanism to validate submitted forms.
31 Forms In Django # in model class ArticleForm(ModelForm): class Meta: model = Article # in controller def contact(request): if request.method == 'POST': form = ContactForm(request.POST) if form.is_valid(): return HttpResponseRedirect('/thanks/') else: form = ContactForm() # An unbound form return render_to_response('contact.html', { 'form': form,}) In Django, you can create a Form (ArticleForm) from a model (Article). The Form kws how to serialize itself and validate the input on selfsubmission, but the errors are t automatically inserted in the form.
32 Forms Kid or Genshi in TurboGears 1.0 or Cherrypy? I believe you need to use a library like ToscaWidgets. Sorry, I am t familiar with them. If you kw how to fill this page please let me kw.
33 Forms In web2py def contact(request): form = SQLFORM(Article) if form.accepts(request.vars): redirect('thanks') return dict(form=form) This is the same as the previous Django form (generated from the Article) model, except that when the form is serialized, if there are errors, they are displayed in the form itself (unless specified otherwise). Web2py forms can also prevent double submission.
34 Validation In Rails ActiveForm::Definition::create :article do f f.section :details do s s.text_element : ,:class => 'required' do e e.validates_as_ msg => 't ' end end Rails defines validators like requires, , etc. You can associate validators to a form. In your controllers you need to check if a form is valid, and, on error, alter the page to include the errors generated by validation.
35 Validation In Django from django.core.validators import * class Article(models.Model): = models. field( validator_list=[isvalid ]) Very much like Rails but more validators. Validators are specified in models and/or forms.
36 Validation In web2py db.define_table( Article,SQLField( )) db.article. .requires=is_ () Similar to Django and Rails because validators are attached to table fields and form fields but validators are classes t objects. This means they must be instantiated with (). You can pass arguments to the validators to change their behavior (for example the error message). The presence of validators affects the way a field is rendered in a form. For example IS_IN_SET() renders the field with a dropbox.
37 Models and Migrations In Rails class Article < ActiveRecord::Migration def self.up create_table :articles do t t.column :name, :string t.column :description, :text end end end In Rails there is a place to define tables that need to be created/deleted/ altered (migrations) and a different place to establish relations between tables (one to many, many to many, etc)
38 Models and Migrations In Django class Article(models.Model): name = models.stringfield() description = models.textfield() In Django there is one place where models are defined. If the tables do t exist they are created. Django does t do migrations (i.e. it does t alter or drop tables if the models change). For many to many relations, it creates the intermediate link table for you.
39 Models and Migrations In SQLAlchemy (used in TG and Pylons) from turbogears.database import metadata, mapper sqlalchemy import Table, Column, Integer mytable = Table('mytable', metadata, Column('id', Integer, primary_key=true)) class MyTable(object): pass mapper(mytable, mytable) SQLAlchemy makes a distinction between what tables are in the database and how they are mapped into Python objects. This is because SQLAchemy can deal with legacy databases. Rails, Django and web2py can but with limitations (in the case of web2py for example, tables must have an integer auto-increment key field called id ).
40 Models and Migrations In web2py Article=db.define_table( Article, SQLField( , string ), SQLField( description, text ) The syntax is a little different but the functionality is similar to Rails. If the the table in the model above does t exist it is created. If the model changes, web2py alters the table accordingly. One to many ad many to many relations are implied by reference fields.
41 Select Query In Rails Article.find(:first,:conditions => [ "id > :id AND name = :name", {:id => 3, :name => "test" }]) This is the most common tation for a select. The conditions argument is basically a SQL statement but the parameters are passed as additional arguments.
42 Select Query In Django Article.objects.filter(id gt=3,name= test ) id gt=3 reads id greater than 3. Django queries are lazy-evaluated.
43 Select Query In SQLAlchemy (used in TG and Pylons) query(article).filter_by(id>3, name= test )
44 Select Query In web2py db(article.id>3 and Article.name== test ).select() In web2py you always need to specify which db you are acting on because you can have multiple db connections in the same code.
45 Transcations In Rails class MyTestController < ApplicationController def index Record.transaction do... end end end
46 Transactions In Django from django.http import HttpResponse from django.db import def index(request):... return HttpResponse("Hello World ) There are multiple decorators: autocommit (commits always), commit_on_success (commit only if t Exception), commit_manually (requires calling) transaction.commit() or transaction.rollback()
47 Transactions In TurboGears import turbogears from turbogears import controllers, expose class def index(self):... return dict(message= Hello World ) By default all actions are enclosed in a transaction that commits on success and rollsback on exception.
48 Transactions In web2py def index()... return dict(message= Hello World ) By default all actions are enclosed in a transaction that commits on success and rollsback on exception.
49 Internationalization In Rails Rails currently doesn t offer any explicit support for internationalization. Perhaps it should, perhaps it s too app specific to generalize. Thinks will change in Rails 2.2 but here we talk about present, t future.
50 Internationalization In Django from django.http import HttpResponse from django.utils.translation import ugettext as _ def my_view(request): message = _("Hello World") return HttpResponse(message) Using _ is the common convention. Requires a few shell commands to build and edit the dictionaries.
51 Internationalization In TurboGears import turbogears from turbogears import controllers, expose class def index(self): message=_( Hello World ) return dict(message=message) As in the case of Django, this requires some shell commands to build and edit the dictionaries.
52 web2py vs Other Web Frameworks
53 Other Web Frameworks? j2ee PHP CakePHP Django Pylons Ruby on Rails (RoR)
54 Who s t in the list? TurboGears (because TG2 is t that different from Pylons+SQLAlchemy +Genshi) web.py, werkzeug, karrigell, psp, etc. (all excellent frameworks with their functionalities are too limited for a fair comparison)
55 Who s t in the list? Cherrypy (the cherrypy wsgiserver is included in web2py) j2ee (there are too many to choose) Zope (sorry, I do t understand Zope)
56 Underlying Language web2py python j2ee java PHP CakePHP Django Pylons RoR syntax draws upon C, Java, and Perl php python python ruby
57 Model View Controller web2py j2ee PHP CakePHP Django Pylons RoR
58 Model View Controller in web2py, given a model, the default controller appadmin.py provides a database administrative interface (each app has its own) in web2py, every controller function, by default, has a generic view
59 Model View Controller
60 Web Based Interface web2py j2ee PHP CakePHP Django Pylons RoR Django has a database administrative interface only t t an app development/management administrative interface like web2py. only at Heroku.com which, anyway, is very limited compared to the web2py one.
61 Web Based Interface The web2py web based administrative interface allows you to do development, debugging, testing, deployment, maintenance, and database administration. The use of the web based interface is optional and t required. The same functionality can be accessed via the Python shell.
62 Web Based Interface
63 Web Based Interface
64 Web Based Database Administrative Interface web2py one for every app j2ee via third party application PHP via third party application CakePHP via third party application Django Pylons via third party application RoR via third party application
65 Generic CRUD helpers/controllers web2py j2ee PHP CakePHP Django Pylons RoR
66 upload forms Only web2py and Django have a standard mechanism to handle file upload and secure storage. In case of the web2py the uploaded file is securely renamed, stored on disk and the name is store in the database. Upload is always done via streaming in order to handle large files.
67 Byte Code Compilation web2py j2ee PHP CakePHP there is a button [compile all] it compiles models, controllers and views Django it is always possible to bytecode compile python code, usually t the views/templates, but this is Pylons t as trivial as clicking on one button RoR
68 Byte Code Compilation web2py and j2ee are the only frameworks that allow to byte code compile applications and distribute them in closed source.
69 Ticketing System web2py j2ee PHP CakePHP Django Pylons RoR can be configured to send you an in case of error can be configured to send you an in case of error
70 Ticketing System web2py has t distinction between debugging and production modes. All uncaught exceptions are logged and a ticket is issued to the visitor in order to recover the associated log. Administrator can browse and read logs via the administrative interface
71 Zero Installation web2py j2ee PHP CakePHP Django Pylons RoR
72 Zero Installation The binary distributions of web2py (for Windows and Mac) package the interpreter, the SQLite database and the administrative interface. They require installation and can run off a USB drive.
73 Zero Configuration web2py j2ee PHP CakePHP Django Pylons RoR
74 Zero Configuration web2py has configuration file at the framework level. This ensures an easy setup and portability of applications. All other frameworks require some type of configuration. web2py applications can have configuration files.
75 Web Based Model Designer web2py on web page j2ee PHP CakePHP Django Pylons via CatWalk (SQLObjects only?) RoR
76 Web Based Model Designer
77 Web Based Testing web2py as web interface to DocTests j2ee PHP CakePHP Django Pylons RoR
78 Web Based Testing
79 Runs on Google App Engine web2py with some limitations j2ee PHP CakePHP Django but t the ORM Pylons but t all its components RoR
80 Runs on Google App Engine web2py is the only framework that allows to develop on your own platform and then run the app, unmodified on the Google App Engine (with the limitations imposed by the App Engine). No need to rewrite the model since the web2py database abstraction layer supports the Google Query Language.
81 Caching web2py for any function, you can specify whether to cache in ram, on disk, with memcache, or combinations. j2ee with third party components PHP memcache CakePHP memcache Django ram, disk, db, memcache Pylons ram, disk, db, memcache RoR memcache
82 Native Template Language web2py 100% Python with indentation need j2ee most common are XML or JSP PHP PHP is itself a template language CakePHP PHP Django Django Template Language Pylons Kid, Genshi, Mako, Cheetah, etc. RoR Ruby
83 Native Template Language Any Python Framework can use any Python-based Template Language (for example web2py can use Genshi, Pylons can use web2py s). The native web2py template language consists of pure code embedded in {{ }} tags inside HTML. Blocks end with pass, so indentation requirements.
84 Template Language web2py View Example: <html><body> {{for i in range(10):}} <b>hello number {{=i}}</b><br/> {{pass}} </body></html>
85 Template Extension web2py j2ee PHP CakePHP Django Pylons RoR
86 Template Extension web2py Example: {{extend layout.html }} <h1>hello world</h1> {{include sidebar.html }}
87 HTML Helpers web2py j2ee PHP CakePHP Django Pylons RoR
88 Internationalization web2py j2ee PHP CakePHP Django Pylons RoR
89 Internationalization In web2py, text is marked for translation using T( hello world ). Translations are edited via the provided administrative interface. It is possible to have variables in translations like in T( Hello %(name)s,dict(name= Massimo ))
90 Database Abstraction web2py j2ee limited to JavaBeans PHP CakePHP Django PearDB does t count because because it requires the developer to write SQL queries and has Object Relational Mapper Pylons via SQLAlchemy or SQLObjects RoR via ActiveRecords
91 Database Abstraction The web2py ORM works seamlessly with SQLite, MySQL, PostgreSQL, Oracle and on the Google App Engine (with the limitations imposed by the Google system)
92 Database Abstraction web2py example rows=db(db.user.birthday.year()>1950).select() equivalent Django example rows=user.objects.filter(birthday year gt=1950)
93 Left Outer Joins web2py j2ee n/a because ORM PHP n/a because ORM CakePHP n/a because ORM Django requires a custom Q object Pylons with SQLAlchemy, with SQLObjects RoR
94 Left Outer Joins All the Python ORMs have the ability to execute raw SQL therefore they allow allow LEFT OUTER JOIN although t in a SQL-dialect independent way
95 Automatic Migrations web2py j2ee PHP CakePHP Django Pylons RoR
96 Automatic Migrations In web2py if one changes the data model, it automatically and transparently generates and executes SQL to ALTER TABLEs. There is special command to type like in Rails.
97 Multiple Databases web2py j2ee PHP CakePHP Django but there is a branch that allows it Pylons RoR?
98 Multiple Databases In web2py table objects are attributes of a database connection therefore there is conflict if one establishes multiple connections. In other framework tables are represented by classes and there may be conflicts if two databases have tables with same name.
99 Distributed Transactions web2py with PostgreSQL only j2ee PHP CakePHP Django Pylons RoR
100 CRUD methods web2py j2ee via third party plugin PHP via third party plugin CakePHP Django Pylons RoR
101 Blocks SQL Injections web2py j2ee PHP CakePHP Django Pylons RoR up to the programmer to write secure code
102 Blocks Double Submit web2py j2ee PHP CakePHP Django Pylons RoR
103 Blocks Double Submit web2py provides methods to generate forms form database tables and automatically validates and processes forms on submission. It also injects a one-time token in each form to prevent double form submission and some reply attacks.
104 xmlrpc services web2py j2ee PHP CakePHP Django Pylons RoR
105 Included Ajax Library web2py jquery j2ee PHP CakePHP jquery Django Pylons RoR Scriptaculous
106 Included Ajax Library Any of the frameworks can use any third party Ajax libraries, here we are concerned with server-side programming only.
107 JSON support web2py simplejson is included j2ee PHP CakePHP Django simplejson is included Pylons simplejson is included RoR
108 File Streaming web2py by default for all static large files j2ee PHP CakePHP Django Pylons RoR t by default
109 IF_MODIFIED_SINCE web2py by default j2ee PHP CakePHP Django Pylons RoR t out of the box rely on web server for static content, requires programming otherwise
110 206 PARTIAL CONTENT web2py by default j2ee PHP CakePHP Django Pylons RoR t out of the box rely on web server for static content, requires programming otherwise
111 Handlers for Web Servers web2py is wsgi compliant. comes with the cherrypy wsgi fast and sslenbled web server. runs with apache and mod_proxy or mod_rewrite or mod_wsgi. runs with lightpd with FastCGI. runs as CGI script.
112 web2py Routes including reversed, with or without regex allows IP filtering j2ee delegated to web server PHP delegated to web server CakePHP reversed, IP filter Django uses regex, reversed routes, IP filter Pylons similar to rails RoR reversed routes? IP filter
113 Routes In web2py routes are optional and there is a default mapping between URLs and controllers (similar to Rails). IP filter is a web2py feature that allows to map URLs into controllers in a way that depends on the visitor IP pattern. In this way different visitors see different pages but the same URL.
114 Documentation web2py j2ee PHP CakePHP Django Pylons RoR 120 pages draft manual online, one book too many published books many published books online examples only three books online examples only many published books
115 Documentation Most of the frameworks, including web2py, have extensive online documentation Web2py also has a repository of free plugin applications including wikis, blogs, a chat line, an online store, log analyzer, and more.
116 Links to web2py FAQ: Free Apps:
Web Development Frameworks
COMS E6125 Web-enHanced Information Management (WHIM) Web Development Frameworks Swapneel Sheth [email protected] @swapneel Spring 2012 1 Topic 1 History and Background of Web Application Development
The Django web development framework for the Python-aware
The Django web development framework for the Python-aware Bill Freeman PySIG NH September 23, 2010 Bill Freeman (PySIG NH) Introduction to Django September 23, 2010 1 / 18 Introduction Django is a web
Ruby on Rails is a web application framework written in Ruby, a dynamically typed programming language The amazing productivity claims of Rails is
Chris Panayiotou Ruby on Rails is a web application framework written in Ruby, a dynamically typed programming language The amazing productivity claims of Rails is the current buzz in the web development
Outline. Lecture 18: Ruby on Rails MVC. Introduction to Rails
Outline Lecture 18: Ruby on Rails Wendy Liu CSC309F Fall 2007 Introduction to Rails Rails Principles Inside Rails Hello World Rails with Ajax Other Framework 1 2 MVC Introduction to Rails Agile Web Development
Ruby on Rails. Object Oriented Analysis & Design CSCI-5448 University of Colorado, Boulder. -Dheeraj Potlapally
Ruby on Rails Object Oriented Analysis & Design CSCI-5448 University of Colorado, Boulder -Dheeraj Potlapally INTRODUCTION Page 1 What is Ruby on Rails Ruby on Rails is a web application framework written
Modern Web Application Framework Python, SQL Alchemy, Jinja2 & Flask
Modern Web Application Framework Python, SQL Alchemy, Jinja2 & Flask Devert Alexandre December 29, 2012 Slide 1/62 Table of Contents 1 Model-View-Controller 2 Flask 3 First steps 4 Routing 5 Templates
Pentesting Web Frameworks (preview of next year's SEC642 update)
Pentesting Web Frameworks (preview of next year's SEC642 update) Justin Searle Managing Partner UtiliSec Certified Instructor SANS Institute [email protected] // @meeas What Are Web Frameworks Frameworks
Content Management Systems: Drupal Vs Jahia
Content Management Systems: Drupal Vs Jahia Mrudula Talloju Department of Computing and Information Sciences Kansas State University Manhattan, KS 66502. [email protected] Abstract Content Management Systems
Web Development with Flask and the Raspberry Pi Leading by Example CUAUHTEMOC CARBAJAL ITESM CEM 22/04/2014
Web Development with Flask and the Raspberry Pi Leading by Example CUAUHTEMOC CARBAJAL ITESM CEM 22/04/2014 Introduction Flask: lightweight web application framework written in Python and based on the
Evaluation. Chapter 1: An Overview Of Ruby Rails. Copy. 6) Static Pages Within a Rails Application... 1-10
Chapter 1: An Overview Of Ruby Rails 1) What is Ruby on Rails?... 1-2 2) Overview of Rails Components... 1-3 3) Installing Rails... 1-5 4) A Simple Rails Application... 1-6 5) Starting the Rails Server...
Ruby On Rails. CSCI 5449 Submitted by: Bhaskar Vaish
Ruby On Rails CSCI 5449 Submitted by: Bhaskar Vaish What is Ruby on Rails? Ruby on Rails is a web application framework written in Ruby, a dynamic programming language. Ruby on Rails uses the Model-View-Controller
Pillars of Python: Six Python Web frameworks compared
Published on InfoWorld (http://www.infoworld.com) Home > Test Center > Application Development > Pillars of : Six Web frameworks... > Pillars of : Six Web frameworks compared Pillars of : Six Web frameworks
Slides from INF3331 lectures - web programming in Python
Slides from INF3331 lectures - web programming in Python Joakim Sundnes & Hans Petter Langtangen Dept. of Informatics, Univ. of Oslo & Simula Research Laboratory October 2013 Programming web applications
Web Frameworks. web development done right. Course of Web Technologies A.A. 2010/2011 Valerio Maggio, PhD Student Prof.
Web Frameworks web development done right Course of Web Technologies A.A. 2010/2011 Valerio Maggio, PhD Student Prof.ssa Anna Corazza Outline 2 Web technologies evolution Web frameworks Design Principles
This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.
20486B: Developing ASP.NET MVC 4 Web Applications Course Overview This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications. Course Introduction Course Introduction
CS169.1x Lecture 5: SaaS Architecture and Introduction to Rails " Fall 2012"
CS169.1x Lecture 5: SaaS Architecture and Introduction to Rails " Fall 2012" 1" Web at 100,000 feet" The web is a client/server architecture" It is fundamentally request/reply oriented" Web browser Internet
Ruby on Rails. a high-productivity web application framework. blog.curthibbs.us/ http://blog. Curt Hibbs <[email protected]>
Ruby on Rails a high-productivity web application framework http://blog blog.curthibbs.us/ Curt Hibbs Agenda What is Ruby? What is Rails? Live Demonstration (sort of ) Metrics for Production
Rapid Application Development. and Application Generation Tools. Walter Knesel
Rapid Application Development and Application Generation Tools Walter Knesel 5/2014 Java... A place where many, many ideas have been tried and discarded. A current problem is it's success: so many libraries,
Requirements Design Implementation. Software Architectures. Components Software Component Architecture. DSSA: Domain-Specific Software Architectures
Frameworks 1. Objectives... 2 2. Frameworks... 3 3. Classification... 3 4. Example: Components for Java (BC4J)... 6 5. Existing Frameworks... 9 6. Presistence Frameworks... 11 7. Content Management System
What s really under the hood? How I learned to stop worrying and love Magento
What s really under the hood? How I learned to stop worrying and love Magento Who am I? Alan Storm http://alanstorm.com Got involved in The Internet/Web 1995 Work in the Agency/Startup Space 10 years php
<Insert Picture Here> Michael Hichwa VP Database Development Tools [email protected] Stuttgart September 18, 2007 Hamburg September 20, 2007
Michael Hichwa VP Database Development Tools [email protected] Stuttgart September 18, 2007 Hamburg September 20, 2007 Oracle Application Express Introduction Architecture
10CS73:Web Programming
10CS73:Web Programming Question Bank Fundamentals of Web: 1.What is WWW? 2. What are domain names? Explain domain name conversion with diagram 3.What are the difference between web browser and web server
Introduction to Django Web Framework
Introduction to Django Web Framework Web application development seminar, Fall 2007 Jaakko Salonen Jukka Huhtamäki 1 http://www.djangoproject.com/ Django
Instructor: Betty O Neil
Introduction to Web Application Development, for CS437/637 Instructor: Betty O Neil 1 Introduction: Internet vs. World Wide Web Internet is an interconnected network of thousands of networks and millions
DreamFactory & Modus Create Case Study
DreamFactory & Modus Create Case Study By Michael Schwartz Modus Create April 1, 2013 Introduction DreamFactory partnered with Modus Create to port and enhance an existing address book application created
Elgg 1.8 Social Networking
Elgg 1.8 Social Networking Create, customize, and deploy your very networking site with Elgg own social Cash Costello PACKT PUBLISHING open source* community experience distilled - BIRMINGHAM MUMBAI Preface
Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner
1 vk» Java 7 Recipes (,\['«** - < g!p#«josh Juneau Carl Dea Freddy Guime John O'Conner Contents J Contents at a Glance About the Authors About the Technical Reviewers Acknowledgments Introduction iv xvi
Cyber Security Challenge Australia 2014
Cyber Security Challenge Australia 2014 www.cyberchallenge.com.au CySCA2014 Web Penetration Testing Writeup Background: Pentest the web server that is hosted in the environment at www.fortcerts.cysca Web
BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME
BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME System Analysis and Design S.Mohammad Taheri S.Hamed Moghimi Fall 92 1 CHOOSE A PROGRAMMING LANGUAGE FOR THE PROJECT 2 CHOOSE A PROGRAMMING LANGUAGE
latest Release 0.2.6
latest Release 0.2.6 August 19, 2015 Contents 1 Installation 3 2 Configuration 5 3 Django Integration 7 4 Stand-Alone Web Client 9 5 Daemon Mode 11 6 IRC Bots 13 7 Bot Events 15 8 Channel Events 17 9
Progressive Enhancement With GQuery and GWT. Ray Cromwell [email protected]
Progressive Enhancement With GQuery and GWT Ray Cromwell [email protected] Web Application Models Web 1.0, 1 Interaction = 1 Page Refresh Pure JS, No Navigation Away from Page Mixed Model, Page Reloads
Layers of Caching: Key to scaling your website. Lance Albertson -- [email protected] Narayan Newton [email protected]
Layers of Caching: Key to scaling your website Lance Albertson -- [email protected] Narayan Newton [email protected] Importance of Caching RAM is fast! Utilize resources more efficiently Improve
Developing ASP.NET MVC 4 Web Applications MOC 20486
Developing ASP.NET MVC 4 Web Applications MOC 20486 Course Outline Module 1: Exploring ASP.NET MVC 4 The goal of this module is to outline to the students the components of the Microsoft Web Technologies
A Model of the Operation of The Model-View- Controller Pattern in a Rails-Based Web Server
A of the Operation of The -- Pattern in a Rails-Based Web Server January 10, 2011 v 0.4 Responding to a page request 2 A -- user clicks a link to a pattern page in on a web a web application. server January
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
Using Python, Django and MySQL in a Database Course
Using Python, Django and MySQL in a Database Course Thomas B. Gendreau Computer Science Department University of Wisconsin - La Crosse La Crosse, WI 54601 [email protected] Abstract Software applications
Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY
Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every
Rails Cookbook. Rob Orsini. O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo
Rails Cookbook Rob Orsini O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo Table of Contents Foreword : ; xi Preface ; ;... xiii 1. Getting Started 1 1.1 Joining the Rails Community
Portals and Hosted Files
12 Portals and Hosted Files This chapter introduces Progress Rollbase Portals, portal pages, portal visitors setup and management, portal access control and login/authentication and recommended guidelines
Web Application Frameworks. Robert M. Dondero, Ph.D. Princeton University
Web Application Frameworks Robert M. Dondero, Ph.D. Princeton University 1 Objectives You will learn about: The Django web app framework Other MVC web app frameworks (briefly) Other web app frameworks
Developing ASP.NET MVC 4 Web Applications
Course M20486 5 Day(s) 30:00 Hours Developing ASP.NET MVC 4 Web Applications Introduction In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5 tools
ARM-BASED PERFORMANCE MONITORING FOR THE ECLIPSE PLATFORM
ARM-BASED PERFORMANCE MONITORING FOR THE ECLIPSE PLATFORM Ashish Patel, Lead Eclipse Committer for ARM, IBM Corporation Oliver E. Cole, President, OC Systems, Inc. The Eclipse Test and Performance Tools
Beyond The Web Drupal Meets The Desktop (And Mobile) Justin Miller Code Sorcery Workshop, LLC http://codesorcery.net/dcdc
Beyond The Web Drupal Meets The Desktop (And Mobile) Justin Miller Code Sorcery Workshop, LLC http://codesorcery.net/dcdc Introduction Personal introduction Format & conventions for this talk Assume familiarity
A Tool for Evaluation and Optimization of Web Application Performance
A Tool for Evaluation and Optimization of Web Application Performance Tomáš Černý 1 [email protected] Michael J. Donahoo 2 [email protected] Abstract: One of the main goals of web application
Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON
Revista Informatica Economică, nr. 4 (44)/2007 45 Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON Iulian ILIE-NEMEDI, Bucharest, Romania, [email protected] Writing a custom web
Example. Represent this as XML
Example INF 221 program class INF 133 quiz Assignment Represent this as XML JSON There is not an absolutely correct answer to how to interpret this tree in the respective languages. There are multiple
Using Toaster in a Production Environment
Using Toaster in a Production Environment Alexandru Damian, David Reyna, Belén Barros Pena Yocto Project Developer Day ELCE 17 Oct 2014 Introduction Agenda: What is Toaster Toaster out of the box Toaster
2013 Ruby on Rails Exploits. CS 558 Allan Wirth
2013 Ruby on Rails Exploits CS 558 Allan Wirth Background: Ruby on Rails Ruby: Dynamic general purpose scripting language similar to Python Ruby on Rails: Popular Web app framework using Ruby Designed
The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.
Content Introduction... 2 Data Access Server Control Panel... 2 Running the Sample Client Applications... 4 Sample Applications Code... 7 Server Side Objects... 8 Sample Usage of Server Side Objects...
DIPLOMA IN WEBDEVELOPMENT
DIPLOMA IN WEBDEVELOPMENT Prerequisite skills Basic programming knowledge on C Language or Core Java is must. # Module 1 Basics and introduction to HTML Basic HTML training. Different HTML elements, tags
COS 333: Advanced Programming Techniques
COS 333: Advanced Programming Techniques How to find me bwk@cs, www.cs.princeton.edu/~bwk 311 CS Building 609-258-2089 (but email is always better) TA's: Stephen Beard, Chris Monsanto, Srinivas Narayana,
Business Application Development Platform
Business Application Development Platform Author Copyright Last update Version Document type Sclable Business Solutions GmbH Attribution-NonCommercial-NoDerivatives 4.0 International 01/28/2014 1.0 Technical
HOSTING PYTHON WEB APPLICATIONS. Graham Dumpleton PyCon Australia Sydney 2011
HOSTING PYTHON WEB APPLICATIONS Graham Dumpleton PyCon Australia Sydney 2011 WEB APPLICATIONS Only a few well known Python web applications. WEB FRAMEWORKS Many Python web frameworks for building your
Sisense. Product Highlights. www.sisense.com
Sisense Product Highlights Introduction Sisense is a business intelligence solution that simplifies analytics for complex data by offering an end-to-end platform that lets users easily prepare and analyze
General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support
General principles and architecture of Adlib and Adlib API Petra Otten Manager Customer Support Adlib Database management program, mainly for libraries, museums and archives 1600 customers in app. 30 countries
J j enterpririse. Oracle Application Express 3. Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX
Oracle Application Express 3 The Essentials and More Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX Arie Geller Matthew Lyon J j enterpririse PUBLISHING BIRMINGHAM
Ruby on Rails Secure Coding Recommendations
Introduction Altius IT s list of Ruby on Rails Secure Coding Recommendations is based upon security best practices. This list may not be complete and Altius IT recommends this list be augmented with additional
Drupal CMS for marketing sites
Drupal CMS for marketing sites Intro Sample sites: End to End flow Folder Structure Project setup Content Folder Data Store (Drupal CMS) Importing/Exporting Content Database Migrations Backend Config Unit
SQL Injection. The ability to inject SQL commands into the database engine through an existing application
SQL Injection The ability to inject SQL commands into the database engine through an existing application 1 What is SQL? SQL stands for Structured Query Language Allows us to access a database ANSI and
Content Management Systems: Drupal Vs Jahia
Content Management Systems: Drupal Vs Jahia Mrudula Talloju Department of Computing and Information Sciences Kansas State University Manhattan, KS 66502. [email protected] Abstract Content Management Systems
FileMaker 12. ODBC and JDBC Guide
FileMaker 12 ODBC and JDBC Guide 2004 2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
Bubble Code Review for Magento
User Guide Author: Version: Website: Support: Johann Reinke 1.1 https://www.bubbleshop.net [email protected] Table of Contents 1 Introducing Bubble Code Review... 3 1.1 Features... 3 1.2 Compatibility...
tibbr Now, the Information Finds You.
tibbr Now, the Information Finds You. - tibbr Integration 1 tibbr Integration: Get More from Your Existing Enterprise Systems and Improve Business Process tibbr empowers IT to integrate the enterprise
Pete Helgren [email protected]. Ruby On Rails on i
Pete Helgren [email protected] Ruby On Rails on i Value Added Software, Inc 801.581.1154 18027 Cougar Bluff San Antonio, TX 78258 www.valadd.com www.petesworkshop.com (c) copyright 2014 1 Agenda Primer on
An introduction to creating JSF applications in Rational Application Developer Version 8.0
An introduction to creating JSF applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Although you can use several Web technologies to create
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
A Plan for the Continued Development of the DNS Statistics Collector
A Plan for the Continued Development of the DNS Statistics Collector Background The DNS Statistics Collector ( DSC ) software was initially developed under the National Science Foundation grant "Improving
Mobile development with Apache OFBiz. Ean Schuessler, co-founder @ Brainfood
Mobile development with Apache OFBiz Ean Schuessler, co-founder @ Brainfood Mobile development For the purposes of this talk mobile development means mobile web development The languages and APIs for native
Sitemap. Component for Joomla! This manual documents version 3.15.x of the Joomla! extension. http://www.aimy-extensions.com/joomla/sitemap.
Sitemap Component for Joomla! This manual documents version 3.15.x of the Joomla! extension. http://www.aimy-extensions.com/joomla/sitemap.html Contents 1 Introduction 3 2 Sitemap Features 3 3 Technical
Database Management System Choices. Introduction To Database Systems CSE 373 Spring 2013
Database Management System Choices Introduction To Database Systems CSE 373 Spring 2013 Outline Introduction PostgreSQL MySQL Microsoft SQL Server Choosing A DBMS NoSQL Introduction There a lot of options
Java with Eclipse: Setup & Getting Started
Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/
Introduction to FreeNAS development
Introduction to FreeNAS development John Hixson [email protected] ixsystems, Inc. Abstract FreeNAS has been around for several years now but development on it has been by very few people. Even with corporate
Web [Application] Frameworks
Web [Application] Frameworks conventional approach to building a web service write ad hoc client code in HTML, CSS, Javascript,... by hand write ad hoc server code in [whatever] by hand write ad hoc access
Architecture and Mode of Operation
Open Source Scheduler Architecture and Mode of Operation http://jobscheduler.sourceforge.net Contents Components Platforms & Databases Architecture Configuration Deployment Distributed Processing Security
<Insert Picture Here> Oracle Application Express 4.0
Oracle Application Express 4.0 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any
Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009
Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009 Richard Lyn [email protected] Jianwei Yang [email protected] Document Revision History Rev. Level Date
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
How to Design and Create Your Own Custom Ext Rep
Combinatorial Block Designs 2009-04-15 Outline Project Intro External Representation Design Database System Deployment System Overview Conclusions 1. Since the project is a specific application in Combinatorial
FileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
Mojolicious. Marcos Rebelo ([email protected])
Mojolicious Marcos Rebelo ([email protected]) Mojolicious An amazing real-time web framework supporting a simplified single file mode through Mojolicious::Lite. Very clean, portable and Object Oriented
File S1: Supplementary Information of CloudDOE
File S1: Supplementary Information of CloudDOE Table of Contents 1. Prerequisites of CloudDOE... 2 2. An In-depth Discussion of Deploying a Hadoop Cloud... 2 Prerequisites of deployment... 2 Table S1.
Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led
Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5
HTML5. Turn this page to see Quick Guide of CTTC
Programming SharePoint 2013 Development Courses ASP.NET SQL TECHNOLGY TRAINING GUIDE Visual Studio PHP Programming Android App Programming HTML5 Jquery Your Training Partner in Cutting Edge Technologies
TIBCO ActiveMatrix BusinessWorks Plug-in for Big Data User s Guide
TIBCO ActiveMatrix BusinessWorks Plug-in for Big Data User s Guide Software Release 1.0 November 2013 Two-Second Advantage Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE.
Rapid Website Deployment With Django, Heroku & New Relic
TUTORIAL Rapid Website Deployment With Django, Heroku & New Relic by David Sale Contents Introduction 3 Create Your Website 4 Defining the Model 6 Our Views 7 Templates 7 URLs 9 Deploying to Heroku 10
Building and Deploying Web Scale Social Networking Applications Using Ruby on Rails and Oracle. Kuassi Mensah Group Product Manager
Building and Deploying Web Scale Social Networking Applications Using Ruby on Rails and Oracle Kuassi Mensah Group Product Manager The following is intended to outline our general product direction. It
Web Application Development and Frameworks
Web Application Development and Frameworks Student: Abdullah Mamun (Mamun) Spring 2008 April 18, 2008 Mamun: COMS E6125 1 Introduction Web application and frameworks Exponential growth of human s dependency
