Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts
Monday, December 22, 2014
IndexDB... There is potential here.
Originally posted 2014-12-22
I have recently been looking into IndexDB which is available on most newer browsers. IndexDB is the only database that both Firefox and IE support for local/client database storage . Chrome supports both IndexDB and WebSQL. Firefox has sworn never to support WebSQL and WebSQL has been depreciated in standards groups.
At first I can tell you I thought IndexDB sucked. I am from old school and know SQL and relational databases. IndexDB doesn't have any of the relational structures that I am used too and it is missing all types of functions. Personally I thought it was a key/value/value design on steroids but not a database. I could not understand what the big deal was about and was quite upset that both IE and Firefox would choose this crap as their one and only local/client-side database.
IndexDB uses "new" terms for things(sort of)... Tables are Stores, Fields are Properties. However, Properties are Fields on steroids. This is where I saw the huge advantage. You can store arrays in a property. Even better, you can search arrays.
So what?
Look at how current relational databases handle fields that need arrays(multiple entries)... They create "related" tables. Here is a perfect example... Contacts. Often we create separate tables to track multiple occurrences of something(like phone numbers, addresses,etc). We then need the whole relationship deal happening. Not in IndexDB... We can store the phone numbers as a multidimensional array... All in the same store!!!! Who needs relations and their complexity? The very few exceptions are outweighed by the benefits under most situations. The ability to group all the related stuff together as an "object" is huge in my opinion.
Of course you know there had to be a down side... For some reason IE does not support storing arrays at this time? Go figure. It is part of the standard so I expect IE will support it soon. The other issues... very different from SQL design/code requires learning, the lack of built in functions that come with SQL, reports-unless object centric... When IE starts to support the ability to store arrays IndexDB is a clear winner... The speed benefits others talk about could be available if we didn't have to handle relationships. Until then be patient. You can use custom libraries like Dojo to simplify the process and add functionality missing in IndexDB but I try and avoid using these libraries personally. I find I only want to use 2 functions out of the 400 they provide so they create bloatware which hurts us all.
I am sure I will find other advantages/disadvantages in the future(like security) but that is a future update ;)
At this point start getting into it but I think it has a ways to go for most mainstream applications.
Monday, February 22, 2010
Do NOT save passwords if using Google Chrome
If you are using Google Chrome as your personal browser(which I have recommended and am questioning now) DO NOT ALLOW GOOGLE CHROME TO SAVE ANY PASSWORDS!!! Why you ask? Simple. In their infinite wisdom Google decided that anyone that has access to the device can look up ALL the passwords you have saved in it.
This is CRAZY!!!!! Wasn't anyone thinking of security....AGAIN! I found this by fluke but if you choose "Options" from menu, then choose the "Personal Stuff" tab, there is a button called "Show saved passwords" that like it says shows a list of the sites, the userid AND password you entered. Talk about giving away the farm. Why would you ever allow ANYONE to see the password!!! Defeats the whole idea of security.
Now you know why I m quickly taking back my recommendation of Google Chrome. These bimbo's don't seem to understand the first thing about security. Anyone I know with a couple of years experience could see all types of problems allowing this... And they want to replace Microsoft??? Things are not looking good folks ;(
This is CRAZY!!!!! Wasn't anyone thinking of security....AGAIN! I found this by fluke but if you choose "Options" from menu, then choose the "Personal Stuff" tab, there is a button called "Show saved passwords" that like it says shows a list of the sites, the userid AND password you entered. Talk about giving away the farm. Why would you ever allow ANYONE to see the password!!! Defeats the whole idea of security.
Now you know why I m quickly taking back my recommendation of Google Chrome. These bimbo's don't seem to understand the first thing about security. Anyone I know with a couple of years experience could see all types of problems allowing this... And they want to replace Microsoft??? Things are not looking good folks ;(
Sunday, February 14, 2010
Internet Explorer.... The modern Edsel? Don't write it off yet ;)
First off, I use Google Chrome V4 now and am a recent convert from Microsoft's Internet Explorer(IE8). I have noticed a lot of IE bashing lately particularly related to standards support. I find this rather ironic since most of the things mentioned as non-standard are items that IE implemented as far back as IE3 but because the standard didn't exist they created their own. Things like opacity and shadows that everyone hypes in CSS3 were all working fine in IE3!!! Things still being worked on like transitions in CSS have been in IE since beta3. HTML5 items like databases and custom tags were all part of IE3 & 4. My demo site that was made exclusively for IE4+ used these and many other cool capabilities that were not available in any other browser. That is when all the competition disappeared and IE got slower and sloppier with every release.
Now I see many people writing IE off. I do not recommend this for business at this time! Microsoft is too large a company to just roll over and let this happen. Remember when Netscape said the same thing... Netscape was going to be the browser... Woke up Microsoft who then crushed Netscape. IE9 is going to reduce the complaints by being faster and more standards compliant and by IE11 I suspect they will be in the battle again, maybe even dominating. I also think the versions will be coming faster now there is competition.
Now on the other and... It would make sense to me for Microsoft to totally drop the browser and let others build them to run on Windows systems. After all they don't make any money on the browser. It would be quite an achievement to put something like Firefox on all Microsoft systems(I can't see Chrome with the Google/Microsoft wars ongoing).
This war really doesn't matter so don't invest to much into any specific browser. Try to go with browser neutral code or at least code that degrades gracefully like CSS.
Now I see many people writing IE off. I do not recommend this for business at this time! Microsoft is too large a company to just roll over and let this happen. Remember when Netscape said the same thing... Netscape was going to be the browser... Woke up Microsoft who then crushed Netscape. IE9 is going to reduce the complaints by being faster and more standards compliant and by IE11 I suspect they will be in the battle again, maybe even dominating. I also think the versions will be coming faster now there is competition.
Now on the other and... It would make sense to me for Microsoft to totally drop the browser and let others build them to run on Windows systems. After all they don't make any money on the browser. It would be quite an achievement to put something like Firefox on all Microsoft systems(I can't see Chrome with the Google/Microsoft wars ongoing).
This war really doesn't matter so don't invest to much into any specific browser. Try to go with browser neutral code or at least code that degrades gracefully like CSS.
Subscribe to:
Posts (Atom)
