Using Google App Engine开发(英文影印版)
基本信息
- 原书名: Using Google App Engine
- 原出版社: O'Reilly Media
- 作者: Charles Severance [作译者介绍]
- 丛书名: 南京东南大学出版社O'Reilly系列
- 出版社:东南大学出版社
- ISBN:9787564122683
- 上架时间:2010-9-15
- 出版日期:2010 年6月
- 开本:16开
- 页码:241
- 版次:1-1
- 所属分类:
计算机 > 软件与程序设计 > 移动开发 > 其他移动开发技术
推荐阅读
内容简介回到顶部↑
即便你在编程或者web开发方面只有很少或者没有任何经验,使用google app engine和这本书就能快速并且充满自信地构建那些激动人心的可扩展web应用。
app engine几乎是近年来最引人注目的web技术,它提供了一个简单易用的应用程序框架以及基本的web工具。尽管google自带的教程已经展示了主要的步骤,但是《google app engine开发》将会帮助任何人开始上手使用这个平台。读完本书你将学会如何构建完整的交互应用,并且将它们部署到和]google搜索引擎使用同样服务器的云中。
拥有这本书,你将会:纵览google app engine相关必备技术;学习如何使用python、html、层叠样式表(css)、http和idatastore(app engine的数据库);领会创建高级动态web应用的必备技术要点;掌握部署应用的前提要件。
《google app engine开发》同样也是那些想要获得web开发技能的资深程序员的极佳参考资源。构建web应用曾是专家们独占的领地,但自从有了google app engine和这本书,任何人都能创建一个动态web网站。
app engine几乎是近年来最引人注目的web技术,它提供了一个简单易用的应用程序框架以及基本的web工具。尽管google自带的教程已经展示了主要的步骤,但是《google app engine开发》将会帮助任何人开始上手使用这个平台。读完本书你将学会如何构建完整的交互应用,并且将它们部署到和]google搜索引擎使用同样服务器的云中。
拥有这本书,你将会:纵览google app engine相关必备技术;学习如何使用python、html、层叠样式表(css)、http和idatastore(app engine的数据库);领会创建高级动态web应用的必备技术要点;掌握部署应用的前提要件。
《google app engine开发》同样也是那些想要获得web开发技能的资深程序员的极佳参考资源。构建web应用曾是专家们独占的领地,但自从有了google app engine和这本书,任何人都能创建一个动态web网站。
目录回到顶部↑
preface
1. programming on the web
the request/response cycle
what is google app engine?
what is a "cloud"?
why did google build app engine and give it away for free?
what is the google infrastructure cloud?
enter the application engine
your application must be a good citizen in the google cloud
how the cloud runs your application
why you really want to run in the cloud
the simplest app engine application
summary
exercises
2. htmlandcss
a brief history of html and css
hypertext markup language (html)
a well-formed html document
validating your html
hypertext links (anchor tags)
1. programming on the web
the request/response cycle
what is google app engine?
what is a "cloud"?
why did google build app engine and give it away for free?
what is the google infrastructure cloud?
enter the application engine
your application must be a good citizen in the google cloud
how the cloud runs your application
why you really want to run in the cloud
the simplest app engine application
summary
exercises
2. htmlandcss
a brief history of html and css
hypertext markup language (html)
a well-formed html document
validating your html
hypertext links (anchor tags)
前言回到顶部↑
The greatest single reason that the World Wide Web has been so widely used and adopted is because individuals are allowed to participate in the Web. People can produce web content and create a MySpace page or home pages provided by their school or organization and contribute their creativity and content to the Web. Free services like Blogger, Flickr, Google Sites, Google Groups, and others have given us all an outlet for our creativity and presence on the Web--at no charge.
For most of the life of the Web, if you wanted to have your own rich software-backed website with data storage, your only choice was to purchase hosting services from an Internet Service Provider (ISP) and learn database management and a programming language like PHP to build or run your software. Learning and paying for this much technology was just beyond the reach of most web users, who simply had to accept the limited features of MySpace, Blogger, or whatever system hosted their web content. In April 2008, Google announced a product called App Engine. When you write a program for the Web that runs on App Engine, your software runs on the Google servers somewhere in the Google "cloud." It is as if you are a Google employee and you have access to the entire scalable Google infrastructure. App Engine captures much of Google's experience of building fast, reliable, and scalable websites, and through App Engine, Google is revealing many of the secrets about how its own applications scale to millions of users.
The most exciting part of the Google App Engine announcement is the fact that it is free for moderate levels of use. Every person with a Gmail account can have a number of free applications running on the Google infrastructure. If your application becomes extremely popular and your traffic goes above the allowed levels of the free account, you can pay to use more of Google's resources. As your application scales, Google engineers and operations staff take care of all the hardware, data storage, backup, and network provisioning for you.
The cost of purchasing resources from Google's cloud of servers is likely far less than purchasing/renting/maintaining the same amount of resources on your own. Google focuses on providing hardware and network; you focus on building your application and the user community around your application.
Maybe you could write the next Twitter, Craigslist, or del.icio.us. Maybe your idea will be the next big thing that will take off and you can "retire" on the revenue from Google AdWords. Or maybe you just want a site for your local off-road motorcycle club to publish its newsletter, share crash pictures, and maintain a mailing list.
Google App Engine removes the cost barrier from building and deploying software and data-backed websites and putting those sites into production. This book aims to make it easier for the average user to build and deploy basic websites using Google App Engine.
The hope is that literally millions of people from around the world will now be empowered to program on the Web. Who knows what creative applications will evolve in this new and exciting era?
Who Should Read This Book?
This book is aimed at anyone who wants to get started with Google App Engine. Perhaps you are a seasoned programmer with many other languages under your belt; perhaps you have played a bit with HTML and CSS, and you want to learn about software and data-backed websites by deploying your own site or application. It's written for anyone who wants to learn about this new and exciting capability previously reserved for the technical elite.
The book assumes no existing knowledge of programming or web technologies and is written in a way that is understandable to nonprogrammers. It starts from the beginning and covers all the necessary prerequisite technologies, including the Python programming language, HyperText Markup Language (HTML), Cascading Style Sheets (CSS), and the HyperText Transport Protocol (HTTP).
In fact, this book's secret plan is to transform someone from with no knowledge about web technologies into a fire-breathing web application developer in less than a week. By the end of this book, you will know at least enough about these web technologies to be dangerous to yourself and to others. You will have built and understood a fully working and deployed Google App Engine program that touches on all the major technical aspects of the App Engine environment, and you will be in an ideal position to extend your knowledge using Google's online materials or other books to dig more deeply into the subject.
What's in This Book?
This book uses a consistent example of a website with members and multiuser chat, which is built continuously throughout the book. The example is used to introduce topics from HTML and CSS all the way through using AJAX to update your pages dynamically without redrawing the entire screen.
Although I'll cover a lot of material, coverage is limited to include only the information that you need to know to build your application. Once you venture into building more sophisticated applications, you will need additional books and online resources on HTML, CSS, Python, jQuery, and JavaScript.
Chapters 1 through 4 cover the necessary background material in the web technologies that are brought together in the book. If you have experience with any of the topics in Chapters 1 through 4, you can safely skip those chapters (but they'll still be there in case you have a question or need a refresher).
Chapter 1, Programming on the Web
Programming in Google's production environment is different from running your own server or using a hosting account on an ISP. Google takes care of everything related to running your application in production. The trade-off is that you need to follow Google's rules and be a good citizen in Google's community of other applications. This chapter provides a description of the cloud and how it is different from being responsible for your own servers, plus it helps to explain some of the nuances of the App Engine environment.
Chapter 2, HTML and CSS
I assume that folks know the basics of HTML, but there are some important bits that must be covered so that your pages are nice and clean. In the last few years, the legacy browsers that did not support modern HTML and CSS have pretty much died out, so we can write simple and clean HTML and leave the formatting to CSS. I also explore how to validate your HTML and CSS and conform to the document ype (DOCTYPE). I talk about page layout using CSS and introduce a bit of the CSS block model so that you can make pretty web pages with simple navigation. If you have been learning HTML by viewing the source code of other people's MySpace pages, you probably need a refresher on the "modern" way to design pages using HTML and CSS.
Chapter 3, Python
For most of the life of the Web, if you wanted to have your own rich software-backed website with data storage, your only choice was to purchase hosting services from an Internet Service Provider (ISP) and learn database management and a programming language like PHP to build or run your software. Learning and paying for this much technology was just beyond the reach of most web users, who simply had to accept the limited features of MySpace, Blogger, or whatever system hosted their web content. In April 2008, Google announced a product called App Engine. When you write a program for the Web that runs on App Engine, your software runs on the Google servers somewhere in the Google "cloud." It is as if you are a Google employee and you have access to the entire scalable Google infrastructure. App Engine captures much of Google's experience of building fast, reliable, and scalable websites, and through App Engine, Google is revealing many of the secrets about how its own applications scale to millions of users.
The most exciting part of the Google App Engine announcement is the fact that it is free for moderate levels of use. Every person with a Gmail account can have a number of free applications running on the Google infrastructure. If your application becomes extremely popular and your traffic goes above the allowed levels of the free account, you can pay to use more of Google's resources. As your application scales, Google engineers and operations staff take care of all the hardware, data storage, backup, and network provisioning for you.
The cost of purchasing resources from Google's cloud of servers is likely far less than purchasing/renting/maintaining the same amount of resources on your own. Google focuses on providing hardware and network; you focus on building your application and the user community around your application.
Maybe you could write the next Twitter, Craigslist, or del.icio.us. Maybe your idea will be the next big thing that will take off and you can "retire" on the revenue from Google AdWords. Or maybe you just want a site for your local off-road motorcycle club to publish its newsletter, share crash pictures, and maintain a mailing list.
Google App Engine removes the cost barrier from building and deploying software and data-backed websites and putting those sites into production. This book aims to make it easier for the average user to build and deploy basic websites using Google App Engine.
The hope is that literally millions of people from around the world will now be empowered to program on the Web. Who knows what creative applications will evolve in this new and exciting era?
Who Should Read This Book?
This book is aimed at anyone who wants to get started with Google App Engine. Perhaps you are a seasoned programmer with many other languages under your belt; perhaps you have played a bit with HTML and CSS, and you want to learn about software and data-backed websites by deploying your own site or application. It's written for anyone who wants to learn about this new and exciting capability previously reserved for the technical elite.
The book assumes no existing knowledge of programming or web technologies and is written in a way that is understandable to nonprogrammers. It starts from the beginning and covers all the necessary prerequisite technologies, including the Python programming language, HyperText Markup Language (HTML), Cascading Style Sheets (CSS), and the HyperText Transport Protocol (HTTP).
In fact, this book's secret plan is to transform someone from with no knowledge about web technologies into a fire-breathing web application developer in less than a week. By the end of this book, you will know at least enough about these web technologies to be dangerous to yourself and to others. You will have built and understood a fully working and deployed Google App Engine program that touches on all the major technical aspects of the App Engine environment, and you will be in an ideal position to extend your knowledge using Google's online materials or other books to dig more deeply into the subject.
What's in This Book?
This book uses a consistent example of a website with members and multiuser chat, which is built continuously throughout the book. The example is used to introduce topics from HTML and CSS all the way through using AJAX to update your pages dynamically without redrawing the entire screen.
Although I'll cover a lot of material, coverage is limited to include only the information that you need to know to build your application. Once you venture into building more sophisticated applications, you will need additional books and online resources on HTML, CSS, Python, jQuery, and JavaScript.
Chapters 1 through 4 cover the necessary background material in the web technologies that are brought together in the book. If you have experience with any of the topics in Chapters 1 through 4, you can safely skip those chapters (but they'll still be there in case you have a question or need a refresher).
Chapter 1, Programming on the Web
Programming in Google's production environment is different from running your own server or using a hosting account on an ISP. Google takes care of everything related to running your application in production. The trade-off is that you need to follow Google's rules and be a good citizen in Google's community of other applications. This chapter provides a description of the cloud and how it is different from being responsible for your own servers, plus it helps to explain some of the nuances of the App Engine environment.
Chapter 2, HTML and CSS
I assume that folks know the basics of HTML, but there are some important bits that must be covered so that your pages are nice and clean. In the last few years, the legacy browsers that did not support modern HTML and CSS have pretty much died out, so we can write simple and clean HTML and leave the formatting to CSS. I also explore how to validate your HTML and CSS and conform to the document ype (DOCTYPE). I talk about page layout using CSS and introduce a bit of the CSS block model so that you can make pretty web pages with simple navigation. If you have been learning HTML by viewing the source code of other people's MySpace pages, you probably need a refresher on the "modern" way to design pages using HTML and CSS.
Chapter 3, Python
媒体评论回到顶部↑
“《GoogleApp Engine开发》使几乎不可能的事成为可能,帮助我这个老家伙学习一些难以置信的相关技术诀窍。我在过去整个职业生涯中一直想要更好地掌握Web开发,自从有了这本书,梦想终于成真。”
——Robert Glushko,学生,密歇根大学
——Robert Glushko,学生,密歇根大学







点击看大图


加载中...

