YoVDO

Pjax and the Next Generation of Server-Side Web Frameworks - ETE 2012

Offered By: ChariotSolutions via YouTube

Tags

Web Frameworks Courses Web Development Courses User Experience Courses Django Courses AJAX Courses Server-Side Rendering Courses

Course Description

Overview

Explore the future of server-side web frameworks in this thought-provoking conference talk by Django co-creator Adrian Holovaty. Delve into the potential obsolescence of current frameworks and question the necessity of generating HTML from scratch for each page request. Discover how to automate new best practices like Pjax and learn about innovative solutions for multiple content boxes, context-switching, and auto-diffs via Ajax. Examine the benefits of passing HTML instead of structured data, and gain insights into implementing these concepts using Django middleware and template inheritance. Address challenges such as partial titles, nested template logic, and security concerns while considering the implications for developers across various frameworks, including Ruby on Rails.

Syllabus

EMERGING TECHNOLOGIES FOR THE ENTERPRISE CONFERENCE
Problem #1: Multiple content boxes
Context-switching
Computers should do this MON
Two pages, one system
The Solution
Auto diffs via Ajax
Support multiple content boxes
Support non-visible changes (JS!)
Respect URLs and permalinks
Bail if needed
Favor correctness, win devs' trust
Amaze
Why pass HTML instead of structured data?
Example
Find all on-site links
2. Set onclick
3. Django middleware
Overview
Two bits of MAGIC
Django template inheritance base.html
Basic diff using template inheritance
Template variables
Then it starts to get tricky...
How does the framework know this is a title?
Partial titles
Snippets in HTML tags
Hooking into the HTML: Option 2
Evil HTML snippets
Insertion types
Nested template logic
Template logic in crafty places
Removal of markup
Putting it all together
Security, part 1
Deferred loading
Template scanner


Taught by

ChariotSolutions

Related Courses

Apply advanced testing for your Django web application
Coursera Project Network via Coursera
APIs
Meta via Coursera
واجهات برمجة التطبيقات
Meta via Coursera
API
Meta via Coursera
Back-End Developer Capstone
Meta via Coursera