Tuesday, October 25, 2016

Swift

Programming languages are formal computer languages or constructed languages designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms. In this article, I will introduce a new programming language called Swift.

Swift is for iOS, macOS, watchOS, and tvOS apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.

Swift has been years in the making. Apple laid the foundation for Swift by advancing our existing compiler, debugger, and framework infrastructure. We simplified memory management with Automatic Reference Counting (ARC). Our framework stack, built on the solid base of Foundation and Cocoa, has been modernized and standardized throughout. Objective-C itself has evolved to support blocks, collection literals, and modules, enabling framework adoption of modern language technologies without disruption. Thanks to this groundwork, we can now introduce a new language for the future of Apple software development.

Swift feels familiar to Objective-C developers. It adopts the readability of Objective-C’s named parameters and the power of Objective-C’s dynamic object model. It provides seamless access to existing Cocoa frameworks and mix-and-match interoperability with Objective-C code. Building from this common ground, Swift introduces many new features and unifies the procedural and object-oriented portions of the language.


Swift combines the best in modern language thinking with wisdom from the wider Apple engineering culture. The compiler is optimized for performance, and the language is optimized for development, without compromising on either. It’s designed to scale from “hello, world” to an entire operating system. All this makes Swift a sound future investment for developers and for Apple.
------------------------------------------------------------------------------------------
Picture reference:
https://smartfactory.com/content/01-workshops/07-ios-swift/swift.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKBtqClEmZVnj7ous9P0us_JQvrZ535ysTeq7AK39gAsL3NCSt4ZSNRPFKQLOhlrl_spX4SE7pUGw-xViQZlimEm60yLDPNb4pVUIcJWfX6B2iFYyN5bxs3eosAsuEzF2-QufyzhZoZn5o/s1600/swittol.png

Writing reference:
https://en.wikipedia.org/wiki/Computer_language
https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/

Friday, October 21, 2016

Web browser 


    Every time, when people want to write essays and need to do some researches, they usually will look for the data or information related to the essays’ topics online. Then, the tool they use to find information is browser. Have you ever wondered why the internet browser has such magical power to find so many things and how it works?
      
It is very easy to use browser if we want to view a website or web page. We can simply type the URL or click on a link. Then, the page located on server computer we ask to display will receive a request from our program to run it on the remote computer. In details, server program will receive all requests from different web pages and web files. Then, it will sends HTML files to the web browser and the browser has the permission and informaiton to display to users. It not only transfer text, but also transfer images and separate files from server to browser.

      As the technology continues to develop, web browsers have become increasingly sophisticated.
Browsers now also blur the line between your local computer and the Internet- in essence, they can make your computer and the internet function as a single computer system. Now, it plays not only a single piece of software, but also an entire suite.


---------------------------------------------------------------------------------------------
Writing Reference;

http://www.quepublishing.com/articles/article.aspx?p=680307
http://www.webdevelopersnotes.com/how-do-web-browser-work

Picture Reference;
http://www.blackbaudknowhow.com/wp-content/uploads/2012/11/Web-Browser-War.jpg
https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSjILxFqJHIgvgyk8YICZupsWPCmiS9hGZWm1WKbjicP_dg8_b1