6 ms·
I'm building a CMS in the same vein as the others (WordPress, etc.) and made static page caching a first-class feature that bypasses the autoloader completely.
by CiPHPerCoder 11y ago
I'm building a CMS in the same vein as the others (WordPress, etc.) and made static page caching a first-class feature that bypasses the autoloader completely.
https://github.com/paragonie/airship/blob/e24ea5a4605336b17190cefc300660b13c2a9535/src/public/index.php#L30-L55 https://github.com/paragonie/airship/blob/e24ea5a4605336b171...
This is something that really ought to be baked-in in 2016.
- nickpsecurity 11y agoCool stuff. Also libsodium by default as I expected. :) You got a summary page listing the features and advantages of the CMS for those that don't do PHP? Other than probably extra attention to quality/security. As usual, I'll pass the info along to people online that might benefit from it.
- CiPHPerCoder 11y agoIn fact, I do. It's still beta software (and the design used in the screenshot is out-of-date already). https://paragonie.com/project/airship https://paragonie.com/project/airship Working on the PKI and plugin distribution system right now, so people can make/share themes and whatnot.
- nickpsecurity 11y agoAlright. Bookmarked. So, it's a basic CMS for the niche of people/companies who need more security or uptime than feature bloat. Has better update policy and works hard to make some security features more usable. Am I reading it right?
- CiPHPerCoder 11y agoYep, that's about it in a nutshell.
- nickpsecurity 11y agoAlright, I'll pass it along to PHP people starting new sites as I run into them.
- nickpsecurity 11y agoHey, while you're on, I have a quick question. I've avoided PHP in favor of more static, safe languages with small TCB's. Early on, I thought about reimplementing the runtime/libs in one or compiling it to one. Discovered Quercus PHP on Java system that claimed benefits of both. Had potential given Java gets constant bughunting and has many implementations. What do you think of compiling PHP plus libs for app compatibility to something like Rust, Ada, or Cyclone where possible? And do you know if anyone has assessed quality/security of Quercus/Resin code in particular? Seems something like that compatible with WordPress or Airship could be quite a boost in defense of code injection at system level. Performance, too, as we saw with HipHop.
- CiPHPerCoder 11y agoI think that would make for a very fun research project, especially if a memory-safe language like Rust were used. In addition to your examples of Quercus and HHVM, someone is currently working on compiling PHP to .NET: http://www.peachpie.io http://www.peachpie.io I'm not aware of any security audits on any of these efforts.
- nickpsecurity 11y agoWell darn. I was hoping someone had reviewed them. Good to see positive feedback on the concept, though. Btw, there's also Phalanger for .NET: https://en.wikipedia.org/wiki/Phalanger_%28compiler%29 https://en.wikipedia.org/wiki/Phalanger_%28compiler%29 Already runs WordPress, phpBB, etc. Anyone doing this sort of thing on .NET might consider starting with contributions to it. I'm trying to avoid CLR and JVM due to runtime complexity where possible. Aside from Rust, Go is another possible target for a simple runtime.