How would you like to have a project that has these features? Dependency Injection Entity Framework 4.0 with POCO Inversion of Control with Castle The IResult jQuery jQuery Ajax Posts jQuery Custom Css jQuery Validation Mocking with Rhino Mocks MVC 3/Razor MVC Annotation Based Validation What I call the Repository Pattern Unit Tests – Integration [...]
Pycharm: Change Error Alert Color/Style
Once again I’m using my blog to help remind myself of something later, but you know what? I’m OK with that. Took a little bit to find this one, but changing the color of Errors and Warnings makes it hell of lot easier to find them. Go figure that the default “barely more grey than [...]
Mock SQLAlchemy scoped_session query and Why Python is My BFF
sqlAlchemy has sessionmaker to create a session from which you can use query to get whatever you need. For example: someSession.query(SomeTableRepresentationObject).filter…ect If you’ve used sqlalchemy, nothing new going on here but it wouldn’t be me if I didn’t point out the obvious and take three sentences to do so. Now what you may run into [...]
jQuery Validation with Multiple Checkboxes
So this one is done on request and because I am a kind of merciful god I will grant this request. For those bullet point programmers: The working demo can be found here The code can be easily downloaded Now when I say validation, I mean the validation plugin. and this example is built using [...]
SqlAlchemy: Self Referential Many To Many
Ok this was just plain annoying to figure out. A couple of misteps and a few F—! later I finally got it. So the situation is this: You have a table for user to ignore users. So it’s basically a many to many where both sides of the relationship are the user table. The creation [...]