Leanpub Header

Skip to main content

LiveCode Advanced Application Architecture

From HOBBYIST to PRO

This book help you learn about LiveCode best practices and advanced application architecture. With the techniques contained in it you will build applications that are easier to maintain and adapt leading to a more fun and profitable future.

Minimum price

$20.00

$20.00

You pay

$20.00

Author earns

$16.00

Packages

Details
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
229
Readers
51
Pages
About

About

About the Book

This book expands the topics about MVC covered during RunRevLive 2013 by presenting a full metodology on how to create and organize your app to be able to reuse more code and make it easier to maintain. By presenting a variation of the classic model-view-controller software architecture pattern that is more suited for LiveCode unique programming paradigm, we raise the bar for custom LiveCode application development and increase the ROI of your apps.

This book book is aimed at those that are already programming with LiveCode but want a more structured way of building apps. If you're constantly facing spaghetti code and don't exactly know where to place your commands and functions or if you don't know when to use substacks and cards, this book is for you. Our approach to the MVC style of programming will make everything fall into place easily and you will become a better LiveCoder by the end of the book.

Share this book

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF, EPUB, and Web

The Book

Minimum price

Suggested price$20.00

$20.00

  • Code sample
    This is the address book application source code used in the book. It has been updated with content from the new "Extra: Using Libraries" chapter.

The Book + DB Lib

Minimum price

Suggested price$90.00

A bundle of the newest LiveCode book around and the easiest Database Library for LiveCode. Not only learn how to build better and more maintainable applications but also start using the most user friendly DB ORM for LiveCode.

$80.00

  • Code sample
    This is the address book application source code used in the book. It has been updated with content from the new "Extra: Using Libraries" chapter.
  • DB Lib
    An easy to use Database Library for LiveCode. More information about the library at http://andregarzia.com/livecode/dblib/. Offered here as a bundle with discount.

Author

About the Author

Andre Garzia

Andre is a writer who procrastinates by also being a developer. His development work is focused on decentralisation technologies and he is an active member of the Secure Scuttlebutt community. In the recent years he published books about Roguelike Game Development, Firefox OS and managed a Web Literacy program in vulnerable neighborhoods of Rio. He is a firm believer in empowerment through technological experimentation. His now lives in London with his wife, cats and more IoT boards than he can ever put into use.

Contents

Table of Contents

Disclaimer

  1. Version
  2. Intended audience
  3. Thanks

on openBook

  1. From hobbyist to pro
  2. If I do my job right, I will
  3. This book roadmap

Code Conventions

  1. How to name things
  2. How to document your code

An introduction to MVC

  1. MVC in 20 seconds
  2. Summary

Models

  1. What goes into the model and what doesn’t
  2. Building a sane API
  3. Practical: Building an address book model
  4. Summary

Controllers

  1. Controllers are like transit cops
  2. What goes into the controller and what doesn’t
  3. What shouldn’t be on a controller
  4. Practical: Building an address book controller
  5. The publish and subscribe pattern
  6. Implementing our controller
  7. The controller script
  8. Summary

Views

  1. Practical tips for interface design
  2. What goes into the view and what doesn’t
  3. Multiple views are the key to cross-platform applications
  4. Practical: Building views for the address book application
  5. How our view work?
  6. The contacts list
  7. The details view

Going Forward

Extra: Using Libraries

  1. What goes into a library and what doesn’t
  2. Libraries make a community more powerful
  3. Practical: Adding support for vCard in the address book application
  4. How to create libraries
  5. Whats the difference between libraries and the MVC stuff again?
  6. Conclusion
  7. Summary

on closeBook

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub