I did another batch of optimizations.
1/ That dropped the perf for registering 5,000 invalid services from 2.5
seconds to 2.0 seconds.
2/ That dropped the perf for registering 5,000 invalid services from 2.0
seconds to 1.4 seconds.
We still aren't linear here, unfortunately, registering 10,000
Is anybody using jquery for the validation via the MonoRail JQueryValidator
extension etc? Can you get it to validate when leaving a field like the
prototype integration does rather than waiting for the form to be submitted?
I reckon it makes a big difference to how usable the form is.
Cheers,
Sweet Ayende!!!
On Fri, Sep 18, 2009 at 1:48 AM, Ayende Rahien aye...@ayende.com wrote:
I did another batch of optimizations.
1/ That dropped the perf for registering 5,000 invalid services from 2.5
seconds to 2.0 seconds.
2/ That dropped the perf for registering 5,000 invalid services from
I've got a class like so:
public class WhiteBoardData : ModelBaseWhiteBoardData, ISearchable
{
[Property(ColumnType = StringClob)]
public string Text
{
get;
set;
}
[Property]
public int Revision
{
get;
set;
}
...
}
But when
Is there a simple method of ensuring the value of a property isn't
stored in plaintext in the database, like some sort of attribute? Or
do I need to write external getters and setters that decrypt/encrypt
the text while the activerecord property just maps the encrypted value
to the database?
You will need to make a user type for that (easy), or use the one provided in
this article. I tend to prefer making my own rather than taking a dependency
on another lib for just one little user type.