flatfile cms du jour

Started by rcjordan, February 17, 2016, 02:51:01 PM

Previous topic - Next topic

rcjordan


Drastic

some very limited research I've done lately:
older:
http://pivotx.net/
http://flatpress.org/home/

newer:
https://getgrav.org/
http://picocms.org/
http://monstra.org/
razorcms

There's quite a few more of these out there.

I'm working on a short-list spec:

- pinging (outgoing only for notify of new posts) & way to edit sites pinged
- custom url structure for cats/posts
- image upload & rich text editor for client posting
- rss feed of posts
- no comments for now, ability to integrate fb/discus comments if client wants.
- runs on php
- uses flatfiles and no db connection
- easily styled using an existing html template to match the site, and run in a directory on the site

rcjordan

I just ran through docs on pico and grav. Pico has longevity going for it, but grav seems to *maybe* have less baggage.

One fatal issue I've run into before is image-handling.  If a cms just dumps user images into a big folder, it quickly becomes unusable for large sites or photo-rich sites because there are hundreds/thousands of image filenames to load and scroll through.

ergophobe

#3
I just came across one that looked good that was a Python/Django CMS, but I can't remember the name.

Here is an old thread on a similar topic (last few posts)
https://www.webmasterworld.com/content_management/4413562.htm

That topic is about generating a static site. Obviously a flatfile CMS is invulnerable to SQL injection, but it's still vulernable to pretty much everything else. That thread references static site builders (basically you run it locally or possibly on a server that's firewalled off from public access) and then after changes "publish" and push to live (commonly with git).



Drastic

>One fatal issue I've run into before is image-handling.   
Good point that I hadn't considered.

One thing I've been wanting to do is assemble the page with includes or shortcodes. Monstra or razor seemed to possibly be built or modified to make this work glancing over the manuals/docs.

>Python/Django CMS, but I can't remember the name.

Ok this is the second time this platform has been referenced for this. Another peer I highly respect is building a similar spec on this, it should move near or top of the list for investigation.

rcjordan

>posted a job on upwork

Maybe post that we're looking for someone in Hanoi??

rcjordan

 <added>
>assemble the page with includes

That's what I did on mine. With if-then. BEWARE! Pages get complicated *fast* --as in, what-was-I-smoking-when-I-did-this??  This is one of the reasons I want to migrate. It'll be easier to learn a new cms than figuring out the shit I did on that old one.

Drastic

>Maybe post that we're looking for someone in Hanoi??

Great idea, we need to hammer out the spec first and I'll do it. What I have posted several days ago only got 1 applicant who seems worthy but I need to do more homework on a platform.

>That's what I did on mine. With if-then. BEWARE! Pages get complicated *fast* --as in, what-was-I-smoking-when-I-did-this

Right and I don't want any logic involved for this reason. What my purpose is this html5 site with a lightweight flatfile blog in a dir. So, the blog page would have [header-hav] [side-nav] and [the-post] (simplified of course.) My goal is then to just take my html5 template and drop those includes in the responsive divs and it work on most any template.*  There will be some php logic for cats and chronological list of posts, but that should be about it for the heavy lifting. I'm not sure if what you want will fit into this minimal spec, so we may need two projects.

*Maybe this is a pipe dream, and please say so if you think it is, but hacking little apps like this in the past makes it seem like it should be do-able.

rcjordan

> hacking little apps like this in the past makes it seem like it should be do-able

Same.

>includes

IIRC from the docs, Grav looks like it does something like this.  I tried loading Grav last night, but it wouldn't work ...but I'm almost positive that my server guy keeps htaccess and permissions locked down.

Somewhere (Grav?), I saw a template that looked like the author listed the url that the file was going to be assigned rather than all the seo-url plugin bullshit. If I read it right, that'd be good.

>specs
Nested folders at least 4 deep. I've seen a lot of cms's that are forced to remain shallow. Sucks if you're doing deep categories.

Drastic

>IIRC from the docs, Grav looks like it does something like this.  I tried loading Grav last night, but it wouldn't work ...but I'm almost positive that my server guy keeps htaccess and permissions locked down.

Stick wamp on your pc and play around locally. It's piss easy as gimp would say.

>Somewhere (Grav?), I saw a template that looked like the author listed the url that the file was going to be assigned rather than all the seo-url plugin bullshit. If I read it right, that'd be good.

yes, exactly. Plugins? NOOOOO!

>Nested folders at least 4 deep. I've seen a lot of cms's that are forced to remain shallow. Sucks if you're doing deep categories.
I'm not sure how this might complicate things (or not), but if that's all you need, I ain't skeered.

I'm assholes and elbows deep in building this agency. If you can take the reigns on figuring out which platform looks best to start on, or narrow the list to 2-3, I'll run the dev on it if you want. I'm managing a lot of shit this way now and wouldn't be much to add one more, already trying to anyway.

rcjordan

Don't sweat it. You've already answered my idea about WP.  I think I'll revisit Grav --but not right away. Tax season.

>hack

Grav and most others are using .mb files and markup.  There are a few very simplistic cms's like Yellow that appear to write .mb files in markup.  In the past, I've been successful merging systems that have near-identical infrastructure to do quick-n-dirty functions the primary one didn't have. Yellow has an online editor. It might write the markup files Grav needs.

Drastic

ok, no sweat. I'll keep playing at it as I have time. Keep each other updated when we can.

You have any interest in a django/python solution?

rcjordan

I have interest in everything. The trouble is in execution.

>python etc

Debbie says those like Jekyll aren't as simple as we'd like.

Maybe we can get us a few independent programmers/cms-devs to vet in Hanoi.  In the past, we could have used E EU but those damn vikings have spoiled those guys.  Besides, we have a hit-man in Hanoi if they get out of line.

rcjordan

<added>

>simple

And if you're talking clients, it has to be DOG simple.

Drastic

lengthy convo with a dev this am. Django probably overkill.

He said to check out ghost, needs node to run.

https://ghost.org/