web development

Web development [Tricks]

how to start web development career

Trick #1: Learn the meta-skill (learn how to teach yourself stuff)

If you think you can put in time and “learn web development” and be at a point where you know everything you’ll ever need, you’re mistaken.  As a web developer you should focus on learning new skills every single day.  And this is a great thing!

Since you’re going to be learning new things everyday, what’s more important than learning “the stuff” that matters, is you building the skill of learning how to teach yourself new coding concepts on the fly.

I like to call the skill of being able to teach yourself coding topics on the fly “being a self sufficient developer”.  This means that even if obstacles come in your way, you’ll be able to learn why the obstacles happened and how to fix the problem.

You should race towards becoming a flexible, adaptable programmer who is capable of learning the new technologies that come out on your own.  The moment someone gets this skill, I call it “hitting their inflection point”, and then the developer is able to accelerate their learning at an incredible pace.

Trick #2: Learn the things that don’t change a lot.

Since the flavor of the week is likely to change quickly, rather than jumping on a new bandwagon, plenty of things in computer programming are timeless.  Learn those.

For instance, once you learn how to teach a computer how to solve a problem in one computer programming language, it’s generally a lot easier to pick up new programming languages.

So get really good at programming and become the best “programmer” you can.  To do so, I generally suggest finding standalone coding problems (often called kata) and solving increasingly complex ones.

Also there are plenty of Computer Science topics that have been around since as early as the 1950’s.  And many of those topics haven’t changed at all – and they continue to be useful.  In fact, if you’re looking for a job as a web developer… you’re going to need to learn theoretical concepts to do well in the technical interview process.

Here’s a few tips of things to focus on:

 

  • Algorithms (think: sorting algorithms, breadth-first search, depth-first search, etc).
  • Data Structures (think: linked lists, stacks, queues, trees, graphs, etc.)
  • Asymptotic Complexity (i.e. Big O Notation)
  • How to build software on a team

 


Depending on your goal you might be able to do this yourself with cheap or free resources that exist.

Checkout resources like:

Trick #3: Build good foundation

Don’t jump from platform to platform unless you have strong foundation on the basic concept of web development, for example , if you just starting web development and you’ve basic understanding of PHP , then you jump to Laravel ( PHP Framework ) you might get very confused specially if you don’t understand OOP concept (object oriented programming ), for that reason you might consider getting very good at these concepts before you start using any PHP frameworks.

You will speed up your learning by building very strong foundation about the basics , so take baby steps specially in the beginnin.

learn coding

Learn coding

[by understanding the logic behind ]

 

Coding is not so difficult as it sounds , we make things hard for us unintentionally by trying to memorize everything,  however, if we instead try to understand the code and why we use specific code in certain times, this method is the key to be better in coding.

lets take simple JQuery function and examine it :

 

setInterval (function ( ) ({

someFunction( );

), 1000 }

 

take a look at this function , you might be familiar with it but if not I will explain it.

This function it will call another function repeatedly in every second (notice : 1000  it means 1000 ms.)

its like loop of function.

now let’s think why and when we need this function ?

I made a course on how to create ajax chat app , you can see the course here , I used this function to call ajax in background. to simplify even farther.

for example I want to see if I have any new messages by making query that will go and fetch the database to see if I have any new message, so I don’t want to refresh the page every second , that would be a disaster ^^,

So I made ajax call in background to communicate with the database for any new message every second , that way the user will not feel anything , and if I got message it will be shown. that way I used ( setInterval function )

there are many cases that we might need this function , for example Slideshow , you will display new photo every specific time , and many cases you will need this function.

Now we understood why we need to use this function same will be for every line of code.

so it’s all about understanding not memorizing , this is how to learn coding in my opinion.

I hope I explained enough , if you have better methods share with us , we always learning that’s the beauty of life.

if you want to learn more about web in general this is the best resource : w3schools

 

 

 

 

Basic PHP

Learn Basic PHP

This post will be short to understand basic php , lets clear something , PHP is scripting language it’s widely used in almost any dynamic website, the term “Dynamic Website” simply means , interactive website where users can register or send a form or even retrieve data from database. Like movie website

 

What you need to know before start learning PHP ?

1-HTML

2-CSS

3-Basic Javascript

The simple Code of PHP :

<!DOCTYPE html>
<html>
<body>

<?php
echo “My first PHP script!”;
?>

</body>
</html>

 

PHP code can be inserted inside html page by ” <?php ”  and closing ” < ?> ” .

We use ” echo ” to print anything , that can be regular html tags or php variables .

 

What PHP consist of :

1-Variables

2-Function

3-Loops

4-Arrays

5- Conditions

6-Switch Statement

And there are more, like sessions ,cookies and Files , but we going to talk about it in future post.

 

Variables 

Continue reading “Basic PHP”

Chat App

 3 – Tutorials on how create Chat app

 

Do you wonder how chat system works ? it’s simple once you understand them , by understand this system you will be able to make even more complex apps using the same principles.

In this tutorial we’re going to learn how to create chat app using php and mysql.

It’s prefered to have basic understanding of PHP to build this chat app , if you’re beginner check this post on how to learn basic PHP.

this is pretty simple app , the main goal is to learn how to use php functions along with mysql

to pull data from database , and how to connect them so we’re not going to lose any data with page refresh.

this is series of three video its short, and straightforward.

 

Check youtube channel for this series 

https://www.youtube.com/watch?v=ww1RPUij8tU&list=PLIRVxuRlaN1CYDP2R7r80Lbcyfl9Vi794

 

Please Like and Share