Christian Zuckschwerdt's blog

Ruby -vs- PHP Showcase: nsupdate script


This a showcase of a Ruby script competing with a PHP script. The main focus is on useability and ease of implementation. The scope is a single simple script (say 10 to 100 lines).

session :no_cookies => true, :except => [ :login ]

#rails #ruby

Do all those new web2.0ish sites need to throw cookies at the casual viewer just on the first page? Isn’t there a short and sweet way to stop rails from throwing cookies like there is nothing to them? Ok, that’s not a question. Rails always delivers!

Option Switch Helper for Rails

#snippet #rails #ruby #development #helper

There are always some options for your page. Perhaps the number of items to display (articles, picture, projects, …). Or the sort key for those. Preferably you set some sane defaults. But you’d like to enable your visitors to change those?

About the Author

Hi there! I'm Christian Zuckschwerdt a freelance software designer from Germany. On this blog I'd like to share some free and open source software for GNU/Linux and Apple Mac OS X.
There are also some themes and tricks for the Drupal CMS. And then the occasional hardware or gadget hack. It's all free and mostly licensed under the GPL or CC.
Write a comment or send me a mail. I love to hear from you!

About FOSS

Do you know how much free and open source software is involved in creating and delivering some basic web pages?

This triq.net blog is rendered by hexo themed with nunjucks compiled by nodejs served by apache httpd secured with openssl stored on MariaDB running on gentoo linux, edited with vim deployed by openssh, graphics done with inkscape and gimp.


triq.net blog
© 1999 – 2018 Christian Zuckschwerdt.
Datenschutz / GDPR