Posts

Showing posts with the label Microsoft

Breaking the Singleton Design Pattern

Image
A little more about reflection:  Another post in my blog More about singleton:  Wikipedia: Singleton pattern This semester, I have taken part in a course in Master program at HCMUT. Recently, the lecturer is disappointed because the number of students attending the class is so low. So I went to class this morning. The lecture was about design patterns. At the moment I entered the room, the lecturer demonstrated Singleton patterns and the content was quite simple. When he said that the constructor of the class must be non public so that the outside world wouldn't be able to instantiate a new instance of that class, the first thing came into my mind: REFLECTION . What if there is a man in the outside world, try attacking the principle of singleton by reflection. The lecturer prefers C# and by chance, I am working with that language, so I will use it as the language of all code in this entry. Also, in this entry, I will play 2 roles: the man trying attacking singleton pat...

Free ebook: Programming Windows 8 Apps with HTML, CSS, and JavaScript

Book Description (From Amazon.com) Apply your existing skills with HTML, CSS, and JavaScript—and start building your own Windows 8 apps now. As a member of the Windows Ecosystem team, the author has trained hundreds of Microsoft engineers and has been on the front lines of bringing the first Windows 8 apps to the Windows Store. Through this book, you’ll get a thorough grounding in platform features and considerations, and delve into development essentials across the whole scope of the Windows 8 platform. And you’ll gain insights and best practices on design, coding, and performance from real-world developers working on real-world apps. PDF direct link (less than 20MB):  Here EPUB format (37MB):  Here MOBI format (70MB):  Here

Microsoft Office Add-in for Saving Documents as PDF Format

When you're distributing documents electronically, you can't count on the recipients having Word installed on their computers. Also, many people don't like receiving Word documents, even if they do have Word installed on their machines. That's because Word documents can contain malicious macros. So, the best way to distribute documents is in PDF format. Adobe Acrobat is the gold standard in PDF creation. But it carries a hefty price tag. If you only create PDF occasionally, you probably don't want to purchase Acrobat. In that case, you can download  2007 Microsoft Office Add-in: Microsoft Save as PDF . It allows you to create PDF documents in Word and seven other Office applications: Microsoft Office Access 2007 Microsoft Office Excel 2007 Microsoft Office InfoPath 2007 Microsoft Office OneNote 2007 Microsoft Office PowerPoint 2007 Microsoft Office Publisher 2007 Microsoft Office Visio 2007 Microsoft Office Word 2007 After you download and insta...