Cuttlefish 0.6
Cuttlefish simplifies creating and deploying PHP websites. In version 0.6 this focus continues by simplifying tooling friction and making routing and controllers more powerful.
8 results found.
Cuttlefish simplifies creating and deploying PHP websites. In version 0.6 this focus continues by simplifying tooling friction and making routing and controllers more powerful.
I often use my side projects for experimenting with concepts and one area of interest is onboarding. Too often there are major hurdles and complexities in getting started contributing or developing web projects.
With Cuttlefish the goal is to be as approachable as possible and be productive after running a single command.
So I’m happy to say today I landed a few PRs in the main branch that add zero configuration project tooling in the guest when using vagrant🎉
Dependency management, linting, pre commit hooks etc are all ready to go after a vagrant up. I’m pretty chuffed.
It’s optional so you can still bring your own tooling and use the built in PHP webserver. Hopefully that should make it easy to get up and running and contribute.
Cuttlefish is my hackable web/blog framework. I’m doing most of the hacking and eventually you might blog.
Rubber ducking a bit. Working on the coupling of the controller name being linked to the content structure. For example /posts/x loads the post controller with the post model and content from content/post/x.md.
It felt intuitive but I’m not happy deriving a path literally from a class name. In Particular the post archive is an archive controller with a post model. Also feeds/post vs feeds/auctions or something.
Originally I went with contentpath being based on a controller name property. But because the model already specifies the fields available in the content that didn’t seem right
So doing some work around each model having a content path property but not 100% if that’s the right relation.
Feels like It’s doing two things. Routing and content types.
For instance if I want a /blog I’d probably create a blog controller with a post model with records loaded from content/blog.
Looks like the controller is registered to a path via the router and it dictates the content path after all.
Cuttlefish 0.5, my hackable blogging system, has been released - https://github.com/svandragt/cuttlefish/releases/tag/0.5
Made a strategic change in Cuttlefish to make it as simple as possible, instead of as a test bed for tooling tech. So I removed Docker and PHPDox support.
Things I'm working on:
| Project | Description |
|---|---|
| Psh | a PHP project tooling shell. |
| StreamCables | Stream now-playing info to services like Twitter. |
| Cuttlefish | a simple, easy to learn PHP web framework. Previously #carbon now #cuttlefish |
| Fresh Cookies | a privacy focused browser addon limiting expiry dates of cookies. |
| Hide Trackbacks | a WordPress plugin that hides pingbacks and trackbacks from your website comments. #hidetrackbacks |
| Repoman | a script to export and import a list of git repositories using an intermediate repoman.lst file. |
| 404 Fallback | a WordPress plugin to redirect 404s as 302 to your old site. |
| Taskfile | a task runner and manager for shell scripts. |
| Three Finger Slash | reverse cascade open windows on the current desktop. |
| Twelete | delete your old tweets. |
| Project | Description |
|---|---|
| WordPress 5.6 | Core Sitemaps feature. |
Cuttlefish is a PHP based hackable blog framework -- with the goals of being fast, easily hackable, and easy to adopt. I've been working on it since 2012, when it was known as Carbon. It can generate a static HTML site for uploading anywhere, or run dynamically.
Version 0.4 licenses the code as MIT, so anyone can build on top of the project. Cuttlefish now has API documentation courtesy of PHPDox, which is updated whenever code is changed. I've changed the code style from 'WordPress-like' to the PHP community default of PSR12. The project now comes with a Docker container which means getting up and running is even easier.
Install Cuttlefish is easy using the instructions. For a fuller list of changes see https://github.com/svandragt/cuttlefish/releases/tag/v0.4.
Known issue: I still have trouble getting Xdebug to work, if you're familiar with Docker Compose and Xdebug I could use your help.
For v0.5, now that the codebase is in a better state, I'm looking at adding more features again.
My hackable blog framework #Cuttlefish is nearing a 0.4 milestone and I’m very excited to have containerised the project and added basic API documentation using phpDox. Sneak preview the master branch at https://github.com/svandragt/cuttlefish