₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,304 members, 8,449,632 topics. Date: Wednesday, 22 July 2026 at 07:19 AM

Toggle theme

Dometome's Posts

Nairaland ForumDometome's ProfileDometome's Posts

1 2 3 4 5 6 7 8 9 10 (of 49 pages)

ProgrammingVideo Tutorial: How To Build A Tiktok Like App, Using Html, Css Js & Php by dometome(op): 4:41pm On Mar 23, 2025
Hello everyone, and welcome! I’m thrilled to guide you step by step in creating something truly exciting—a TikTok-like video scrolling application using PHP, MySQL, and JavaScript.

Have you ever wondered how platforms like TikTok or YouTube Shorts manage to seamlessly load videos as you scroll, without refreshing the page? Well, in this class, you're going to learn exactly how to build that from scratch!

We’ll build a RESTful API in PHP, which will handle database management in MySQL—all while ensuring security and validation for large video files."

Then, on the frontend, we’ll leverage JavaScript’s Fetch API to dynamically load videos without reloading the page. This will keep the experience smooth and modern, replacing outdated AJAX methods.

One of the most exciting parts? We’ll implement infinite vertical scrolling so that as users swipe or scroll, a new video loads seamlessly in place—just like TikTok! Using JavaScript and a bit of CSS magic, we’ll create a smooth, immersive experience that feels just like a real social media app.

But this isn't just about writing code—we'll break down each step so you understand the logic behind it. By the end of this tutorial, you’ll not only have a fully functional TikTok-like video app in your portfolio, but you’ll also gain a deeper understanding of how modern social media platforms work behind the scenes.

If you’re excited to learn how to build a video API in PHP, fetch videos dynamically with JavaScript, and create a smooth scrolling experience, then this is the perfect class for you.

So let’s dive in and start building your first real-time video app—no refresh required!



https://www.youtube.com/watch?v=do21ssvr9AY
ProgrammingRe: Nairaland Programming Section Is Terrible by dometome(op): 7:54pm On Mar 22, 2025
budaatum:
Post more to dominate. That's how you'd teach us please.
When I post again now, he will dump it into the memory hole. I will do that tomorrow
ProgrammingRe: Nairaland Programming Section Is Terrible by dometome(op): 6:08pm On Mar 22, 2025
budaatum:
Nairaland is a user content creation site. You got to create what you want to see.

Whom do you expect to write them down if you "cannot write them down"?
I guess I was not clear enough, I made a video, uploaded it to YT and posted a link here
ProgrammingNairaland Programming Section Is Terrible by dometome(op):
Go through the first page, you will find out that there is no programming tutorial, guides or anything of that nature, just irrelevant topics, when you come up with a tutorial then upload the video, then post the link to that video to Nairaland, it is dumped into the memory hole, which is very deep unfortunately. Must I put it in writing? Imagine that you made a tutorial about how to build an app like tiktok, which is some advanced sh1t, and huge for that matter, you expect me to write it down? Come on man! Such a project consists of a thousand and one processes, I just cannot write them down. Please mods! Do something.
PoliticsRe: 'Nigeria Could Be The Next Turkey' - Foreign Investors Hail Economic Turnaround by dometome: 7:45am On Mar 19, 2025
Propaganda
ProgrammingLearn How To Build Your Own Tick-tock Clone, RESTFUL API by dometome(op): 1:43pm On Mar 18, 2025
Hello, this is Ifecodes. If you already know HTML, CSS, a little bit Of JavaScript and a little bit of PHP, you want projects, but do not know what to do, many tutorials have the same thing, you want something a bit more Challenging or different, this tutorial is for you. You will learn how to build your own Tick-tock like app, or an app that is similar to YouTube shorts. You will learn form validation using, HTML, JS and ultimately PHP, how to disable the upload button and enable it only when the user has filled all the fields. You will learn how to display error messages if in case the user has disabled JavaScript, and submitted the form without filling the fields properly. You will also learn how to use PHP to create folders and give the folder the right permissions for both reading and writing files into them. How to transfer the uploaded videos to the said folder. You will learn how to make sure the user uploaded only videos, and the right formats too, ie, video formats that are compatible with the HTML5 playback, you will learn how to cap the video file size to your preferred file size limit. How to use PHP to automatically rename the videos uploaded by the user, so as to avoid file name conflicts. How to upload the video to the MYSQLi database, how to create a database In MYSQLi, how to connect to your database securely and prevent cross server SQL injection. You will also learn how to create your very own RESTFUL API in PHP, and very many more too numerous to mention. Watch the tutorial below and you will learn a lot.


https://www.youtube.com/watch?v=do21ssvr9AY?si=0gbiISPUWbyhAyzU
PoliticsRe: Nnamdi Kanu’s ‘terrorism’ Trial Begins Afresh March 21 As New Judge Takes Charge by dometome: 2:48pm On Mar 13, 2025
CXLVII:
Never go against the government! You can never win!

Even Nelson Mandela said in “LONG WALK TO FREEDOM” that,

“As I walked out the door toward the gate that would lead to my freedom, I knew if I didn't leave my bitterness and hatred behind, I'd still be in prison.”


The government will fvck and refvck you.
I am yet to see anyone who complied his way out of tyranny
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Arsenal (1 - 1) On 9th March 2025 by dometome: 5:42pm On Mar 09, 2025
live stream please
TravelRe: Nigeria, South Africa, Not In US Visa Waiver 2025 Programme by dometome: 12:08pm On Feb 25, 2025
Hushpuppy20:
President Trump, nothing last forever
American will fall one day, it is the law of nature that says any element or object that goes up must come down.(Law of gravitational force)
how about fixing Nigeria?
TravelRe: Nigeria, South Africa, Not In US Visa Waiver 2025 Programme by dometome: 12:02pm On Feb 25, 2025
Macnnoli4:
Trump's thoughts be like "I don't want immigrants from 'shithole' countries, I want immigrants from 'nice' countries like Switzerland and Norway".
How about fixing your own country?
Foreign AffairsRe: Elon Musk Shuts Down USAID, Locks Out 600 Staffers Overnight by dometome: 7:50am On Feb 04, 2025
doggedfighter:
Two mad power drunk men in power !



Now who will advise the other ?


Insanity in full display


This is what you see when you are just in power just to settle scores.
the fact that previous governments used that horrible USAID to cause problems in other countries don't matter to you. You only hate
PoliticsRe: Insecurity: How Asaba Became Home To South-east Indigenes by dometome: 1:39pm On Feb 01, 2025
Asaba has been home to Igbos long before the Satanic entity called nizooria
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 1:26pm On Jan 28, 2025
rickleye:
Not sure why you must mention “ I am an Igbo man “ you are Nigerian first .

This is what ChatGPT says

The 14th Amendment to the United States Constitution, ratified on July 9, 1868, grants citizenship and equal protection under the law to all persons born or naturalized in the United States. It was originally designed to ensure civil rights for former slaves following the Civil War. The amendment consists of several key sections:
1. Citizenship Clause: Grants citizenship to anyone born or naturalized in the U.S., which includes former slaves.
2. Due Process Clause: Ensures that no state shall deprive any person of life, liberty, or property without due process of law.
3. Equal Protection Clause: Requires that states provide equal protection under the law to all people within their jurisdictions.
4. Privileges or Immunities Clause: Prevents states from denying the privileges and immunities of U.S. citizens.

The 14th Amendment has played a crucial role in advancing civil rights and has been the foundation for many landmark Supreme Court decisions, including those related to desegregation, voting rights, and same-sex marriage.

This was amended in 1868 to include ALL born in United States.
Chat Gpt is a leftist app, So its opinion is trash! OK?
Science/TechnologyRe: What Is DeepSeek, The Chinese AI App Challenging OpenAI And Silicon Valley? by dometome: 9:39am On Jan 28, 2025
I am just here laughing. Because I will laugh harder when they will all discover that it is all hype
Foreign AffairsRe: US Suspends Tariffs After Colombia Agrees To Deportation Flights by dometome: 8:32am On Jan 27, 2025
FunkyAlhaji2015:
This man is going to plunge the US into unnecessary wars. China and Russia are going to be in the wings to cash in on the spoils of that war
by sending their illegals back to their own countries?
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 8:30am On Jan 27, 2025
rickleye:
You as the parent may be illegal but your child born in the states is American . Period no if or buts. The same is in Canada. The birth certificate will state where you were born. this has always been the case. And that is what the constitution states. As long as you are born in any state of the US , you are the citizen.
You are inferring when you state what you feel was the intent . It isn’t stated anywhere that the cause was to allow descendants of former African slaves to become citizens.
That's not true. In fact, John A Bingham and Thadeus Stevens, the men that promulgated this amendment, said it clearly that this amendment is NOT for foreign diplomats. It was only for people who have one or two connections to America, for example the former slaves, who were recently freed at that time, their connection to America is one, their parents were slaves in America, two they themselves were born in America and were slaves too, in America. So they qualify. Another were the native Americans, their connection to America, is their ancestral lands which the US government incorporated into America and made part of America, automatically the owners of those lands are subject to the US jurisdiction. It doesn't apply to you or me, I be Igbo man. Ok? You can argue till tomorrow for all you like.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:13pm On Jan 26, 2025
rickleye:
Means cities, boroughs , states and local etc.
You need to understand that most people at hearts are nomads. We move around. There is nothing wrong with someone looking for greener pastures. And the problem with Nigeria are in part the elected leaders. No vision for future. We are divided on tribalism. Till date the east are talking about separation and North won’t trust someone from east. Most of what works are what the British left behind . Why can’t we have running water in every home, why can’t we 24/7 electricity , why can’t we have secure homes and jobs for 80% of the populace. Why can’t we have running functional petrol and natural gas. Why can’t we have tarred roads at every street and smart buildings . Why do we need police men on the road with AK47’s asking for bribes ? When you step outside you realise life doesn’t have to be that hard.

So when you turn on the TV and see sky scrappers or what your fellow Americans are pushing the boundaries of science and technology you ask yourself do they have 2 heads ?
You are not making any sense. If I travel illegally to the US, that does not make me or my child (born or unborn) subject to the jurisdiction thereof of the US government, if I stay more than I am allowed to, I will be deported. Because I am still subject to the jurisdiction thereof of Nigerian government. So if the constitution is to be interpreted correctly, simply being born in the US is not enough, yes I met that part, what about the second? I did not meet that requirement, so the law does not apply to me. This law is the law that was used to make the descendants of the original African slaves citizens of the US. And later the Indians ( NOT the red dot one). I am NOT and American BTW. I be full blooded Igbo man.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 1:36pm On Jan 26, 2025
rickleye:
[b][/b]

The privilege of United States citizenship is a priceless and profound gift. The Fourteenth Amendment states: “All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside.”
what does this part mean? "subject to the jurisdiction thereof". I wonder why people won't make their own place better, they only want to go to another man's land, a place where that man has sacrificed a lot to make better. Shame on you Nigerians.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 1:34pm On Jan 26, 2025
naijaman2225:
S. 1 to the 14th Amendment.
S.3 , by the way, bars insurrectionists from holding public office.
sorry for the late reply, I was busy coding, a web app of course. Please post the statement here le us analyze it.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 4:12pm On Jan 25, 2025
naijaman2225:
Stop spreading falsehood. The 14th Amendment to the U.S constitution is very clear about that: anyone one born in the United States is a citizen, whether the parents are citizens themselves, permanent residents or migrants (legal or illegal). The only exception are children of diplomats.
What part of the amendment says that?
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 4:11pm On Jan 25, 2025
Roboto11:
grin

So it's only Caucasians that lay claim to US.

grin

I have more claim to USA than Elon Musk.
from the zoo whose license has expired, aka naLiegeria, hahahahahahahahahahaha!
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 1:19pm On Jan 25, 2025
Roboto11:
Hahaha.

Something that hasn't been possible for generations.

grin

Trump cannot rescind US Citizenship.

Sorry.

grin
Still wondering with a great wonderment on how you cannot stay in your own country
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 1:18pm On Jan 25, 2025
jaxxy:
Trump should look for another way around the migrants issue. If ure born in America u are American.
False! Not what the constitution says. Stay in your own country na abeg
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:59am On Jan 25, 2025
Roboto11:
You can't claim it's a lie without explaining how.
grin
I wrote an epistle about it. And I am sure you already read it. If you haven't just scroll up you will se it. Nancy Be lousy is just looking for votes.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:55am On Jan 25, 2025
LegacyB:
How?
Roboto11:
What does the constitution say?
there are two conditions in the first clause or paragraph of the 14th amendment, the first one is that, a person must be born in the US then the second one is that the person must be under the jurisdiction of the US. The paragraph says AND not OR, so the two conditions MUST be met. So if I travel to the US today as a visitor, I will respect their laws, but I am still under the jurisdiction of Nigeria, that is why If I break the law, and I am caught, I am immediately ejected to Nigeria. If the crime is big enough, then after serving jail term, I am deported, so also is my child, because I am not under the jurisdiction of the US my child is not also under the Jurisdiction of that country. The law was made so that the descendants African slaves imported from Africa can become full US citizens after emancipation. When the slaves where freed they had to make them citizen, no one will send them back to Africa, their parents and grandparents where slaves in America, which means they were under the jurisdiction of America, and they were born in America, so they met the two conditions. Later the American Indians (not the red dot Indians) were also affected by this law, because, initially they were not considered Americans, because the Indians where subject and loyal to their various tribes, but when they were incorporated into the US, their ancestral lands became part of the US, then it meant that they were born on US soil and are now under the jurisdiction, not of their various tribes, but of the US government. So the law applies to them, but for me, the law doesn't apply, nor to my kids, my ancestral land was never incorporated into the US, my parents or grandparents were never slaves in America, nor was I ever a slave in America, so the 14th amendment doesn't apply to me and the vast majority of Nigerians.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:55am On Jan 25, 2025
Roboto11:
A child born in the US is subject to its jurisdiction.
lie of the century.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:54am On Jan 25, 2025
Roboto11:
A child born in the US is subject to its jurisdiction.
lie of the century
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 11:50am On Jan 25, 2025
Roboto11:
What does the constitution say?
there are two conditions in the first clause or paragraph of the 14th amendment, the first one is that, a person must be born in the US then the second one is that the person must be under the jurisdiction of the US. The paragraph says AND not OR, so the two conditions MUST be met. So if I travel to the US today as a visitor, I will respect their laws, but I am still under the jurisdiction of Nigeria, that is why If I break the law, and I am caught, I am immediately ejected to Nigeria. If the crime is big enough, then after serving jail term, I am deported, so also is my child, because I am not under the jurisdiction of the US my child is not also under the Jurisdiction of that country. The law was made so that the descendants African slaves imported from Africa can become full US citizens after emancipation. When the slaves where freed they had to make them citizen, no one will send them back to Africa, their parents and grandparents where slaves in America, which means they were under the jurisdiction of America, and they were born in America, so they met the two conditions. Later the American Indians (not the red dot Indians) were also affected by this law, because, initially they were not considered Americans, because the Indians where subject and loyal to their various tribes, but when they were incorporated into the US, their ancestral lands became part of the US, then it meant that they were born on US soil and are now under the jurisdiction, not of their various tribes, but of the US government. So the law applies to them, but for me, the law doesn't apply, nor to my kids, my ancestral land was never incorporated into the US, my parents or grandparents were never slaves in America, nor was I ever a slave in America, so the 14th amendment doesn't apply to me and the vast majority of Nigerians.
Foreign AffairsRe: If You're Born In America You're American - Nancy Pelosi by dometome: 8:38am On Jan 25, 2025
False!
Foreign AffairsRe: Federal Judge Blocks Trump's Birthright Citizenship Executive Order by dometome: 8:22pm On Jan 24, 2025
Peacecore:
I hope this is not the brain you use to cross main roads? angry
very good! Make una japa Make I see
Foreign AffairsPlease Guys, Help These Kids So That Trump Won't Deport Them by dometome(op): 8:37am On Jan 24, 2025
Here they are, innocent kids

Foreign AffairsRe: Federal Judge Blocks Trump's Birthright Citizenship Executive Order by dometome: 8:28am On Jan 24, 2025
Of course the Democrats will fail. The 14th amendment is NOT for foreigners. It is only for people who have one connection or the other to America.

1 2 3 4 5 6 7 8 9 10 (of 49 pages)