Git Product home page Git Product logo

Yii2 Framework

  • Installed apache2 (a web server)
sudo apt-get install apache2 apache2-doc apache2-utils
  • Installed PHP

  • Installed Composer

  • Installed mysql

  • Installed phpmyadmin

  • Using composer installed yii2 framework's basic project template

  • After installing I was able to run yii file in apache serve

./yii serve
  • Then opened the page with localhost:8080

  • Changed enableprettyurl to True in web.php to get nice url not the script name

  • Created a user and gave permissions to access databases

  • Created a database in mysql using phpmyadmin

  • Changed database settings in db.php in config folder

  • Created a table named book in database local

  • Created a model for tables book using model generator form http://localhost:8080/index.php/gii/model which auto generates the code required for that

  • Now added a row in the table book

  • Added a extra attribute book_desc using migrations by adding details in up() and down() function in migration file

  • Created a table named author in database local

  • Linked both the tables using foreign keys (author id from table book with table author)

Abhishek Bvs's Projects

bot icon bot

Telegram Chatbot Assistant for Managing Club Activities

cms icon cms

Django-based club management platform

fosswebsite icon fosswebsite

A club management system that handles student details, progress, events, achievements, attendance, status updates, teams and workshop registrations. This is the official FOSS@Amrita website

hub icon hub

Vidyut 2019 - Backend

i_hack-hackathon icon i_hack-hackathon

Developed Shape detector in 48 hours Hackathon at IIT Bombay with yii2 and openCV

image-processing icon image-processing

Image processing methods and techniques to manipulate wide range of images

laundry-management-system icon laundry-management-system

A web application for Laundry Management System developed with spring framework as part of JAVA project in curriculum

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.