Code in the Cloud, Programming Google App Engine by Mark C. Chu-Carroll

By Mark C. Chu-Carroll

The most interesting fresh alterations within the computing global is cloud computing. Cloud computing is a dramatic shift in how purposes are constructed and used---and even in what functions are. With cloud computing, builders aren't any longer construction purposes that run on a user's computing device desktop. as an alternative, they're development prone at the community that may be utilized by hundreds of thousands of clients while. Cloud prone are a thrilling chance for builders: the cloud is a platform for developing providers, a brand new form of program which could achieve extra clients, and supply these clients with extra functions than a computing device software ever may possibly. construction purposes as cloud providers additionally makes them scalable: cloud purposes can simply and easily adapt from operating on a unmarried desktop for a unmarried person to operating on millions of pcs for hundreds of thousands of users.Code within the Cloud will train you what a cloud provider is, and the way it differs from conventional functions. it is going to provide help to construct a cloud provider, benefiting from the prone that AppEngine makes to be had to you, utilizing iterative improvement of an easy software to steer you thru the several facets of AppEngine improvement, utilizing both Python or Java. in the course of the technique of engaged on an easy program, you will find out about the way to construct an software as a carrier; the way to deal with chronic info utilizing AppEngine; the right way to construct dynamic, interactive consumer interfaces that run in a user's web-browser; find out how to deal with safety in an online program; and the way to engage with different companies working within the AppEngine cloud.

Show description

Read or Download Code in the Cloud, Programming Google App Engine PDF

Similar software development books

Software Engineering for Modern Web Applications: Methodologies and Technologies

As sleek corporations migrate from older info architectures to new Web-based platforms, the self-discipline of software program engineering is altering either by way of applied sciences and methodologies. there's a have to learn this new frontier from either a theoretical and pragmatic point of view, and supply not just a survey of latest applied sciences and methodologies yet discussions of the applicability and pros/cons of every.

Advances in Computers, Vol. 11

Given that its first quantity in 1960, Advances in desktops has awarded distinctive insurance of thoughts in and software program and in computing device thought, layout, and purposes. It has additionally supplied individuals with a medium within which they could research their topics in larger intensity and breadth than that allowed by means of common magazine articles.

Lean architecture for agile software development

An increasing number of Agile initiatives are searching for architectural roots as they fight with complexity and scale - and they are looking light-weight how you can do it nonetheless looking? during this book the authors help you in finding your individual direction Taking cues from Lean development, they may help steer your venture towards practices with longstanding song files Up-front structure?

Advances in Computers and Information in Engineering Research

This booklet sequence goals to catch advances in desktops and data in engineering study, particularly through researchers and contributors of ASME's desktops & info in Engineering (CIE) department. The books can be released in either conventional and booklet codecs. The sequence is targeting advances in computational equipment, algorithms, instruments, and techniques at the innovative of analysis and improvement as they've got developed and/or were suggested over the last 3 to 5 annual CIE meetings.

Extra resources for Code in the Cloud, Programming Google App Engine

Example text

We need to provide a way to do that. The easiest is to create a form in the page that’s sent when a user asks to view the chat room. So the chat page will have a title at the top, and then it will have a transcript of what’s in the room, and then, at the bottom, we’ll have an entry form that takes the user’s name and the message that the user wants to post. To implement this in App Engine, we need to build one RequestHandler that implements GET for the chat room content and then build another RequestHandler that receives the POSTs and adds things to the chat.

Imagine you’re using a chat room. What are the things that you want to be able to do? First of all, you want to see any new messages in the room. Translating that into HTTP, the room is a resource, and you want to see its contents. That naturally fits as a GET: you want your browser to retrieve the contents of the chat room and then show it to you. 0 printing, April, 2011) 45 M APPING C HAT INTO HTTP HTTP Status Codes The HTTP standard has an extensive list of status codes for server result messages.

Chat room users don’t want to have to constantly scroll through the messages they’ve seen before. Most of the time, they know what was said before and only want to see the latest messages. For example, they might want to only see the last twenty messages in the chat room, or they might want to only see messages posted within the last five minutes. Using GQL, it’s downright trivial to fix the verbosity issue by adding clauses to our GQL query. To see the twenty most recent messages, we can add a LIMIT clause, and to see the messages from the last five minutes, we can add a WHERE clause.

Download PDF sample

Rated 4.34 of 5 – based on 44 votes