Author Topic: flatfile cms du jour  (Read 20534 times)

rcjordan

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
flatfile cms du jour
« on: February 17, 2016, 02:51:01 PM »
Anybody tried this?

https://getgrav.org/

Drastic

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #1 on: February 17, 2016, 04:35:54 PM »
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'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #2 on: February 17, 2016, 04:49:59 PM »
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

  • Inner Core
  • Hero Member
  • *
  • Posts: 9294
    • View Profile
Re: flatfile cms du jour
« Reply #3 on: February 17, 2016, 05:35:17 PM »
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).


« Last Edit: February 17, 2016, 05:38:03 PM by ergophobe »

Drastic

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #4 on: February 17, 2016, 05:50:48 PM »
>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

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #5 on: February 17, 2016, 05:54:57 PM »
>posted a job on upwork

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

rcjordan

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #6 on: February 17, 2016, 05:59:52 PM »
 <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 sh## I did on that old one.

Drastic

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #7 on: February 18, 2016, 01:19:16 PM »
>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

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #8 on: February 18, 2016, 01:32:16 PM »
> 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

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #9 on: February 18, 2016, 02:15:10 PM »
>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 p##s 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 sh## this way now and wouldn't be much to add one more, already trying to anyway.

rcjordan

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #10 on: February 18, 2016, 03:02:52 PM »
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

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #11 on: February 18, 2016, 03:48:09 PM »
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'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #12 on: February 18, 2016, 04:02:35 PM »
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

  • I'm consulting the authorities on the subject
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16349
  • Debbie says...
    • View Profile
Re: flatfile cms du jour
« Reply #13 on: February 18, 2016, 04:04:45 PM »
<added>

>simple

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

Drastic

  • Need a bigger hammer...
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3087
  • Resident Redneck
    • View Profile
Re: flatfile cms du jour
« Reply #14 on: February 19, 2016, 03:51:06 PM »
lengthy convo with a dev this am. Django probably overkill.

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

https://ghost.org/