did i do the right thing?

Post on 08-Sep-2014

134 Views

Category:

Career

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

This is about my professional experience as a web developer, don't do my mistake. Because now you have a shortcut, and know the right thing, I can bet, in next 2 or 3 years, you can better than me.

TRANSCRIPT

Did I do the right thing?

@clasense4 for Himatif UINSGD

Bandung 26 April 2014

Time only 24 hours a day.

I wish I have more

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.

Not in ninja world, I wish I can learn

“kage bunshin no jutsu”

You are in real world

Can I really trust You?

I will tell my mistake, so you shouldn’t do the same like me. Take it or leave it.

Do You type fast?

Code editor anyone?

sublimetext.com W/L/M

Atom.io Mac

Brackets.io W/L/M

lighttable.com W/L/M

Until now, I prefer to use sublime

text

framework?

Framework is great.

It designed to simplify our life.

well engineered and well maintained.

Support, from open source community.

Do not reinvent the wheel, but make it perfect.

Using framework reducing headache

Just follow the framework rules.

Then your job is done.

73,278 is not a small number

How to choose framework?

Read the Documentation

silex.sensiolabs.org

Read the Documentation

docs.phalconphp.com

More popular mean more support and

needed everywhere.

Is framework

always good?

Slow vs raw programming language.

Sometimes eat more ram.

Sometimes raw programming language is

better

How about (web) framework?

• Python–Django, flask, bottle, Tornado

• Ruby–Rails, sinatra

• Nodejs–Express, sailsjs

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

ConclusionI use silex as my

starting framework.

Want to reduce headache? Then use

framework.

I don’t use ORM

ORM is object relational mapper.

I use propel (propelorm.org).

Let me show some code.

I don’t test my code

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.

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?

Let me show some code

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.

Windows vs Linux environment

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.

I don’t generate my boring task

Bonus Motivation?

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

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

Life is like MMORPG

If You don’t take risks

You can’t create a future

What if I need some help?

dimensiweb

(facebook groups)

More about me?about.me/fajriabdillah

top related