The document describes Yahoo Blueprint, a platform for simplifying mobile development. Blueprint is an XML markup language that abstracts developers from device details and allows focusing on the task. It can generate code for common mobile controls like maps, video, and location. Developers can use Blueprint to easily build mobile apps that run across different devices and platforms.
6. Enter Blueprint
• Blueprint is an XML markup
language, based on W3C XForms,
that allows us to quickly create
mobile websites that adapt
across devices
• Blueprint abstracts the
developer from the device
details and allows us to
concentrate on the task at hand
• You can generate Blueprint with
your favourite web framework
(PHP, Java, Python, Ruby,
LOLCode,…)
6
8. Even for some more complex things
<page>
<models>
<model> <content>
<instance> <module>
<locaLon‐data xmlns=quot;quot;> <block>Find the lowest
<search_locaLon /> gas prices in your
</locaLon‐data> neighborhood.</block>
</instance> <locaLon‐chooser
<submission method=quot;postquot; ref=quot;search_locaLonquot;>
resource=quot;...quot; /> <label>LocaLon:</label>
</model> </locaLon‐chooser>
</models> <submit>
<page‐header> <label>Find Gas
<masthead> StaLons</label>
<layout‐items> </submit>
<block class=quot;Ltlequot;>Gas </module>
Finder</block> </content>
</layout‐items> </page>
</masthead>
</page‐header>
8
9. So, how do I build my app?
• Get SDK
‐ hFp://mobile.yahoo.com/
developers
• Generate 2 code “facets”:
‐ Submission package
(to register the app in Yahoo)
‐ Server code
(lives in your own server)
11. Some details about the pieces…
• Submission package
‐ Includes config files, images and
metainformaLon
• Images
‐ Best results: upload them
‐ Must supply mulLple sizes
(<name>_<width>x<height>.<extension>)
‐ Just reference by name (<image
reference=quot;iconquot; size=quot;smallquot;/>)
• Server code
‐ Remember to set content type
applicaLon/x‐blueprint+xml
18. And if you are more curious…
• May be useful to check
the server headers
‐ Check
hFp://
developer.yahoo.com/
mobile/blueprint/
BP_HTTP_Headers.html for
a list of informaLon
‐ Some cache control headers
sLll apply
19. Think mobile
• Mobile is not just a smaller screen
• InformaLon where you need it
• Things you can only do now
• Instant communicaLon
• Gaming
• Sports
• Boldly go where nobody has gone
before! (as it turns out we haven’t
gone to many places)
19
20. And if I need more?
• Find our tools at
hFp://mobile.yahoo.com/
developers
• Our docs at
hFp://developer.yahoo.com/
mobile/blueprint/
• YDN forum at
hFp://developer.yahoo.net/forum/
index.php?showforum=94
• And of course, our own selves
somewhere around the hacking
area (close to the pizza)
20