Business system

In order for business to expand, we have to set a system around it. It should cover all business activities. Starting from the most important ones.

Marketing

  • always-on marketing (capture leads)
    • google adwords
    • ad portal
    • whatsapp groups (what message to send, must be different everytime)
    • learn not to hard sell

Sales

  • copywriting on website
  • sales materials for whatsapp
    • write up and videos

Customer enrollment

  • online form for important information. Complete with description and guide on screen
  • first time migration or even “self migration”

Support

  • tracking system – open -> close
  • user guide
  • on screen guide (especiall when fill up form)
  • video guide – on important process/flow

Customer satisfaction

  • auto online survey form after a specific period of time
  • ask what they like most and what they hate most
  • what they wish to have

Development

  • prioritize
  • for features, try to split in phase if too big

Debugging

  • how to ensure not repeat
  • how to revert if has error

PHP array tips

Some tips.

1. Remove duplicates in array using array_unique

array array_unique ( array $array [, int $sort_flags = SORT_STRING ] )

2. Remove empty elements use array_filter

array array_filter ( array $array [, callable $callback [, int $flag = 0 ]] )

3. value is in the array use in_array

bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] )

4. key exist in array use array_key_exist

bool array_key_exists ( mixed $key , array $array )

 

Web application security

Below are some security checklist for a web application.

  1. Login screen
    1. to avoid brute force attack, display captcha after 3-5 attempts from same IP
    2. enforce longer password more than 8
  2. Registration (or open form)
    1. display captcha for all form to submit
  3. SSL is a must. free or paid
  4. displaying primary id for table in URL must be avoided, use other ID instead. E.g. a secure id consisting of unique 10 randomized alphanumeric

Ionic notes

Some notes on ionic CLI command

Create new project (will create myApp directory):

> ionic start myApp blank

(besides blank, there is option to use other template like tabs, sidemenu, tutorial, super)

  • tabs¬†: a simple 3 tab layout
  • sidemenu: a layout with a swipable menu on the side
  • blank: a bare starter with a single page
  • super: starter project with over 14 ready to use page designs
  • tutorial: a guided starter project

Get into the directory and start service

> ionic serve

Launch editor to start coding

> atom .

Other resources

  1. ionic framework doc
  2. ionic crashed course video (~30 minutes)