Coder Social home page Coder Social logo

fictional-university's Introduction

Fictional University

Most of the universities out there have a website. Therefore I took that as an inspiration to develop a non-existing university website with WordPress with a number of common features and information. For example:

  • Home page with information about upcoming events and recent blogs
  • Campus, Program and Professor pages
  • Website live search that's aware of relationships
  • Traditional non-JS search with WordPress
  • Note-taking feature (private between users)
  • Open registration

Live Demo

The website is hosted with SiteGround. Click here to visit.

My startup hosting plan is expired on Dec 9, 2020

demo

Some of the things I learned from this project

  • Converting static HTML to work with WordPress
  • Creating custom post types, fields and plugins
  • Limiting posts
  • Establishing relationships between posts and pages
  • Using WordPress REST API with Ajax and also building custom routes
  • Working with JSON data and different request methods
  • Dynamic logics for live search and frontend updates with JavaScript and PHP
  • WP_Query targeting different types of data and relationships
  • User-specific login feature
  • Custom roles and permission for specific tasks and content
  • Private user generated content
  • Escaping input to prevent malicious code
  • Using templates for less duplication
  • Using Google Map API
  • Setting up a continuous deployment with SiteGround and DeployHQ

Overall structure of the project

  • Most of the important files lie in wp-content/themes/fictional-university-theme

  • Inside inc directory are the files I wrote for custom route

  • The js/scripts.js imports all the Javascript files located at js/modules. For the jQuery-free version of JavaScript files, visit modules/jquery-free and import them in js/scripts.js

  • template-parts directory contains templates for displaying contents in different pages such as archive and front pages

  • functions.php contains implementation for working with WordPress hooks and filters

  • Beside the live search feature, search.php, page-search.php and searchform.php are provided for non-JS search feature if JavaScript is not enabled for some browsers

  • wp-content/plugins/my-first-amazing-plugin.php is where I have my custom plugin

  • For custom post type declarations, visit wp-content/mu-plugins/university-post-types.php

Languages, technologies and tools that I used

  • PHP and JavaScript
  • Nodejs
  • jQuery (with Ajax)
  • Google Maps API
  • Local
  • Postman
  • SiteGround
  • DeployHQ

fictional-university's People

Contributors

tylernnguyen5 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.