Skip to main content

A - Game

Good Code

Been long since I wrote about good practices. Good development practices. If you aint doing what I'll mention here,
you need to evaluate how you do stuff. I'm not the best adviser out there, but I know what I did and turned around my productivity. The things I'll advice you to do here, are the things I used not to do, inturn spending the whole night doing almost nothing.

I mean, spending the whole night for a bug not worth it.

Will expound on each.

1. Always have a local copy

Basically, have a copy of your project in your machine. The best way to have this is to clone it in your machine if you're developing from online.
I use lamp stack, so, I have a copy at www directory, which serves as a go-to for references incase of anything, and also for adding new stuff to the project.

2. Test Environment

This is an online copy just for tests. This is important for examining how the system behaves while hosted. This copy is located at the production environment or a system with production environment settings.
Remember, set it as a sub-domain. You don't want a client's project out there before launch.
I usually push my projects to heroku, or my domain.

3. Live Environment

This is now the live copy of the system. This is where the system sits after development. This is where it's gonna be. This needs to be guarded well, secured, tested well, no downtimes and all that.

This is usually vetoed by the client. S/he is the one to say where the system is going to sit.

Your work as a developer in this phase is just to deploy the system, and/or advice the client on the best hosting environment.

4. Daemon

This is run as a background process, rather than being under the direct control of an interactive user. At this point, have all logs up and running. Have a way of troubleshooting and/or backtracking errors that may arise while the system is running.

Did I say I was stuck with an issue and the person to assist me always asked me of logs? I didn't. I didn't have them. I hadn't setup any daemon service, logging and all that.

It was hard for him to help me out. I set up all this and called him. After seeing I've done that, he proposed a face-to-face meeting instead of skype calls. (guess he saw I was ready to learn)

It worked readers.

Some errors are generated from some upgrades which aren't compatible, or modules which have redundant functionalities.

With these kept in mind, you'll be a better person than you were yesterday.

Popular posts from this blog

Marriage | Whatsapp forward


He was having his evening beverage

That's when she joined him.

"Hi there handsome, you're looking good. So fine I can eat you up" she said sitting down.

"I thought we agreed to keep away from each other? I am a married man" he told her.

" Come on. I won't bite. You can't resist me, no man can" she said.

"I am a married man" he told her.

"Fight all you want, but soon I will have you. I am way better than your wife" she told him.

"You are nothing compared to my wife" he told her off.

"Really? All this body. All these curves. All these sweetness. I bet your wife is not as good in bed as I am" she told him unbuttoning the top button of her blouse to reveal her cleavage, then lifting up her skirt, just a bit.

"If I was a lustful and unfaithful man, all that would move me. But I am too grown to be enticed by what you're showing off. I am a grown man, you think all that consumes my mind is s…

that freaky htaccess

Htaccess - Evolved

The Hyper Text Transfer Protocol (HTTP) was initiated at the CERN in Geneve (Switzerland), where it emerged (together with the HTML presentation language) from the need to exchange scientific information on a computer network in a simple manner. The first public HTTP implementation only allowed for plain text information, and almost instantaneously became a replacement of the GOPHER service. One of the first text-based browsers was LYNX which still exists today; a graphical HTTP client appeared very quickly with the name NCSA Mosaic. Mosaic was a popular browser back in 1994. Soon the need for a more rich multimedia experience was born, and the markup language provided support for a growing multitude of media types.

Htaccess file know-how will do several things for you:

Make your website noticeably faster.
Allow you to debug your server with ease.
Make your life easier and more rewarding.
Allow you to work faster and more productively.
^AskApache Htaccess Journey


Why Bro Ocholla is Trending

Awesome day. Been happy, save for having a simple repetitive task. This means, I had time to find out why bro ocholla was [not] praying today.
A photo is worth a thousand words, so here you go.