F5 Works Blog Logo

WEB AND MOBILE APP DEVELOPMENT

Dev Tips: Escaping Special Characters

just happened that there are several issues / discussion topics around escaping characters these few days, so wanna share and remind every junior developer about these. 1) escaping in SQL statement BAD: execute('SELECT * FROM "users" WHERE "id" = ' + userId) there are occasions that you combine user provided data into a SQL that query database records. in the examples...


Read More

Minimal setup to Develop Ionic Hybrid Mobile Apps on Windows machine

There is a corporate training workshop targeting developers with Windows machine (Our team is using Mac to develop Ionic apps). However, we cannot find any available / recommended / centralized resources on the setting up Windows development for Ionic. Tools List Here is the setup list we shared with our trainees (tested on Windows 10): 0) Chrome - IE &...


Read More

Life of a Developer: Health issues

Prewords I have no doubt to call myself SUPER-CODE-AHOLICS. I code extremely long hours. However, there are lots of body alarms happening recently on myself and friends around me, which encourage myself to openly review what I have done all these years. Don't get me wrong ! It is not about complaining the employers or working environment I was...


Read More

Retrospective: 2 years of F5 Works

YEAH !! F5 Works team just moved to new dedicated office ~ :muscle: Here is our new office address, come visit us: Flat T, 1O/F, Everest Industrial Centre, 396 Kwun Tong Road, Kwun Tong 觀塘毅力工業中心 10樓T Google Map Why this post ? Before we made this decision, we also took this chance to evaluate and plan ahead for near future...


Read More

Issue during gem install pg with postgresapp on MacOSX

Issue during gem install pg with postgresapp on MacOSX thumbnail

Problem after you download postgresapp (http://postgresapp.com/), when you bundle install Rails app with pg gem, it will throw error saying cannot find pg_config Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /Users/eddielau/.rvm/gems/ruby-2.5.1/gems/pg-0.21.0/ext /Users/eddielau/.rvm/rubies/ruby-2.5.1/bin/...


Read More

Ionic 3 vs React Native (App Development Checklist, Part 1)

Ionic 3 vs React Native (App Development Checklist, Part 1) thumbnail

A Little Background Ionic framework is a full suite hybrid mobile app framework built on top of Angular and Cordova. React Native (RN) is a mobile app library developed by Facebook that built on top of ReactJS and native codes that bridge Javascript codes and device native bits. They both allows developers to build mobile apps with Javascript....


Read More

Learn backend development - Ruby on Rails

Here are some references to get you started with backend development with Ruby on Rails (http://rubyonrails.org/). Ruby Basics Online courses: https://www.codeschool.com/learn/ruby https://www.codecademy.com/learn/learn-ruby Familiar with Ruby's community (one strong reason people use RoR) http://rubyonrails.org/community/ Advanced: Other Ruby tools / libraries https://github.com/markets/awesome-ruby...


Read More

Learning Web Programming - 1 Month Curriculum

Q: I want to learn web development, where should I start ? F5 Works offers mentorship to people who are interested in picking up software development. Most of them have no idea what web and mobile development is about. As a result, we have prepared a 1 month curriculum for fresh beginners (and even fresh graduate who has no...


Read More

Trello Embed

User | Checkout | handle when order is $0...


Read More

Location based searching in Rails 5 - Part 2 (using PostGIS extension)

Location based searching in Rails 5 - Part 2 (using PostGIS extension) thumbnail

Continued from Part 1 (using geokit-rails) Why? Location-based search can bring user experience value to modern websites and mobile apps. Such as allowing users to find nearby drivers/doctors/restaurants/lawyers/etc. This post will talk about adding geo-search ability to Rails API backend that enabled the location-based searching. Business example Let’s say we want to build...


Read More

Location based searching in Rails 5 - Part 1 (using geokit-rails)

Location based searching in Rails 5 - Part 1 (using geokit-rails) thumbnail

Why? Location-based search can bring user experience value to modern websites and mobile apps. Such as allowing users to find nearby drivers/doctors/restaurants/lawyers/etc. This post will talk about adding geo-search ability to Rails API backend that enabled the location-based searching. Business example Let’s say we want to build a mobile app where users can...


Read More

First two weeks working in F5 Works

First two weeks working in F5 Works thumbnail

How it started When I finished my high diploma, I started to find a programming job. At that time, I saw the recruitment post of F5 Works on the internet and sent the CV for it. Finally, I got this job and now working here. It is lucky that I got a job so fast. Time runs so...


Read More

What I learnt in F5 Works in first month

My background Hello, I'm Danny. Before going into my recent learning activities, let me talk about my programming background. I recently graduated from my secondary school. When I was in S5, I entered a computer competition. I used my simple HTML language knowledge to finish my work and luckily, I got Certificate of Merit. Basically, I had little...


Read More

differences of "be", "eq", "eql" and "equal" in RSpec

differences of "be", "eq", "eql" and "equal"  in RSpec thumbnail

In RSpec, when you first start writing test cases to compare expected results, it might be very confusing to pick from "be", "eq", "eql" or "equal". However, once you know the underlying differences of these methods, everything will be clear afterward. Let me go through them here with some examples. Compare Statements There are 2 groups of compare...


Read More

Write readable email

Hi all, wanna share few tips on writing readable email. 1) specify your intention in first line. 2) group your message points into paragraphs. have max. 5 points per email. list actions you want the recipients to do at the end of each paragraph. 3) use double line feed to separate points. 4) one sentence per line. this...


Read More