Code Monkey home page Code Monkey logo

appify's Introduction

This is Appify!

A simple base to start and build your next minisite.

Just clone it from github and start building

It starts with a really simple gulp configuration to let you speed up your development process, you will find connect, to start a web browser, gulp-sass and autoprefixer to give superpower at your css. (Man, I love sass! And if it comes with autoprefixer... Just can't get enough.).

Basically all you need to do is: Download or clone the project from github, run npm install to have your npm ready and start coding!

The html structure is easy.

You will find a header with a div to let you add your logo and a simple navigation on the right.
Then you have a div with class content where you should put all the content that your page will need and a script section at the end.

The header is where the magic happen, links there have an EventListener added to let the navigation appify.

Basically when you request a new page from a link in the header section instead of a normal http request you will fire an XMLHttpRequest (vanilla js for ajax). Appify will get the body part of the page, it'll cut the header section and the script section and the .content section of the page requested will replace the first one

What are you waiting for? Check the live example on github pages: http://dbertella.github.io/appify/

To be done:

  • Make possible to inlcude external scripts
  • Change page title with the .content

Tell me what you think @_denb

appify's People

Contributors

dbertella avatar

Stargazers

 avatar  avatar  avatar

Watchers

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