jryanconklin / epicodus-drupal-dna

Epicodus Drupal Code Review #4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNA

Drupal - Advanced Drupal

Features

The program will allow a user to input a DNA strand, and return the other half of the strand.

screencap of my site

Technologies

Drupal, PHP, HTML, CSS and Bootstrap.

Usage

To use the code, you can clone the repository at https://github.com/jryanconklin/epicodus-drupal-dna.

For best results, please:

  • Clone the Repository
  • Install the DB in MySQL
  • Launch Project in MAMP

The Admin name and Password for the database (found in sites/db-backup) are both 'dna'.

Specifications

  • Create a View to display inside of a block on your front page

  • Make the View display an unformatted list of linked titles for your choice of content: articles, or your site's custom content type.

  • Ajax enable the links in your view.

  • Create a block with a wrapper div in it to display whichever title you've clicked on in your view using ajax.

  • Create a custom module to handle the ajax calls and load the content into the div.

  • Create a custom module which presents a form where the user can enter in one half of their DNA helix. Your module should generate the other half and print both sides on the browser. There is no need to use Ajax on this part of the project.

  • Start with writing unit tests before writing your module logic, and start with simple input output pairs. Then write the module and include a functional test to make sure the whole interface works.

  • Remember to validate the input. You should only allow your user to type in the letters A, T, C, G.

Author/s

J. Ryan Conklin

##License This work can be used under the MIT License. Copyright (c) 2016 J. Ryan Conklin

About

Epicodus Drupal Code Review #4

License:GNU General Public License v2.0


Languages

Language:PHP 89.9%Language:JavaScript 4.1%Language:HTML 3.0%Language:CSS 2.7%Language:Shell 0.3%Language:ApacheConf 0.1%