Download presentation
Presentation is loading. Please wait.
Published byNieves Salas Núñez Modified over 6 years ago
1
Web Tools A Technical Perspective Tim Bornholtz
2
RSS XML file published to a web site
Aggregators periodically retrieve your file (This is slightly different than I said in the business session)
3
RSS – Versions Owner Pros Status Recommendation Version RSS 0.91
UserLand Very simple Officially obsolete by 2.0 but still widely used Use for basic syndication RSS 1.0 RSS-DEV Working Group RDF based Stable core Use for RDF-based applications RSS 2.0 Easy migration from 0.9x, widely accepted Stable core, active module development Use for general purpose metadata rich syndication Atom 1.0 IETF (RFC 4287) Open standard, widely accepted Official IETF standard Use whenever possible
4
RSS 2.0 vs Atom RSS 2.0 Plaintext or escaped HTML (no way to signify which) RFC 822 date format US ASCII only More widely adopted Atom Explicitly set content type (plain text, escaped HTML, XHTML, XML, and binary) RFC 3339 date format (XML standard) Supports Unicode Not as widely adopted but more flexible
5
<?xml version="1.0"?> <rss version="2.0"> <channel> <title>Sample Feed</title> <link> <description>Current news entries</description> <language>en-us</language> <pubDate>Tue, 27 Apr :00:00 GMT</pubDate> <item> <title>Article Title</title> <link> <description>As much of the article as you wish to display here</description> <pubDate>Tue, 26 Apr :39:21 GMT</pubDate> <guid> </item> </channel> </rss>
6
How to implement Determine the content Generate the XML feed
Assign a well recognized URL Post the RSS feed on your website Use common images for linking Modify existing HTML to include link to feed <link rel="alternate" type="application/atom+xml" title=“Atom Feed" href=“feed/atom" /> <link rel="alternate" type="application/rss+xml" title="RSS Feed" href=“/feed/rss" />
7
Developer Tools Source Code Tools publish RSS Project Management Tools
Calendar RSS with every milestone RSS with all recent activities Bug tracking tools RSS for my outstanding bugs
8
Web sites as web services
Website APIs – Usually REST based but many are SOAP based Unstructured information gives way to structured information Google, Yahoo!, MSN Live, Amazon, YouTube, and many more
11
Hotjobs RSS feed
13
Google code sample
14
Mashups Using the APIs of two or more sites to create a new site
Yahoo! Pipes At this point it is more of a curiosity and a collection of interesting ideas than a business driver.
15
Mobile Web Browsers Many Ajax calls will not work on a mobile phone
<link href="/css/screen.css" media="screen" rel="Stylesheet" type="text/css" /> <link href="/css/hh.css" media="handheld" rel="Stylesheet" type="text/css" /> Many Ajax calls will not work on a mobile phone Section 508 compliant web sites require very little changes to work on a mobile phone
16
Considering dynamic languages
Many recent improvements in web frameworks Ruby on Rails, PHP, Python Designed specifically for developing web sites Quick development speed Long term maintainability
17
"Jesus reflected on his situation and felt irrepressible sadness
"Jesus reflected on his situation and felt irrepressible sadness. His tear-ducts filled to a point where they could hold no longer and had to be released."
18
"Jesus reflected on his situation and felt irrepressible sadness
"Jesus reflected on his situation and felt irrepressible sadness. His tear-ducts filled to a point where they could hold no longer and had to be released." Vs “Jesus wept.”
19
Source: http://www. tbray
20
Ruby on Rails Ruby is the programming language
Pure object oriented Interpreted scripting language Loosely typed language Rails is the web framework Full stack framework Model-View-Controller pattern Ajax built in
21
Ruby on Rails Benefits Vastly reduced code footprint
Zero configuration DRY – Don’t Repeat Yourself Rapid development methodology Ajax UI support IDE automation not required Open source Integrated testing
22
Ruby on Rails Cautions Relatively new framework
Difficult to retrofit to existing database schemas The Rails way or the wrong way – no middle ground
23
Rails demo
24
Questions Tim Bornholtz tim@bornholtz.com http://www.bornholtz.com
(540)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.