In the latest version of Xcode, its shipping CLI (Command-Line Tool) – xcodebuild should be powerful enough for us to deal with some normal tasks without any interaction with Xcode UI itself. However, as always, Apple’s “good” documentation actually kills its broad using. In this post, we are discussing the usage of -destination option, which […]

Check the Docker Hub page. Docker file with related scripts and config files to help build a Docker container that runs the following pieces out-of-the-box: PHP-FPM. Nginx with fastcgi-cache and fastcgi_cache_purge. Opcache. WordPress with the latest version. Also, it provides the following optional scripts: Add existing SSL cert files into Nginx config. Auto-generate SSL cert […]

During the previous adventures, the project Ionic Boilerplate has been re-organized for a better development engagement, such as: The Modularize AngularJS code structure enables you to freely define your app functionality and add modules if needed. Based on that, the adding Browerify gulp plugin helps bundle the code into one single JS package so that […]

When doing testing during the development process, there are three main types of test that we need to ensure. Unit Tests – Write small test cases to test small pieces of code without external dependencies. Integration Tests – After Unit Tests done to each individual module, this type of test is to test the integration […]

In version ECMAScript 5 of javascript, Browserify/CommonJS helps bring the module concept to Javascript language as well as browser support. Normally, when doing Browerify, it starts from an entry file and creates bundles following the calling path of require(), which also includes the external libraries, such as AngularJS, ReactJS, etc. And every time when we […]

When using Travis CI to help do CI(Continuous Integration)-friendly and CD(Continuous Deployment), it is inevitable that you will include some sensitive data to the Travis CI config file (variables, like API key, APP ID, etc.) or to the project folder (file, like certificate, profile, etc.). In order to help protect them, Travis CLI provides two […]

In the current Ionic Boilerplate folder, it has one big gulpfile.js to contain all Gulp tasks. And it will continue to grow when we adding new tasks for testing, building, deployment, etc. In order to make the management easier, we are going to separate this single file into a file structure, so that: Each single […]

In the current code structure of Ionic Starter Project, it has one controller file and one service file under www/js/ folder. During the actual development practice, it is not a good way to keep all controllers and services just in those two files. Instead, the code will be spotted into separate files based on functionality. […]