CIRPA 2016: It's Show Time: Are Your Data Ready to be the "Next Big Thing"?
Did i do the right thing show
-
date post
18-Oct-2014 -
Category
Technology
-
view
64 -
download
0
description
Transcript of Did i do the right thing show
![Page 1: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/1.jpg)
Did I do the right thing?
@clasense4 for Himatif UINSGD
Bandung 26 April 2014
![Page 2: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/2.jpg)
Time only 24 hours a day.
I wish I have more
![Page 3: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/3.jpg)
Project is everywhere.And sometimes the job
come to You, but You are in a middle of
big job.Confused, take the job or not.
![Page 4: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/4.jpg)
Not in ninja world, I wish I can learn “kage bunshin no jutsu”
You are in real world
![Page 5: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/5.jpg)
Can I really trust You?
I will tell my mistake, so you shouldn’t do the same like me. Take it or leave it.
![Page 6: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/6.jpg)
Do You type fast?
![Page 7: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/7.jpg)
Code editor anyone?
![Page 8: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/8.jpg)
sublimetext.com W/L/M
![Page 9: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/9.jpg)
Atom.io Mac
![Page 10: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/10.jpg)
Brackets.io W/L/M
![Page 11: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/11.jpg)
lighttable.com W/L/M
![Page 12: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/12.jpg)
Until now, I prefer to use sublime text
![Page 13: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/13.jpg)
framework?
![Page 14: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/14.jpg)
Framework is great.
It designed to simplify our life.
well engineered and well maintained.
![Page 15: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/15.jpg)
Support, from open source community.
![Page 16: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/16.jpg)
Do not reinvent the wheel, but make it perfect.
![Page 17: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/17.jpg)
Using framework reducing headache
![Page 18: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/18.jpg)
Just follow the framework rules.
Then your job is done.
![Page 19: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/19.jpg)
73,278 is not a small number
![Page 20: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/20.jpg)
How to choose framework?
![Page 21: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/21.jpg)
Read the Documentationsilex.sensiolabs.org
![Page 22: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/22.jpg)
Read the Documentationdocs.phalconphp.com
![Page 23: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/23.jpg)
More popular mean more support and
needed everywhere.
![Page 24: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/24.jpg)
Is framework always
good?
![Page 25: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/25.jpg)
Slow vs raw programming language.
Sometimes eat more ram.
Sometimes raw programming language is
better
![Page 26: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/26.jpg)
How about (web) framework?
• Python–Django, flask, bottle, Tornado
• Ruby–Rails, sinatra
• Nodejs–Express, sailsjs
![Page 27: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/27.jpg)
How about (web) framework?
• Javascript Frontend–Angularjs, Extjs, YUI,
Backbonejs,
• PHP –Symfony, Laravel, Zend
Framework, Phalcon, Code Igniter, yii, cakephp, etc.
• Java–Play, Spring MVC, JSF
![Page 28: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/28.jpg)
ConclusionI use silex as my
starting framework.Want to reduce
headache? Then use framework.
![Page 29: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/29.jpg)
I don’t use ORM
ORM is object relational mapper.
I use propel (propelorm.org).
Let me show some code.
![Page 30: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/30.jpg)
I don’t test my code
![Page 31: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/31.jpg)
I don’t test my code - 1
Just doing some simple test == jobs done. (in my old day).
Then bug appear, then headache.Fixing a bug can take more time than writing a new code.
Just find a bug can take all day.
![Page 32: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/32.jpg)
I don’t test my code - 2
I want to test login form for 1000 users.So I clicked 1000 times?
I want to test API output, with 100x possibilites.So I playing with curl / postman for 100 times?
I want to test upload, is my server can handle it?
So I uploaded a file, then click upload button?How about upload 200 times?
![Page 33: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/33.jpg)
![Page 34: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/34.jpg)
Let me show some code
![Page 35: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/35.jpg)
I do not make a documentation
Who write this code? I said, while read code on my own project, on my own server.
I don’t understand my own code.
I forgot how to start my project again when it goes break.
![Page 36: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/36.jpg)
![Page 37: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/37.jpg)
Windows vs Linux environment
![Page 38: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/38.jpg)
Windows vs Linux environment
Back in 2010, I have a big project, I don’t use framework,
I don’t make an API, so much spaghetti code,
I don’t make a documentation, I write in Windows,
and it doesn’t work in Linux.Just to make sure it work in Linux can took all day long.
![Page 39: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/39.jpg)
I don’t generate my boring task
![Page 40: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/40.jpg)
Bonus Motivation?
![Page 41: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/41.jpg)
Never stop to learn.
We eat rice, we have 24 hours, we have same source (google),
If I can do it, then you can do it too
![Page 42: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/42.jpg)
Some Resources• Hackernews
(news.ycombinator.com)• Tutorialzine.com• Php weekly, redis weekly, nosql
weekly, python weekly (weekly news)
• Code.tutsplus.com• Sitepoint.com• Digitalocean.com
![Page 43: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/43.jpg)
Life is like MMORPG
![Page 44: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/44.jpg)
If You don’t take risks
You can’t create a future
![Page 45: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/45.jpg)
What if I need some help?
dimensiweb (facebook groups)
![Page 46: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/46.jpg)
More about me?about.me/
fajriabdillah
![Page 47: Did i do the right thing show](https://reader033.fdocuments.in/reader033/viewer/2022061105/5443401ab1af9f2d0a8b4886/html5/thumbnails/47.jpg)
Thanks