In the previous video I gave a very quick tour of what the TweetHours app does, and gave a quick look at how it works from a front end point of view.

The feedback from that video was interesting. Some people thought the app / course was ready to roll and fully complete. Alas, that is unfortunately not the case. That video was intended as a quick peak / sneak preview of what's to come - so sincere apologies if you feel misled.

In this video I cover the application architecture at a very high level, show how the app is currently getting its data (hint: it's not what you might expect, but there is a reason), and also cover the build process.

As mentioned in the video, TweetHours was originally conceived - and largely implemented - in June-July 2014. I then sat on the 90% finished app for no reason for another 12 months. Which, in hindsight, is quite silly. But here we are now.

As I write this there are still some outstanding bugs. This is partly because - as mentioned - the original code was sat on versions of Angular, Ionic, etc etc, that were a whole year out of date. If you've ever had a PHP project that you were working on, then left for a while, then came back too, well... running composer update can be a touch nerve wracking.

Of course, there really is no reason to update for updatings sake. But with development still underway it would be silly not to update now. So I did, and ultimately that led to a number of my JavaScript / Karma tests to blow up spectacularly. That's where I am currently up to - fixing those.

But that said, the app itself is buildable. As demonstrated in the video, the app will complete a build and it runs fine on the web browser (ionic serve), the iOS simulator, and my Android phone. It won't seem to run on the Android simulator though, which is a bit daft.

The video also touches briefly on the use of Commangular which I implemented in a bid to keep the code as modular as possible. This does add some complication to proceedings however, so I will cover this in much more detail in a forthcoming video. If you're interested in something similar but for Symfony, check out the awesome Tactician and associate bundle by Ross Tuck. I'm using that in another project (another API as it happens) and it's awesome.

I also mention a blog post where I cover a couple of bugs / issues I hit on yesterday with Ionic. If you're interested, that post is here.

Share This Episode

If you have found this video helpful, please consider sharing. I really appreciate it.

Episodes in this series

# Title Duration
1 Preview of The App 02:17
2 TweetHours Extended App Preview and Build Demo 08:56
3 Ionic Contact Form Demo with Behat 3 Testing the Back-End 13:51
4 Mobile App Front End Behaviour Driven Development (BDD) with Jasmine and Karma 21:36
5 From Fake To Real Data on Back End and Front 23:04
6 Ionic Contact Form with Symfony2 and Angular Validations 05:44
7 The Moon Shot (Or How Not To Launch A Mobile App in 2015) 12:04
8 Commangular and TweetHours - Part 1 - Updating our Chosen Hours 07:23
9 Preparing TweetHours for Native Local Notifications 11:47
10 Displaying Local Notifications in Ionic 11:20