Git Product home page Git Product logo

p3's Introduction

#Project 3

##Live URL http://p3.harvard-dwa15.me

##Description This site allows the user to generate random filler text and/or random users. Such data is commonly used to simulate the user experience and/or test websites in the development process.

##Demo I will demonstrate my P3 in section on Friday.

##Details for teaching team

Susan reviewed the structure of my project in its first incarnation, cloned it and provided me with an example of how I might restructure more efficiently. That example is here. After reviewing this example, I restructured my project, replacing what were previously logic php files with classes, creating controllers, and making my blade files more reusable with increased use of variables.

I imported the recommended packages for this project:

* badcow/lorem-ipsum
* fzaninotto/faker

Here is a list of the new folders and files I created within my Laravel framework for this application:

#####Created folders:

* p3/app/classes
* p3/public/css
* p3/public/images

#####Created files (ex images):

######* In folder: p3/app/classes * Warnings.php * Filler.php * User.php

######* In folder: p3/app/controllers * FillerController.php * UserController.php

######* In folder: p3/public/app/views * _master.blade.php * _child.blade.php (extends _master) * welcome.blade.php (extends _master) * error.blade.php (extends _master) * fillertext.blade.php (extends _child) * randomusers.blade.php (extends _child)

######* In folder: p3/public/css * stylesheet.css

Note that this file list does not include the built-in Laravel framework files that I modified (e.g. .gitignore, app.php, etc.).


#####View hierarchy:

master _master.blade.php _master.blade.php _master.blade.php _master.blade.php
child _child.blade.php _child.blade.php welcome.blade.php error.blade.php
grandchild randomusers.blade.php fillertext.blade.php

##Outside code and source material

In _master.blade.php, I call in the Bootstrap CSS stylesheet (version 3.2.0).

#####Image sources:

p3's People

Stargazers

Susan Buck avatar

Watchers

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.