Articles Tagged 'Microsoft'
While Microsoft, via his blog on IE7, gleefully announces the "fabulous" figure of 100 million installations of IE7 in early January 2007, rumors of a possible version of Safari (the well-known although now obsolete browser - natively - Mac) for Windows.
Microsoft meanwhile is happy to see that IE7 is the second most used browser after IE6.
All this happens when there are still several locations in IE7, so it is understandable the absolute confidence of Microsoft in its new browser, in "sight" even the release of Vista (excuse the play on words)!
It is therefore really necessary to "bring" Safari on Windows?
Mary Jo Foley, in his blog, has tried to ask all the users . Vote too.
For now the results are:
Clearly, if these "rumors" are true, iPhone, Apple's latest wonder, might be involved somehow.
Certainly the new Apple iPhone is preferable to use FireFox or Opera, Apple always make this possible. On a normal Mac, according to end-user, Safari for some time it knocks, making innavigabili some sites.
However, we can see in these speculations as the presentation of the new Apple iPhone has shaken something.
More ...
By now we expect from Microsoft pretty much everything, especially when it comes to browsers. Offend the intelligence community, however, is a little 'ugly to accept.
The Blog of IE7 is released an article today ( IE + JScript Performance Recommendations Part 3: JavaScript Code Inefficiencies ), if we can define it by Peter Gurevich, Performance PM for IE, with part III of his "advice" for developers.
First fact: why Microsoft insists on implementing its own version of JavaScript - JScript calling precisely - complicating the lives of everyone?
Second fact: just because the JScript engine is owned by Microsoft, instead of wasting time talking to "us" how to get around the defects, why not settle them once and for all?
Leaving aside the first suggestion of this Part III, which can be read directly on the blog or on Ajaxian , the second is really striking, and I really do not diregisco own.
Do not use Property Accessor Functions
When you say progress! Right in 2007, a Project Manager of Microsoft is telling us developers do not use the get and set functions in JScript!
Madness, of course, is a strange illness that affects so sudden and misleading. JScript - JavaScript style - is implemented following an object model! It is an object-oriented language, in the wake of the C + +. The fact that the variables are accessible from the outside (as outlined in the article - obvious by the way) is definitely not a boast, quite the contrary. The encapsulation technique is its philosophy of OO programming. Capping property, going from virtual-method get and set a force of Object Oriented language, not a limit. Advise not to use them is nothing short of criminal, and any performance problems and the interpreter shall be borne by its authors, not the end-developer.
So in the end, JScript is used as a simple C, woe to treat it as C + +, otherwise "impallare" the browser or whatever.
Also, as noted on the blog, everything is a false problem because JScript NOT implements the real functions get and set, just Javascript it does!
But the problem, of course, remains. In JavaScript (JScript sorry but I just can not digest it) there are various techniques to create an object. For example, you can create on the fly like this:
1 2 3 4 5
| { var myObject = { , miaProprieta: 0,
( ) { alert ( "Hello" ) ; } mioMethodo: function () {alert ("Hello");} }; |
In this way I have not declared a class. The object is declared and created, so to speak simultaneously. It is a quick way when the object we need is unique.
Or, which is equivalent for all practical purposes:
1 2 3 4 5 6 7 8
| CMyObject function () { = 0 ; this. miaProprieta = 0;
= function ( ) { alert ( "Hello" ) } this. myMethod = function () {alert ("Hello")}
} / / new CmyObject ( ) ; iMyObject CMyObject var = new (); |
) e poi si crea esplicitamente l'oggetto con new . In this case we first define the class - using a function - ( CmyObject ) and then explicitly create the object with new .
Aside from stylistic issues relating to the individual developer, the problem of how to access the properties of a class remains. I highly recommend to all concerned, comumque, read the answers to Microsoft's blog, really interesting.
Blog on, there were three ways of access: with get and set functions, direct and moving from prototype. Eventually the nice thing was that on the blog there is a code to perform a Testdrive, a test of the three methods mentioned above. The code is present on the blog but I reproduce it here for completeness:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| <Script> / / Definition Slow Car SlowCar function () { = 17 ; this. m_tireSize = 17; = 250 ; // One can always dream! this. m_maxSpeed = 250, / / One can always dream! = SlowCar_get_tireSize ; this. GetTireSize = SlowCar_get_tireSize; = SlowCar_put_tireSize ; this. SetTireSize = SlowCar_put_tireSize; } SlowCar_get_tireSize function () { ; return this. m_tireSize; } value ) SlowCar_put_tireSize function (value) { = value ; this. m_tireSize = value; } </ Script>
<Script> / / Faster Car, no more property accessors FasterCar function () { = 17 ; this. m_tireSize = 17; = 250 ; // One can always dream! this. m_maxSpeed = 250, / / One can always dream! } </ Script>
<Script> / / Prototype Car, use the language features! PrototypeCar function () { = 17 ; this. m_tireSize = 17; = 250 ; // One can always dream! this. m_maxSpeed = 250, / / One can always dream! }
= function ( ) { return this . m_tireSize ; } ; PrototypeCar. Prototype. GetTireSize = function () {return this. M_tireSize;}; = function ( value ) { this . m_tireSize = value ; } ; PrototypeCar. Prototype. SetTireSize = function (value) {this. M_tireSize = value;}; </ Script>
<Script> Testdrive function () { new SlowCar ( ) ; // Safe and reliable, probably not fast slowCar SlowCar var = new (); / / Safe and reliable, fast Probably not new FasterCar ( ) ; // Lacks air-bags, probably faster fasterCar FasterCar var = new (); / / Lacks air-bags, Probably faster new PrototypeCar ( ) ; // Can technology win the day? protoCar PrototypeCar var = new () / / Can technology win the day?
( new Date ( ) ) . getTime ( ) ; var start = (new Date ()). getTime (); var i = 0 ; i < 100000 ; i ++ ) { slowCar. SetTireSize ( slowCar. GetTireSize ( ) + 1 ) ; } for (var i = 0; i <100000; i + +) {slowCar. SetTireSize (slowCar. GetTireSize () + 1);} ( new Date ( ) ) . getTime ( ) ; var end = (new Date ()). getTime (); "Slow Car " + ( end - start ) + "<br>" ; outputs. innerHTML + = "Slow Car" + (end - start) + "<br>";
new Date ( ) ) . getTime ( ) ; start = (new Date ()). getTime (); var i = 0 ; i < 100000 ; i ++ ) { fasterCar. m_tireSize += 1 ; } for (var i = 0; i <100000; i + +) {fasterCar. m_tireSize + = 1;} new Date ( ) ) . getTime ( ) ; end = (new Date ()). getTime (); "Faster Car " + ( end - start ) + "<br>" ; outputs. innerHTML + = "Faster Car" + (end - start) + "<br>";
new Date ( ) ) . getTime ( ) ; start = (new Date ()). getTime (); var i = 0 ; i < 100000 ; i ++ ) { protoCar. SetTireSize ( protoCar. GetTireSize ( ) + 1 ) ; } for (var i = 0; i <100000; i + +) {protoCar. SetTireSize (protoCar. GetTireSize () + 1);} new Date ( ) ) . getTime ( ) ; end = (new Date ()). getTime (); "Prototype Car " + ( end - start ) + "<br>" ; outputs. innerHTML + = "Prototype Car" + (end - start) + "<br>"; } </ Script>
"TestDrive();" > Test Drive Cars !</ button > <Button onclick = "testdrive ();"> Test Drive Cars </ button> "output" ></ div > <Div id = "output"> </ div> |
Now, this is the output (on my machine) with IE7:
Slow Car 515
63 Faster Car
547 Prototype Car
With Firefox (v.2.0.0.1):
Slow Car 156
47 Faster Car
172 Prototype Car
With Opera (v.9.10):
Slow Car 172
47 Faster Car
172 Prototype Car
In short
IE7 comes out really bad ... I do not know if you notice the huge difference. So I would say that JScript could be abolished, eliminated, erased, vaporized. We hope that Microsoft decides to take her too Javscript and surrogates.
More ...
It is time to take a decision. The year 2007 has now started and is then unnecessary indulgiare further. Microsoft Vista is coming, and 2008 will be his year. Windows XP is about to give way to the last born at Gates, last - among others - of its kind.
So it is obvious - if someone had not noticed it - a certain urgency in updating the major tool of the century (if not the millennium), or the browser.
Recently released as an automatic update - but optional for reasons of monopoly and antitrust - Microsoft Intrenet Explorer 7 for owners of Windows becomes an obvious choice. The update is strongly recommended especially for reasons of accessibility on the Web and sucurezza The discovery of flaws in the code is not new, but recent versions are known to be less vulnerable to attack because hackers have not had time to discover the holes from which insinuate hacks and worms.
So here's 5 good reasons, in my opinion, to go immediately to the Internet Explorer 7 (IE7):
- It is the next generation of browsers, so better just get familiar with its new features
- Improved stability and security
- Better care about updates and add-in support
- Improved navigability on the Web, where the technology used in IE7 is close to that already present in most other popular browsers like FireFox, Opera, etc. ... so - finally - be able to properly view some Web sites, now navigable only with FireFox
Why be left behind? 
More ...
The Blog of IE7 is released an article ( IE6 and IE7 Running on a Single Machine ) that could improve the sleepless nights of many Web developers! Microsoft has realized (thankfully) that the advent of the Internet Explorer 7 because, in fact, the abandonment of the previous version 6. In fact it is not possible to combine both browsers on the same machine. For end users this is not a problem, but for Web developers who want to maintain compatibility with version 6 is a real disaster. The solution proposed for several other blog, is to use a virtual machine like VMWare or Virtual PC setssa of Microsoft.
The indication is to be installed on the real machine the last major release of the browser, version 7. Then acquire a player or a virtualization software to run well in this environment virtually separated the old version 6 of explorer.
NOTE:
Microsoft also provides a file with an already virtualized, downloadable at:
http://go.microsoft.com/fwlink/?LinkId=70868
This translates into a file .vhd file, not usable with VMWare. Besides, who owns a Windows XP Home - how to see - can not use Virtual PC 2004 from Microsoft that requires at least Windows XP Professional (on site you can find this really bad!).
However, if to be an April Fool, April 1, 2007 this virtual machine is no longer usable! The Blog is however stressed that the development team hopes to release any future updates of these prepackaged virtual machines.
Morale, however, this solution is approximate and does not meet all really! Should be allowed to use VMWare and then released a virtual machine compatible with this software, clearly competing with Virtual PC 2004 - Microsoft recently released free
- Or travare a way to convert the file. Vhd files from Microsoft in a VMWare acceptable. If you have any suggestions ...
More ...
Conitnua to astonish the total difference in yield between different browsers on the market. IE7 is the PNG (8-bit or 24) so different from FireFox. Even Opera is not free from some strange event about it. In particular, the PNG used as wallpaper are made differently than IE7, Opera and Firefox. This is what performs best of all and in this regard it is time to appoint browser's "century"! Congratulations to the development team.
IE7 creates a nice effect of shear on a PNG image used as background in repeat-x. If you try to create an image of 200 × 200 pixels with a gradient from black (0 × 000000) to gray (0xEEEEEE) vertically and placed in the body in the CSS as a background orizzonale repeat (repeat-x), setting the background body color 0xEEEEEE - ie the end of the gradient, you will notice that only FireFox makes it perfect detachment, IE7 and Opera show a nice cutting effect (but slightly different!): in practice we see the end of our image 200 × 200 and the start of the background to color plate.
One way to solve this problem is to save our image to GIF ...
But the NPCs were not supported by IE7?
More ...
And 'the hour - for Web developers - to take drastic measures against the obstinate craze of the incompatibility between browsers. We propose, therefore, a sympathetic boycott of Microsoft Internet Explorer 7 that, after years of development, blogs, white papers and referendum, continues to exhibit pronounced symptoms of chronic incompatibility. Sorry in the end constantly criticizing the work of "colleagues" in Redmond, but the defects found in the latest release of Internet Explorer are so macroscopic that can not be perceived as mere oversights.
The most worrying thing is the presence of bugs already present in the sensational version 6 of IE! You can not, therefore, accept such behavior from those who have a monopoly of the undisputed most popular Internet browser. Unfortunately, in fact, Internet Explorer 6 is still the most used browser, FireFox although in recent years has walked proudly on his way to a successful round deserved.
Just then, with Patch HTML, CSS and JavaScript (or JScript?)!
Browser all the same?
Some argue that a perfect compatibility between browsers will never be reached. In fact, what is the real difference between Internet Explorer and FireFox? To date, the functions of feed, zoom, cards, etc ... are present on almost all browsers on the market, from Safari to Opera. So which one to choose? Maybe you should not choose! It 's just that what is lacking. Today, however, we are all forced to choose, either as a Web Developer that as the end-user. Experience, in fact, teaches us that the site is navigable with Safari, but the other only works with FireFox. In practice, on your machine, you should have at least 3/4 browsers to make sure you browse the Internet with confidence nell'immmensità!
Support which it seems absurd!
And the beauty is that this is already done!
If you add a site to your favorites you must remember to export it in four other browser, otherwise if you are ever to sail tomorrow with a different browser just can not find the link that you were - rightly - is stored. If you store a certificate of your bank? The lists of feed? In short, this is a game in the massacre, not computer!
We should first of all settle once and for all the question of visual browsers (CSS / HTML / XML, ...) and compatible scripting (JavaScript / JScript). Without this, then, impress the world with a browser capable of possessing its own characteristics and not a copy of those of another!
Each of us is free - or should be free - to install on your PC, the browser you deem appropriate. The issue is that this freedom is denied by the incompatibility of the browser and the Web Developer work becomes laborious, expensive (in terms of time and money) and not very efficient, with continuous risks of hidden bugs and other flaws!
More ...
In Redmond must have some big problem on the uptake! It is wonderfully absurd that at the end of 2006 there are still the basis for a - well - approximate compatibility between IE7 and Firefox! Despite the official release - albeit with a limited set of locations - 7 of Internet Explorer, the page rendering engine still suffers from obvious flaws programming! Without going into many details averted list only two high profile bugs still present in this official release!
First of all NPCs are made differently from GIF ... and, worse still, in absolute position undergo strange contours depending on how it runs on IE! Obvious bug? O madness of some junior developer?
On the CSS pseudo class: hover is still not supported on all TAG, although many take for the blog running! But which system? See W3C ...
A simple p: last-child is virtually ignored! Microsoft has rightly supported p: first-child. Now, if it implements the first thing that costs you implement even last? Mystery ...
The apex of the absurd, then, is obtained with bulleted lists! Hear hear! IE7 behaves exactly like IE6! From the series: you have brought with flawed code? Too many copy and paste of course! If definitie a list with the canons and a custom image as UL LI list-point, do not try to use a float element LI, the picture disappears mysteriously, just as they did on IE6! The one, needless to say, to make things right is the usual - old - FireFox!
Blog IE7 there are numerous complaints. Although it appreciated the efforts of the Microsoft behemoth to start a blog during the development of a software like IE7, however, remains the question of the effectiveness of this move. They really listened to the requests of users-developers? The blog has been opened with IE7 too late?
Once again we have to wait for a service-pack next adventure ...
More ...
Version 7 of Microsoft's browser was (finalemente) released in English (it was released almost simultaneously with the release of FireFox 2). In short - through the Windows Automatic Update service - will be installed on millions of machines, such as system patches. Someone has already criticized this move by Microsoft umpteenth shouting misconduct. Web developers, however, more interested in knowing what will Internet Explorer 6 (IE6) and how will comportarso in developing Web sites
The release through Windows Update is scheduled for early November! It follows that within a week will be nice that IE6 buried. Web developers will have to upgrade your PC of course, found herself without a version 6 of which make the canonical test of compatibility.
It is clear that those who - like us - is absolutely manic updates and must have the latest release of software, is between a rock and a hard place. Also - obviously - IE6 is dead! And about time too! A candidate browser to be sure - if there ever is one - in the near future (next day) is definitely IE7, since the latter will undergo patches (service packs) security.
From developers understand that IE6 is abandoned! Additionally, Microsoft has explicitly advised to move urgently to version 7, if there was any need to repeat it. Web developers must adopt a machine with IE6 for testing? By not update it? It would have suffered attacks from all sides and avoid going on the net?
The obvious solution - and beneficial to Microsoft - is that developers and end users to pass immediately to IE7, whether they like it or not!
More ...
Latest Comments
Subject : very helpful indeed! I tried it and it is just what I needed. Now I wonder how do I get ...
vik : With strategic help!
Pepper : Hi there, I do not know if you're one of the creators of the WP plugin Bannerize. I have spotted a ...
Rosanna : Can anyone tell me how do I delete the Snap Shots window that opens automatically when I ...
blessed Maresca : I can not download any skypemote me spiegaaa