BelmondoTech

nosql:

Uncle Bob:

The center of your application is not the database. Nor is it one or more of the frameworks you may be using. The center of your application are the use cases of your application. […] If you get the database involved early, then it will warp your design. It’ll fight to gain control of the center, and once there it will hold onto the center like a scruffy terrier. You have to work hard to keep the database out of the center of your systems. You have to continuously say “No” to the temptation to get the database working early.

Original title and link: NO DB - the Center of Your Application Is Not the Database (NoSQL database©myNoSQL)


Move negative sign from back of amount to front (SQL)

SQL snippet to handle moving the negative sign in an amount string at the end of the string to the front and casting to MONEY:


Force refresh of CSS/JS files

Today I made some changes to a CSS file that spans our web app and deployed to our production environment. Soon after I uploaded my changed I started hearing from end users that a few of the screens were not looking “right”. The issue was because I did not change the the CSS file name IE was still using the cached version of the CSS file on the end users machines. Clearing out the browser history or hitting CTRL+F5 solved the problem but it got me thinking that a change like this really shouldn’t require the end user to do anything. 

So from now on when I make changes I will be including a version number on my CSS/JS files by attaching a simple query string to the end similar to that below. This will force the latest and greatest to be loaded.



thedailydev:

Several cool debugging/tracking/inspection tools for different browsers.  And having been forced to use it recently, I’m sure that most of these probably beat the IE developer tools.

#development #d


#development #d


thedailydev:

Or, if you’re Cringely, do.  Pretty funny :)


thedailydev:

This is so true it hurts.  I can’t even count the number of times I’ve arrived at a solution while trying to describe what my problem was.  This also works when a couple of you can’t come up with a solution - talk through it, describe every step of the process in detail, and most of the time, an answer will become clear.


KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database. The databases are encrypted using the best and most secure encryption algorithms currently known (AES and Twofish).

#Utilities #d


JSON, ASP.NET Web Services, and JQuery

I’ve been playing with creating .NET web services and calling/displaying the results in a page using JQuery.

The following link is the source code of my testing. It has two pages(Books and Cars) doing simple calls to .NET services returning lists (List<>) of .NET objects and then iterates/spits out the results to a div using JQuery.

Test JSON and .NET Web Services

(File is a zip you can download, code was written in VS2010)


#jquerymobile #d