Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Twilio Best Practices

You're reading from   Twilio Best Practices Learn how to build powerful real-time voice and SMS applications with Twilio

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781782175896
Length 178 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

The power of flowcharts


As developers, we can often be somewhat disparaging about things we see as low tech, such as putting together detailed plans for what we're building! However, when we're building a complex Twilio application, creating a flowchart at the beginning of a project is invaluable when it comes to not only implementing, but also testing what we've built.

In order to properly test an application, you need to follow every branch in its application flow and check whether it behaves as expected. The best way to do this is to define your expectations upfront before you even start writing code.

A great way to do this is to draw a flowchart. A flowchart represents a flow in our application, including any decisions that need to be made—effectively creating branches—and the outcomes from these decisions.

We can either build these on paper, or use a range of great online tools. I use Draw.io (http://draw.io), but plenty of other great options are only a Google search away. I've included...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime