News for hackers. Stuff that matters.
Re:SiteCake: Tiny, simple, flat-file, drag and drop CMS by nubela on Monday June 15, 2015 @06:05AM (#9718429)
Cool, how does it work?
Re:SiteCake: Tiny, simple, flat-file, drag and drop CMS by potatron on Monday June 15, 2015 @06:57AM (#9718574)
Basically you just mark out some <div> tags as class="sc-content", and they'll become drag&drop WYSIWYG editable. The changes get written right back into the file, so you don't need anything other than PHP 5.4 and write permissions. You can even remove the SiteCake file again, and your site will just keep working (as static HTML).
Re:SiteCake: Tiny, simple, flat-file, drag and drop CMS by nubela on Monday June 15, 2015 @07:02AM (#9718595)
Amazing, thanks for this. This is one of the rare cases when PHP as a language shines for a use-case like this.