Wednesday, January 25, 2017

Steps to debug in Web Programming


  1. Check your internet connection 
    • The top unnoticeable experience if you are in critical situations. Just check internet connection before continue next debug process.
  2. Check to the server storage capacity 
  3. Check the limitation like Pusher
  4. Check folder permission.
    • if you are using Laravel, then folder Framework need to be writabble else Laravel would not work.
  5. Check log
    • Every languages got logs, you may see the error based on log
    • In order to prevent the problems, need a schedule everyday to check the log. Prevent before getting worst!
  6. Run Unit Test / Test Case
  7. Last but not least, check your code.
#happyprogramming
#debugbasedonmypersonalexperience
#noerror
#lesserror
#preventerror

Tuesday, January 10, 2017

Report Analysis

SELECT COUNT(s.report_id) AS total, t.type_name, group_concat(s.content_id) as content_ids
FROM rpt_content_main s
LEFT JOIN rpt_content_type t ON t.type_id = s.report_type_id
GROUP BY s.report_type_id

Thursday, January 5, 2017

Idea to be implement in mobile apps

Stuff finder in supermarket
On demand place finder
Dictionary Terengganu