Git Product home page Git Product logo

cuttlefish's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cuttlefish's Issues

Static site generation

Currently, pages become static after their first request. Would want to be able to generate the whole site so that I can keep the PHP locally and deploy just the static pages.

call generate cache from powershell

Before deploying make a new full cache. call .\carbon.ps1 generate

generate function should read the password out of the configuration file and then make an authorized POST request., which generates the cahe.

Better profiling

Elapsed time surely can't be less then a milisecond, when Chrome says it takes 2 to 3 for a cache miss request.

Rename project

Goals are:

  • simple to learn
  • easy to extend
  • fast by default

Rename this something less generic

Make request class pure

Instances that are reused outwidth the function should be instantiated outside the class.
Code such as $this->Environment = new Environment(); which is then later referenced is too complex to think about.

Example sites

Make the following example sites to show off capabilities:

  • blog
  • small page based site
  • portfolio / photo gallery

Smartypants

should be trivial to add smartypants for "curly braces" and solid dashes.

Images broken

[Sun Jan 22 02:05:49 2017] ::1:54196 [404]: /images/carbon/logo.png - No such file or directory

Redirects

Redirects will be needed sometime

Posts with images?

will have to store the images in /contents/images or with the posts hmm

No posts loop

Not yet implemented:
Showing last X posts on frontpage. (currently lists all posts, not even chronically correct)

Smartypants

should be trivial to add smartypants for "curly braces" and solid dashes.

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.