Fetching data from a website has endless possibilities: exchange rates, country names, product titles, product images, customer comments, song names, links, emails etc... Did you know that you can do it with PHP?
In this course you will learn how to fetch data from websites and how to play with it like play dough. You will learn extracting data within HTML which you has been already fetched.
It is okey that your target websites has an API, but if they don't have, you can turn that websites into convenient data provider that you can consume whenever you want with PHP.
Collect your data put them into Word, Excel or Convert it to PDF or write another HTML on your own way. And also, you can create your brand new web site contains data which you fetched and extracted with PHP.
To make being clear everything in your mind, we will create an PHP project towards to end of training. We will be using cron jobs to make everything will be working in auto pilot.
In this lesson,You will learn that what scraping is. After lesson you will have comprehensive understanding of content scraping, What is it, where you can use it. what's the benefits.
In this lesson,You will learn that what API is, how it works, what' is the basic benefits. After lesson you will have general idea about API.
In this lesson we will learn usage of file_get_contents() PHP function. We will use HTTP Headers with the function.
In this lesson you will learn cURL functions at PHP and some tricks about fetching content from websites. We will talk about securely connecting to websites.
In this lesson we will talk about hiding yourself from remote servers when you make requests frequently. You will learn that how to protect your code banning from remote server.
In this lesson we gonna talk about HTTPS request with curl. End of the lesson you will be making https requests and know about certificate issues. Sometimes your https request fails, you will learn that why?
In this lesson we will talk about usage of cookie, encoding and custom headers with cURL. Let's start with cookie usage.
In this lesson we will talk about json encoding. You will learn that what is JSON and JSON encoder and decoder functions at PHP.
In this lesson you will learn that how to find patterns in html or other semi structured content.
In this lesson you will learn that What Regex (Regular Expressions) is and why we need it?
In this lesson you will learn preg_match() function of PHP.
In this lesson you will learn preg_match_all() function of PHP.
In this lesson you will learn that extraction data from a local file. We will use file_get_content and preg_match_all functions of PHP to extract data. As an example, we will extract data from Wikipedia.
In this lesson you will learn that extraction data from a remote web site. We will use file_get_content and preg_match_all functions of PHP to extract data. As an example, we will extract data from Trulia.
In this lesson you will learn that extraction data from a remote web site. We will use cURL and preg_match_all functions of PHP to extract data. I want to get weather information of London. So, We'll use Yahoo's weather page to extract data.
In this lesson you'll learn how to use an open source, easily learned parser, to read, modify, and spit back out HTML from external sources. Using Foyow's products as an example, you'll learn how to get a list of all the products on the site's homepage and display them.
In this lesson you will learn what cron jobs is. Cron Jobs are used for scheduling tasks to run on the server. They're most commonly used for automating system maintenance or administration. However, they are also relevant to web application development. There are many situations when a web application may need certain tasks to run periodically. You can use cronjob to fetch webpages in schedule. You will learn about cronjobs at linux.
In this lesson you will learn that how to make single instance of your cron script.
In some cases you may have frequent running cron jobs, and you may not want them to collide if they take longer to run than the frequency itself.
For example, you may have a cron job running every minute. Yet, every once in a while it may take longer than one minute to run.This can cause another instance of the same cron script to start running before the previous one finishes. You will learn that how to prevent it.
In this lesson I will introduce you 2 services for your quick scraping needs.
Orhan is an software developer and entrepreneur with much experience from different projects and many different programming languages.
Worked for heavy loaded web sites like eBay / Gittigidiyor, Sahibinden, Secretcv, Foyow, etc.
Orhan has 16 years experience at Software Development and Internet business and skilled with: PHP, MySQL, ZendFramework, Smarty, Java, Spring Framework, Solr / Lucene, Sphinx, MongoDB, Redis, Memcache, Git, SVN. I love working on High Available systems.
Research-Development and Teaching has been my passion since a long time. My aim to learn, use and teach technology the way it is used in industry and professional world.
I've decided to share my experience with the world via udemy. I'm waiting you at my cources.