Creating a blog from scratch with PHP and mysql : How To Start A Blog From Scratch

 

Tutorial table of contents

  • Part 1 - question and answers
  • Part 2 - How To Start A Blog From Scratch
  • Part 3 Example blog writing (Insurance company  Blog)
  • Part 4 Example Framework to Use

 

Question : I am building a blog from scratch on my own domain. I know the basics of HTML and CSS. What is the way to go forward?

 

Answer:

I would advise you to spend time learning javascript with jQuery first. It's probably the easiest way to get started with javascript and when you make a website you'll spend 75% of your time writing javascript. 

The reasons for learning javascript are many, but I'll focus on the main 2 that you need:

1 - manipulating HTML and CSS - You'll want to build a website that responds to what your users do, but furthermore, in order to submit a blog post without sending your user (or you if this is purely personal) to some backend script page you'll need to get the the text and other relevant information stored in variables.

How might one do that? With javascript:

var blogPost = document.getElementById('htmlIdOfTextSubmitArea').value;

2 - Sending data to the server, and gettinga response without reloading the page (ajax). This is an absolute must for a web developer and as consumers of content on the web, we expect that the page brings us data without reloading. Look into jQuery's $.ajax() method for a good starting point

How To Start A Blog From Scratch

1. Start With The Planning Stage
2. Select A Great Domain Name
3. Settle On A Hosting Company
4. Select Your Blogging Platform
5. Start Creating Fresh Content

 

Example blog writing (Insurance company  Blog)

What should I write about on an insurance blog?

Never, ever write about insurance products. For one thing, it seems like advertising. For another, it’s against the rules. But you can write about everything else on your insurance blog. Remember the Fortune 500 insurance company I previously mentioned? Its agents and marketing department write about things that insurance might affect — without ever discussing insurance products themselves.

Most of your customers probably have families so write about back-to-school topics in August. Share information on your community’s various events. (One agent used to post the week’s school lunch menus on his Facebook page.) Write about weddings in the spring, heading to college in the fall, driving cars in the winter and teenagers learning to drive.

Your customers own businesses and have jobs so write about small business financing, business networking, disaster preparedness and redundancies, family vacations and family budgeting tips.

They rent or own homes so write about house fire prevention, accident prevention, natural disaster preparedness, lawn maintenance and gardening tips.

The point is, your insurance blog is where you’ll prove your value to them. This is where you’ll show they can trust you. And this is where you’ll demonstrate that you’re the expert they need to turn to when they want to protect their families, their businesses and their homes

 

Example Framework to Use in web developement(Blog)

laravel download link

Laravel - The PHP Framework For Web Artisans download from Github 

GitHub - laravel/laravel: A PHP framework for web artisans

https://github.com/laravel/larave

Server Requirements

The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment.

However, if you are not using Homestead, you will need to make sure your server meets the following requirements:

  • PHP >= 7.0.0
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
 

Installing Laravel

Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

Via Laravel Installer

First, download the Laravel installer using Composer:

composer global require "laravel/installer"

laravel framework tutorial

laravel latest version

laravel example

learn laravel

laravel wiki

how to install laravel

laravel vs symfony

 

creating a blog from scratch html

how to code a blog in html

build a blog for free

creating a blog from scratch with php

create a blog from scratch php mysql

code your own blog

how to write a blog for college

how to create a blog using html and css


Tags:



Related Posts


Comments (0)

Leave a Comment

Type the above code here

Search Now




Trending Now


  1. 2019 KCSE CANDIDATES first revision mpesa paybill 820201
  2. most Marketable TSC Subject Combination in kenya for Secondary School Teachers
  3. Kimende Primary school contacts and location
  4. TSC news - TSC to pay allowances before CBC training Teachers demand
  5. Top 12 Most Powerful Militaries

Categories


  1. Tsc County Jobs
  2. KCSE Results 2018 Online
  3. Helb Portal
  4. Drop Shipping
  5. KDF Recruitment and salary
  6. Online TSC Payslips
  7. loan apps in kenya
  8. MKU student portal
  9. curriculum vitae
  10. celebrities in kenya
  11. Teachers Service Commission Latest News
  12. insurance
  13. relationship
  14. EDUCATION NEWS in kenya
  15. Business
  16. erevision