GithubHelp home page GithubHelp logo

mazsam / codeignitor-post Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alimranahmed/codeignitor-post

0.0 1.0 0.0 1.25 MB

This is a simple blog using codeigniter framework of PHP. User login, posting, commenting etc. all common functionality of a blog site is available here...

License: Other

ApacheConf 0.03% PHP 99.23% HTML 0.30% CSS 0.43%

codeignitor-post's Introduction

Blog using Codignitor

This is a simple blog using codeignitor framework of php. The view of the blog is dynamically changed for normal user, admin and author. No one cannot comment in any post without loged in. There is a very simple blog site. I have just implemented the common functionality of a blog. In this blog, I have implement some features of codeigniter which are not active on the contex of this project. This resource can be used for any other project. As this project was made using netbeans IDE there is a derectory named nbproject wich is not necessery for the functionality of the blog.

Project Purpose

This project could be helpful for the beginners who want to get introduced with Codeignitor. The project is built on Codeignitor 2. Codeigniter 3 has already been released so it's pretty backdated now. This project has not been published for the purpose of blog site to be used in production. If you need a blog project to be used in production please checkout the LaraBlog project https://github.com/alimranahmed/LaraBlog has been built on Laravel 5.*

Technologies:

  1. PHP(Codeignitor) for backend
  2. HTML, CSS and bootstrap(CSS framework) for frotnend

Technical Description

Model: I have create three models in this project. The prefix m_ is used to identify the file as model easily.

  1. m_db: The common operations on database(CRUD)
  2. m_comment: The operations on database related to comments.
  3. m_user: The operations on database related to users.

View

All the views are named as their functionality. the header and footer view contain the header and footer of every pages and necessary links on stylesheets and scripts.

Controllers

  1. Blog: Controll the common behaviours of the blog.
  2. Comments: Controll the functionality of comments.
  3. Emails: Controll the functionality of emails. Which is not active in this blog.
  4. Pages:Controll the navigation through the pages.
  5. Uploads: Controll uploading and re-sizing photos.
  6. Users: Controll the permission and action of users(user, admin and author).

Installation Process

  1. clone the repository by downloading it or by simply running the command git clone https://github.com/alimranahmed/CodeIgnitor-Post.git
  2. Now you have the project in your computer as a directory named as CodeIgnitor-Post. You can put that directory directly in your server(Apache2) or you can create virtual host for that directory.
  3. Open the application/config/database.php file and edit database configuration as your preference.
  4. Now, there is a .sql file in root directory of the project named as my_blog_db.sql. Execute that file in your database changing the database name is required.
  5. How go to your browser and hit the url for that project if virtual host created otherwise try hitting localhost/CodeIgnitor-Post in browser's address bar. Now, you should see that home page of this project.

Screenshot

List of All Post

codeignitor-post's People

Contributors

alimranahmed avatar raj93 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.