LiTWol @ Oleg Terenchuk

  • Contact
  • About me

User login

What is OpenID?
To prevent automated spam submissions leave this field empty.
  • Log in using OpenID
  • Cancel OpenID login
  • Request new password

litwol's tweets

  • Doing something differently leads to something exceptional — 48 weeks 6 days ago
  • ‹‹
  • 2 of 9
  • ››
more

Pre-generating drupal forms

Submitted by litwol on Mon, 07/20/2009 - 23:23

Theoretically we can pre-genrate drupal form output and cache it which then will be served instead of regenrating form html on every form view.

Few issues:
1) CSRF tokens make form caching useless.
2) Form action in HTML makes cross-page caching useless because on each page form action is set to be that page's URL.

Possible solutions:
1) Cache based on session_id, which is what the form token is based on
2) We can perform string replacement on the cached form output to correct form action.

  • Read more
  • 1925 reads

The cult of done

Submitted by litwol on Mon, 03/09/2009 - 17:46

I really enjoyed this post: http://www.brepettis.com/blog/2009/3/3/the-cult-of-done-manifesto.html
Cannot use it as the holy grail for my workflow, but i certainly should extract what matters to me from it and live by it. putting that on my todo list.

  • 1837 reads
  • « first
  • ‹ previous
  • 1
  • 2
Syndicate content

Recent posts

  • Developing PHP in VIM - VIM IDE for PHP
  • Creating custom fields using Drupal 7 field api
  • Creating 3d cube movieClip using Sprites and animating rotation through ActionsScript 3.0
  • Adding sprite from inside an external class onto stage and animating it using arrow key movement.
  • Playing with flash keyboard click events
  • Script to benchmark API execution time.
  • Very good dvcs guide
  • High throughput web architecture with drupal - *For authenticated users*
  • About me - Oleg Terenchuk
  • Note to self
  • Pre-generating drupal forms
  • Change memcached admin stats page
  • The cult of done

LiTWoL © Oleg Terenchuk - Hosted on Linode.com 512