Skip to Main Content
Secure Development for Mobile Apps
book

Secure Development for Mobile Apps

by J. D. Glaser
October 2014
Intermediate to advanced content levelIntermediate to advanced
472 pages
10h 44m
English
Auerbach Publications
Content preview from Secure Development for Mobile Apps
92
seCure develoPment For mobIle APPs
HTML Templating Support
HTML templating is one of the primary ways to separate PHP from HTML and
help isolate output into the HTML. Two goals are achieved by this. e first is clear
separation of concerns, which makes maintenance easier. e second is that visual
inspection from a security standpoint is greatly improved, making it much easier to
identify both where are and what kind of context data is being output to.
PHP Heredoc e PHP heredoc is a built-in language construct that can be very
effective in separating PHP from HTML. An example looks like this:
$message = <<<ACTIVATIONEMAIL
Hello {$user},
Thanks for creating an account with us!
Your account has been created.
You can login as soon as you have activated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing with Web Standards

Developing with Web Standards

John Allsopp
Mobile Cloud Computing

Mobile Cloud Computing

Dijiang Huang, Huijun Wu

Publisher Resources

ISBN: 9781482209037