GithubHelp home page GithubHelp logo

databasics's Introduction

The databasics module contains 5 different branches which each represent the module in different states of completion. If you are teaching this lesson as a part of the Module Development course, you'll typically want to skip databasics-capn and go straight to databasics-start.

*databasics-capn*
Basically just capn module, if you want to start completely from scratch and show how we're moving to a database storage for the same functionality.

*databasics-start*

Includes a .install to create a databasics table and demonstrates use of hook_schema(), hook_install() and hook_uninstall().

*databasics-complete*

Includes updates to add a new column to 'last_viewed' to the database table. Demonstrates use of hook_update_N() to update your schema.

*databasics-views*

Includes views integration for the databasics table. Demonstrates describing your table to views and using default/exported views as a means to display the statastics table provided by the module. Used for example to replace the previously hard coded table at user/%user/databasics

*databasics-test*

Adds a .test file. Demonstrates the use SimpleTest by testing that the "This page has been viewed X times" appears on the appropriate pages.

*databasics-drush*

Adds a databasics.drush.inc command file and a basic drush command for generating random databasics records. Demonstrates the use of most of the basic drush API's.

databasics's People

Contributors

eojthebrave avatar rfay avatar

Watchers

JT5D avatar James Cloos avatar  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.