Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Config files

edited September 2012 in Future

Any thought to using just straight php for the conf files? Since elefant seems to be focused on speed and simplicity, what's simpler and faster then just including the file?

Comments

  • True, but at some point you might want to automate modifying config settings in the browser, in which case PHP-based configuration gets messy. PHP's ini parser is faster than json or yaml (I benchmarked :), and is easy enough to write (see Ini::write() in lib/Ini.php). It's also a bit less intimidating to non-developers than raw PHP :)

  • Thanks for the reply, I missed the part where it's written from the browser. Awesomesuace.

Sign In or Register to comment.