₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,220 members, 8,420,866 topics. Date: Friday, 05 June 2026 at 01:04 PM

Toggle theme

Html14java's Posts

Nairaland ForumHtml14java's ProfileHtml14java's Posts

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 51 pages)

CrimeRe: My Father Must Go To Jail, 12-year-old Girl Impregnated By Her Own Dad Tells Pol by html14java(f): 8:23am On Apr 03, 2016
This is Nigeria
CelebritiesRe: Ebenezer Obey Celebrates His 74th Birthday Today! by html14java(f): 8:23am On Apr 03, 2016
Congrats
AgricultureRe: Lagos Acquires 2,134 Hectares Of Land In Other States To Boost Agriculture.. by html14java(f): 7:56am On Apr 03, 2016
Another 'No Man' s Land' springing up.

PoliticsRe: I’ll Move Nigeria Forward Quickly, Says Buhari by html14java(f): 7:53am On Apr 03, 2016
We are tired of Promises.

EducationRe: Number Of Public Primary Schools In Nigeria According To Zones by html14java(f): 10:58am On Apr 02, 2016
The Easternners are cheated in all aspect yet they produce the best brains in the country.

God Bless the East
Jokes EtcRe: If You Attended A Birthday Like This, You Should Be Married By Now by html14java(f): 8:06pm On Apr 01, 2016
Haaaa... Is that Cake in disguise?
PhonesRe: How To Check If Your National Identity Card Is Ready by html14java(f): 2:32pm On Mar 29, 2016
What is it used for again? Withdraw cash?
BusinessRe: Have You Ever Been Left Stranded By An ATM? !!!share Your Experience by html14java(f): 12:38pm On Mar 27, 2016
I can't be left stranded by ATM. Rather, i will keep the ATM machine stranded
WebmastersRe: How Websites Work by html14java(f): 8:51am On Mar 24, 2016
dayoungmoney1:
so you have to quote the long post just to type 'shot'? You are a stupid slowpoke
You need brain surgery
PoliticsRe: Alleged N2bn Bribe: Saraki Begs Judge To Deliver Judgement by html14java(f): 8:50am On Mar 24, 2016
This is NIGERIA
WebmastersRe: How Websites Work by html14java(f): 5:53pm On Mar 23, 2016
sonOfLucifer:
Alright, so this is a little guide on websites and how they work.

The Web has given us a lot of things to be grateful for; Patience Jonathan's epic 'CHAI' video on YouTube is something I will always be grateful for.
You can be in a remote village in Jalingo, and buy expired drugs from a businessman in China. NEPA might misbehave while you're in the middle of Season 3 of Game of Thrones. One MTN data pack later, you'd have watched it on YouTube or one of the many illegally legal streaming sites. tongue

Simply amazing, amazing technology.

I want you to relax and forget about what you know or think you know. I assume you know all I have to talk about; I just want to make sure that assumption is right.

So on to the topic, what's the web? How does it work? There is nothing too technical in this. Computers, and generally man's inventions, only mirror the world in which we live in.

It all begins with a device called a Computer. I assume you've used a calculator at some point in your life. Let's say you have to perform an addition on two numbers.
123 + 421

You press the buttons on the calculator to input the figures, and then press the answer button to get the result.
When you press the buttons on the calculator, the calculator has to perform the following processes to return a result to you.
a. accept your input.
b. process it.
c. return a result.

These are the functions of a computer. It's an electronic device that accepts input(data), processes it, and returns a result. Easy.

Computers you are probably more familiar with range from desktops, laptops, mobiles etc..

[img]http://hardwaretexpert.files./2011/01/connecttwocomputerswithethernet.jpg[/img]

Below are two computers. Let's call the one on the left a client and the other a server. The Client represents your laptop, phone or any device you use to view or browse a website. A program on your device called a browser is used to access the website. Your browser might Google Chrome, Mozilla Firefox, Opera Mini, or the dead,buried but not forgotten Internet Explorer.

Let me break this down a bit. Better hunger don wire you and you dey find food wey you go chop. You quickly rush into a restaurant, and two eba later, you are satisfied and your total financial worth has decreased by N250.

Like we did for the calculator, let's go through the process from hunger to satisfaction.
You walk into the restaurant and approach the small girl lazily swinging her legs and chewing gum behind the counter. You place your order and take a seat. This is you, the client.

You are a client because you have a request. In the same way, your browser makes a request for a webpage.
You do not need to go into the kitchen and prepare the food yourself. You do not even need to know if they have a kitchen. All you do is place an order (and hope your belle no go run cheesy).

So your device is a client that makes a request using a web browser.

Unlike the girl at the counter who is physically present in front of you, the browser needs to send a request to another computer several miles away. That request has to make its way to the right computer. If you want Mr Biggs to send you meatpie, the request should not end up at Jevinik.
This is made possible through the Internet.

What is the Internet?
Now imagine you have to travel from Port-Harcourt to Owerri. There are many roads by which you can embark on this journey. Some of the roads will have more traffic than others. But every car, hopefully, will leaves it origin and arrive at its destination safely.

In digital terms, we call the road network the internet. It enables you send messages between tow points, from source(your device) to destination ( server).You can connect two computers together in such a way that they will be able to communicate with each other.

NOTE: TO avoid being too technical, the rest of this story has been oversimplified. My intention is to ensure you understand the concept of what goes on behind the scenes, not understand every technicality.

The Internet is the connection of all connections. It's a digital highway enabling billions of devices to communicate with each other. On this digital highway, every device has something called an IP address. This IP address is similar to your home address. It identifies the location of each device on the highway, just like your address describes and identifies where you reside.

When you enter the address(facebook.com, bbc.co.uk, lindaikejiblog.com), you send out one small Akpan on the highway. That's your message. Akpan takes address(facebook.com, bbc.co.uk etc) and gets on the road. This is the address of the website you want to access.

Akpan gets to a junction. In IT parlance, we call this junction a router. They are a network device. You've probably seen one before. It's usually what you connect to when you login to a WIFI network. It's like TIMARIV /LASTMA and Immigration in one. They control traffic on the digital highway, ensuring that millions/billions of Akpans head in the right direction. Routers link different computer networks. If the website you want to access is hosted in another country, they'll be there to guide little Akpan along the way.

So from router, to router, to router Akpan goes, until he gets to the router closest to the computer where facebook/bbc/pornhub lives. Now, let's come back to reality.




The second computer on the right is called a Server. Don't Let the name scare you, it's nothing serious.

A server's purpose is to accept requests and respond to them. Like that girl at the counter in our imaginary restaurant.

It's a computer just like yours, but it has more power, more strength, it's a Goliath and you are its David. Its strength comes from the fact that it would probably have more hard disk, ram and processing power than your phone will ever need. Think about it, who has more stock of food right now? You or Mr Biggs?

The server is the computer on which the website is hosted. This is where your site lives.

Just briefly, let's describe what a website is. When you work on Microsoft Documents, you save them as document files. They'll probably have a .doc or .docx extension at the end of the filename. Different programs have different file types. You need video players (Windows Media, VLC) to play videos. You need music players to play music. In the same way, documents opened by browsers are called HTML files.

A web developer writes the code for a website, stores them in files called HTML files and copies them onto the server. REMEMBER, the server is just a computer like yours. So when Akpan gets to the door to deliver the message, the server opens the door, gets the request from Akpan, looks at the address, and goes to find the webpages. Usually, when you access a website, the first page you get is the homepage. This is the page the server will return to your phone.
And Akpan, returns home with a smile on his face, and delivers the webpage to your device. Facebook, Gmail, pornhub whatever, all inside his tiny little bag.. cry





Extra info for web developers

Following the analogy on Akpan, it's crucial to note the following.
The client doesn't need to know what the server does or how it gets the webpage. All Akpan requires is a html file is returned to it.

Now, remember as I said earlier, the server is like your computer. It runs an operating system just like your laptop runs Windows and phone runs Android or IOS (Apple).

From a web developer's perspective, to design a website you should be versatile in the following languages.
HTML : Determines the content of your web pages(.html files you save)
CSS: Determines how the content will look, its presentation ( .CSS files)
Javascript: Adds interactivity to your website. ( .JS files)
PHP/Mysql: Server side programs (explained further on)

Every web browser comes with HTML, CSS, and Javascript installed. So they're able to interprete the files without any help from the server.
Server side programs are installed on the server( remember just a computer). Apache is a WEB server. It's simply an application that runs on a server and handles those requests you make. PHP is a web language that runs on servers. It makes your pages dynamic (i.e the page you get is based on your input/feedback, think newsfeed on facebook).
shot
CelebritiesRe: Forbes Magazine Launches TV In Africa As Peace Hyde Hosts "My Worst Day" by html14java(f): 11:46am On Mar 23, 2016
Picture of her shadow or.. ..


You know the rest.
PoliticsRe: Stealing Is Not Corruption - Ekpo Nta, ICPC Boss by html14java(f): 9:56am On Mar 23, 2016
nothing

PoliticsRe: Jonathan Congratulates Talon, President-Elect Of Benin Republic. by html14java(f):
[size=14pt]You will not appreciate the Value of what you have unil you lose it.


Zombies are beginning to fall in love with GEJ - the Hero of Democracy.


Boo Boo, Tame your Ego and Learn from GEJ.[/size]

PoliticsRe: FG To Stabilise Economy With N350bn by html14java(f): 6:39am On Mar 23, 2016
grin grin
CelebritiesRe: Tonto Dikeh Shares First Post Baby Photo by html14java(f): 9:52pm On Mar 22, 2016
Wow
PhonesRe: How To Use Less Mobile Data On Your Android Or Iphone by html14java(f): 5:19pm On Mar 22, 2016
nze4al:
Not everyone needs or can afford an unlimited data plan (all hands are not equal), so whether you have 100MB or 10GB of mobile data on your smartphone, here are a few simple tips and tricks you can follow you to reduce your data consumption and save some money.


These tips will help reduce your mobile data usage

▶Check your Data Usage
First things first, let’s check how much data you’re using. On Android, open your phones data usage menu (Settings > Mobile Data/Data Usage)

And on iPhone you can check your data usage by going to (Settings > Cellular and taking a look under Cellular Data Usage) to find out how much you’ve used and which apps are using the most data and what you need to do to cut down on your data usage. There you can also set mobile data limit, a great way of avoiding an unwelcome extra charge on your bill and a warning when you approach it.

▶ Restrict Background Data
For Android users, in the Data Usage settings menu, tap on any of the apps listed to show more information about how much data they’re using, including a breakdown of its foreground and background data use.

Apps will often refresh and update in the background, even if you’re not using them, in order to open faster and provide up-to-date information. Enabling Restrict background data can significantly reduce your data usage.

▶ Disable auto-updates
If you own an Android phone, go to Google Play Store > Settings > Auto-Update apps and select ‘Auto-update apps over Wi-Fi only’. This way, your phone will wait until your connected to a Wi-Fi network before it updates your apps.

▶ Using firewall to controls internet access for apps
Most of the apps on your Android device probably require a data connection, and you may not even know when they are sending or receiving data. Firewall puts you in control of Internet access for apps, as well as how they can access it.

There are many firewall apps on the Google’s play store, but most of them requires root access to work. So i recommend you to download this NoRoot Firewall if your Android device is not rooted. As the name suggests, the app doesn’t require you to root your Android. Instead, it creates a VPN and diverts all the traffic on your phone through it. This way, you can choose which traffic you want to allow and which you want to stop. When any app tries to access the Internet, you’ll get an alert where you can allow or deny it and save the setting for the future. This level of control can also let you see when a certain app is accessing data for ads and block it.

▶ Wi-Fi is your friend
It sounds pretty obvious, but try to use Wi-Fi whenever possible (free Wi-Fi is always sweet). Whether you’re connected to the home, school or office Wi-Fi or making use of a hotspot, you should take advantage of any chance you get to use Wi-Fi instead of your mobile data.

▶ Using mini browser’s and reducing the image quality of your browser
Mini browser’s like Opera mini, Opera Max, Uc browser mini etc to browse the internet can help to reduce data usage, as they will compress images, video, webpages, and even the data sent by apps installed on your phone. Thereby reducing rate of data consumption.

You can also save data by reducing the quality of images from your browser settings or off the image entirely if not necessary.

▶ Manually close certain apps
Some data-hungry apps that are left open, or simply due to default settings on your phone that you weren’t aware of can chew through your data without you realising it.

Pressing the back button when exiting out of apps, instead of the home button, will close down your apps. However for certain apps such as GPS (maps), video or audio streaming (Youtube, Rdio, ) or Skype go to Settings > Application > Manage Applications > Running, then open the app you wish to close and force close.

▶ And if you’re not connected to a Wi-Fi network, avoid or limit the usage of popular messaging apps like Facebook, Viber, BBM and WhatsApp as they use a lot of data to send messages – there’s nothing wrong with a good old fashioned text or phone call!

If you have any tips or ways to protect our mobile data, let us know in the comments below.

Source: http://www.techmzy.com.ng/2016/03/22/how-to-use-less-mobile-data-on-android-or-iphone/
this will be useful some day
SportsRe: Alex Iwobi In Hospital For Food Poisoning by html14java(f): 5:15pm On Mar 22, 2016
wow... naija i hail
CelebritiesRe: Checkout The Sexy Photo Flavour Just Shared by html14java(f): 4:04pm On Mar 22, 2016
but if na woman commot cloth like this snap, come post am, e go turn Abomination.



i refuse to comment!!!
CelebritiesRe: Tiwa Savage And Skales Visits A Down-Syndrome Foundation by html14java(f): 3:58pm On Mar 22, 2016
i see... this will encourage other celebrities and Politicians to think too
PoliticsRe: Rivers Rerun: INEC Releases More Result. by html14java(f): 3:55pm On Mar 22, 2016
lol...amidst threat of cancellation... i cant fit laff
CrimeRe: Newborn Baby Abandoned In Garin-Kontagora, Niger State (photo) by html14java(f): 3:53pm On Mar 22, 2016
God have Mercy.... and some couples dey find pikin
PoliticsRe: Saraki, Tony Elumelu, Banky W At The National Assembly Business Event. Photos by html14java(f): 3:44pm On Mar 22, 2016
hmmm see them
EntertainmentRe: Woman Sets Her Private-Parts On Fire At A Dance Competition by html14java(f): 3:43pm On Mar 22, 2016
[size=16pt]end [/size]time [size=14pt]dan[/size][size=18pt]cing[/size]
Jokes EtcRe: When Someone Takes Your Position In A Queue And The ATM Swallow His Card by html14java(f): 3:42pm On Mar 22, 2016
hmmmm... so, are we supposed to laff?
Nairaland GeneralRe: 23 Pictures That Are Way Too Perfect To Be A Coincidence by html14java(f): 3:41pm On Mar 22, 2016
next.......
PoliticsRe: Justice Kafarati Withdraws From Saraki's Suit To Stop Trial by html14java(f): 3:19pm On Mar 22, 2016
nicefaze:
Saraki is becoming more popular these days
than even the baba go slow himself
FashionRe: Is This The Funkiest Mama In Nigeria? (photo). by html14java(f): 3:07pm On Mar 22, 2016
i haf see
EducationRe: Hearing Begins Today As Medical Students Sue UNILAG by html14java(f): 2:58pm On Mar 22, 2016
grin grin grin grin grin grin grin



Go Med Studs Go!!!

Forum GamesRe: Chess Players Let Us Discuss Here by html14java(f): 2:48pm On Mar 22, 2016
bossfeebok:
can you play chess?
ah don play nah. y u dey ask again??
EducationRe: Nigerian Lecturers Enter Their Students-Made Airplane : Funny But True by html14java(f): 9:17am On Mar 22, 2016


It was so funny i even forgot to laugh

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 51 pages)