Saturday, January 25, 2020

Advantages And Disadvantages Ajax And Flex Flash Computer Science Essay

Advantages And Disadvantages Ajax And Flex Flash Computer Science Essay Ajax and Adobes Flash Flex are both used to create dynamic and interactive web applications. Both are platform independent i.e. contents will render the same across different platforms and permits for interface animation. There are many similarities between the two. However, there are considerable differences as well. Say for example, Flash is animation format software that allows for fast download of animation files in a resizable format in order to facilitate files be downloaded over a regular modem connection. Flash creates better interactivity by encoding information in smaller files. Flex technologies developed by Macromedia (now acquired by Adobe) aimed to build Rich Internet Applications (RIAs). On the other hand Ajax is more of a methodology to create RIAs. To create more responsive and interactive web applications, Ajax uses a combination of DHTML, XHTML or XML, CSS, and DOM (Direct Object Model) with XMLHttpRequest and JavaScript. Ajax functions transparently i.e. facilitate behind the scene communication between the server and browser. This report discusses both Ajax and Flash/Flex technology as they battle in making Rich Internet Application(s). Both Ajax and Flex can execute similar functions. However, there are few advantages and disadvantages to both refer to Table-1 for comparisons. 2. What is Ajax? Ajax is a set of technologies which allows a website to be very responsive. Most importantly Ajax supports asynchronous communication and also partial refresh of a web page. Here Partial refresh means; when an interaction event is invoked, for e.g. when a user enters information into a form on a web page and clicks a Submit Button. The server processes the keyed information and returns a partial response specific to the data it receives (See Figure-2). Notably, the server does not transmit back an entire page, compared to the traditional web application which is Click, Wait, and Refresh (See Figure-1), instead, only part of the page is updated. The web application that uses Ajax is events and data driven, where as conventional web applications are driven by pages. Full page refresh Synchronous Time Client click à ¢Ã¢â€š ¬Ã‚ ¦.waità ¢Ã¢â€š ¬Ã‚ ¦..refresh click à ¢Ã¢â€š ¬Ã‚ ¦.waità ¢Ã¢â€š ¬Ã‚ ¦..refresh click Server Data transfer Data transfer Server-side processing Server-side processing Figure-1: Classic Web Application Model Synchronous Communication Partial UI updates Client Time Server Asynchronous Data transfer Data transfer Server-side Processing Server-side Processing Browser UI Ajax Engine User events UI updates Figure-2: Ajax Model Partial UI updates and Asynchronous Communication 2.1. Ajax Asynchronous Asynchronous means after sending data to the server, a client can continue to perform other things whilst the server continues to do its processing in the background. Such as, a user can continue to move the mouse over a map in google website and notice a smooth, uninterrupted change in the display. Compared to the traditional, synchronous, approach here the clients do not have to wait for a response from the server before continuing. Figure 1 and Figure-2 illustrates a Classical vs Ajax web application interaction. An additional significant feature of Ajax-enabled sites is that when an event is triggered, responses from Ajax are not restricted to submitting data in a form or clicking on a link. An Ajax response can be triggered in various number of ways such as moving a mouse over to a particular area on a web page, entering part of an entry in a text field, or dragging a map around with a cursor in Google Map etc. With these cool dynamic interactions among the user and the web page excels web applications nearer to what users experience in rich desktop applications. 2.2. Ajax Technologies at a glance The technologies included in Ajax are as follows: Cascading Style Sheets (CSS) a markup language designed for defining a page presentation style, such as colors and fonts etc. JavaScript a scripting language. XMLHttpRequest is one element of JavaScript technology that is the key to Ajax. It is an object which facilitates to exchange data between the client and the server respectively. Document Object Model (DOM) presents a logical view of a web page in a tree structure. XML the format for transmitting inform from the web server to the client. Nevertheless, other formats such as HTML, plain text or JavaScript Object Notation (JSON) can also be used. Like other web applications, Ajax-enabled web application uses markup languages such as HTML or XHTML to present web pages. Java Server Pages (JSP) as server-side technology can be used to generate web pages. Moreover, server side application systems play an important role in processing Ajax applications. Server side application system such Java2EE, which includes support for user identity management, data validation, and persistence, fits very well with the Ajax methodology Ed Ort (2006). Figure-3: illustrates how all these technologies work collectively to handle a user action. 2.3. Ajax Architecture Browser Client XMLHttpRequest XMLHttpRequest Callback ( ) User Interface Server-side Systems Web and / XML Server Data Stores 1 23 3 4 5 6 HTML + CSS data JavaScript call HTTP Request XML Data JavaScript call HTML CSS Data Data Exchange Figure-3: How Ajax Technologies Handle a User Action A user generates an event on the client (such as entering data to a text field or click a button). This results in a JavaScript function call. an XMLHttpRequest object on the client side is created and configured with a requested parameter and specifies a JavaScript technology callback ( ) function. The XMLHttpRequest object makes an asynchronous HTTP request to the web server. The web server processes the request and returns an XML document that contains the result. The XMLHttpRequest object calls the callback ( ) function, it receives the data and processes the result. The HTML DOM is updated. 2.4. Ajax and Server-Side Java Technologies The technologies that are included in Ajax are either client technologies such as JavaScript technology, or like XML are relevant to the interchange of data between the client and server. The request to the server that the XMLHttpRequest object makes is an HTTP request to the server, handling an Ajax request is similar to handling an HTTP request from a conventional web application. Hence, any server technology can be used to handle the request, including server-side Java technologies such as servlets, JSP and Java Server Faces (JSF) technology. Java Server Faces technology and other Java EE technologies that include support for data validation, user identity management, and persistence, are particularly well-suited for Ajax. For example, a servlet can be used to process a request, manage state for the client, access enterprise resources, and generate the XML for the response. Or a custom Java Server Faces components can be created to handle server-side processing as well as encapsulate the JavaScript technology and CSS for client-side processing. In fact, a library of Ajax-enabled custom Java Server Faces components are already available as part of the Java Blueprints Solutions Catalogue. 3. Flex/Flash 3.1. Background Adobe Flash Professional Multi-Media authoring program developed in 1996 by Macromedia and was acquired by Adobe in 2006. Flash is used to create content for the Adobe engagement Platform. One of the Flashs greatest strength is ease of development. They are very well-liked for creating HTML applications and are hence very significant to web development. Often assist to automate tasks, making web programming and usability faster. For adding animation and interactivity to a web site Flash is one of a well known method. However, it is currently contributions toward developing RIAs (Rich Internet Applications). The release of Adobe Flex technology directly responds to RIA development. Flex is precisely where Flash meets with Ajax. Both technologies aim towards creating RIAs. Flex mechanism is on the presentation level of an RIA. It is a vendor specific product which means it is not free and requires purchase. 4. Comparison between Ajax and Flex Flex is rendered through Flash Player while Ajax is renders through a browser. Flash Player plug-in required for browsers. Plug-ins allows users to supplement web applications with other programs to perform specified functions. However, Ajax does not require the downloading of applications as JavaScript is natively supported by modern browsers. It simply accesses the Web as they are requested. Ajax requires more program writing and coding, provides full CSS and DHTML (dynamic HTML) support. Flex/Flash application platforms are browser and platform independent. In Ajax applications, the browser is the platform. Table-1 illustrates the comparisons on features between Ajax and Flash. Table-1: Comparisons on features between Ajax and Flex/Flash Features Ajax Flex/Flash Audio Supported through external plug-ins (Media Player). Support embedded flash audio. Dynamically load audio. Browser Integration JavaScript natively supported by modern browsers. Flash player plug-in is required. Compatibility Issues Major compatibility differences between browser versions. Minor variations between versions of Flash. CSS Full Support. Limited Support. Programming Model JavaScript. ActionScript. Video Supported through external plug-ins (Media Player). Dynamically load FLV video files or embedded videos. Text Powerful layout capabilities. Text API mimics some HTML functionality. XML Full Support. MXML Not supported natively by JavaScript. Vector Graphics No. Full Support. 4.1. Key Difference The following are key differences on developing Ajax and Flex based online applications: Free and Proprietary One of the biggest features of Ajax is that there are many freely available useful tools online. There is no need for additional IDE in Ajax, as the major components of this technique simply need leveraging. On the other hand Flex is a proprietary tool so developers have to spend a bit to use this development format. A paid tool assures functioning tool to developers. Supports for freely available may not be available. Learning Requirement Flex is already popular to various developers particularly those who have already worked with Flash. Combine this fact with the available platform; developers can expect implementation of Flex based application faster. Ajax, on the other hand, will require more from their developers. Those who wanted to create the application manually, without the assistance of frameworks, will find the task of creating Ajax based applications difficult. This is the reason why Frameworks and libraries are created. Data vs. Looks although each development form can be used for data and its looks, Ajax is more proficient in handling and manipulating data. As an online application, various functions, variables and objects are available and they are simply created to manipulate data. Flex on the other hand, is very useful in creating great looking websites. The reason for this expertise is from that fact that it traces its roots from Flash. 4.2. Advantages and Disadvantages of Ajax and Flex/Flash Advantages Disadvantages Ajax Decrease in bandwidth use. Complex. Requires more coding. Flex/Flash Adobe MXML and Flex allows the integration of internet applications through a variety of desktop functions. Flex has the advantage of Flash player being installed on over 90% of browsers. Support for webcam and microphone. Present information in a visually rich interface. Asynchronous Video and audio integration with the Flex API is very simple and straightforward Flex might not handle lots of records easily. Flex does not read or write files to end-users computer. This is a restriction of Flash Player. More CPU usage. Lack of support for multi-threading. ActionScript is a lot heavier compared to JavaScript. No DOM Model Binary Sockets, cross-domain Access Policy Local Storage JavaScript/ActionScript Integration, E4X Flash Vector graphics APIs Rich components Object model access Data-stores, backend processing, legacy systems Web and/or XML server Browser Client User Interface Ajax Engine JavaScript call HTML + CSS data Server-Side Systems Conclusions This paper has presented an overview of the AJAX technique for developing interactive web applications. Ideas of how to introduce the AJAX approach in teaching web development and examples for lab sessions have been suggested. Incorporating popular technologies into the computing courses appears to motivate the students and in the same time it helps them understand better fundamental theoretical concepts. The AJAX technology requires relatively little new knowledge and can be easily included in teaching web development by focusing on specific parts of existing technologies and demonstrating appropriate applications. The challenge is the constant need of updating the material and selecting relevant examples and tools. However, the experience of learning new technologies and related applications has been rewarding and exciting. The material presented here could be used as an example of embedding emerging technologies in the computing curriculum through existing modules. Although JavaScript has been developed into greater heights, ActionScript is continuously being developed by Adobe. Today, ActionScript could be easily compared to JavaScript as each of these RIA (Rich Internet Application) programming languages has their own advantages and disadvantages. Depending on the need of the developers, they should be able to select which programming language to select.

Friday, January 17, 2020

Solution To Solve The Plastic Waste Problems Environmental Sciences Essay

The intent of this undertaking is to supply a executable solution to work out the fictile waste jobs and assist occupants in the Mekong Delta countries to better the conveyance substructure. Specifically, this undertaking is aimed to utilize fictile waste as an alternate building stuff for constructing roads in the Mekong Delta countries. The modified-plastic route is designed to run into specific demands that were set to do certain the route would be suited for the local environment and have an economic public presentation. In this undertaking, Group F chose fictile waste as the mark. It is because fictile waste such as plastic bags and plastic bottles is non-biodegradable in the natural environment. As a chief pollution, fictile waste is harmful to the environment. Maltreatment of plastic and deficiency of recovery has resulted in many environmental jobs. Besides, recycling plastic waste is non popular in Vietnam which is a immense squander. Based on this information, Group F decided to happen a feasible manner for recycling fictile waste. The usage of fictile waste in route building is an environment-friendly engineering. â€Å" In recent old ages, applications of plastic wastes have been considered in route building with great involvement in many developing states. â€Å" [ 1 ] This sort of engineering has become progressively popular around the universe. In legion states, particularly in developing states, the conveyance and logistics systems are under high strain from additions in population and trade. So does in Vietnam. Thus, bettering the substructure in the Mekong Delta countries is besides really of import. Hence utilizing modified fictile waste to construct roads is an effectual method to work out these jobs. Using fictile waste in route building can be a good solution. Harmonizing to several field trials, â€Å" the plastic wastes used after proper processing as an additive would heighten the life of the roads and besides work out environmental jobs. † [ 2 ] It follows that utilizing fictile waste i n route building is a feasible solution to equilibrate the environment and development. Implementing this undertaking can both increase the recovery rate of plastic wastes and better the populating criterion in Vietnam, particularly in the Mekong Delta. The aims of the undertaking were to assist the local people cut down the plastic waste, work out the traffic jobs, and increase the sustainable development. This paper provides background information and describes the methods and tools used to construct a route from plastic wastes. As good, the paper provides the processing strategies for the plastic wastes and shows a route theoretical account made from fictile waste. The feasibleness and economic efficiency of the design is besides discussed in this paper. The recommendations and future work are provided in the concluding parts.Background:In this subdivision of the study, background information refering the undertaking will be provided.Vietnam and Mekong DeltaSocialist Republic of Vietnam which is called Vietnam for short is a Southeasterly Asiatic state and locates on the Indochina peninsula. â€Å" Vietnam covers a entire country of 331,210aa‚ ¬A? . [ 3 ] And has a population of 87,840,000 in the twelvemonth of 2011. [ 4 ] In recent old ages, Vietnam ‘s economic system has made a batch betterment. After the economic reforms, this state has become one of the universe â €˜s fastest turning economic systems. Harmonizing to an economic statistic, â€Å" Vietnam ‘s one-year GDP growing rate is 8 % between 1990 to 1997 and about 7 % from 2000 to 2005. † [ 5 ] In malice of crisp velocity development, Vietnam is confronting several jobs such as pollution, lodging deficit, out-of-date substructure and so on. Mekong Delta is one of the illustrations. Harmonizing to the AusAid study, the â€Å" Mekong Delta is celebrated as the â€Å" rice bowl † of Vietnam it contributes up to 90 % of the state ‘s rice exports. † [ 6 ] In recent old ages, the economic system has been improved significantly ; nevertheless, there are still tonss of jobs to work out. As mentioned before, Mekong Delta is besides confronting the same challenges as the whole state. Now, pollution is a serious job. Waste such as chemicals, human wastes, effluent and plastic wastes has harmed the local environment and people ‘s wellness. Additionally, with the growing of population and economic system, out-of-date substructure can non fulfill people ‘s demand. The traffic system in the Mekong Delta is under utmost emphasis. It is necessary for the native abodes find a manner to work out these two jobs. As one unit of the international assistance undertakings, the AusAID besides realized this issue. There is a transit betterment undertaking to assist the Mekong Delta to better the conveyance substructure. This undertaking has an estimated entire cost of US $ 306 million with programs to upgrade 325km of roads through this undertaking. [ 7 ]Technology used in the undertakingPresents, plastic merchandises are about everyplace. As a inexpensive and effectual stuff, plastic is widely used both for agribusiness and industry. Using fictile merchandises increased people ‘s life criterions. However, this convenient stuff is non environment friendly. The most important ground is most of the plastics are non-biodegradable. They can last for a long clip in the geological environment. In add-on, the traditional intervention for fictile waste such as landfill and incineration is a threaten for people ‘s wellness and the environment. How to cover with fictile waste is a challenge for sustainable development. Recycling is a good manner of work outing the job. Scientists and applied scientists have developed a new attack to alter the waste into roads. Using plastic in route building is non new. For a long clip, people use PVC or HDPE to fabricate pipes in route building. However, utilizing fictile waste as natural stuff for route building is a different technique but surveies have shown this technique has great possible and can convey many benefits. An initial survey that conducted in 1997 to prove for strength and lastingness of roads from fictile wastes proved that â€Å" the lastingness of roads laid with fictile waste mix is found to be better than the conventional 1s. † [ 2 ] The overall procedure of edifice plastic waste roads includes two parts, explicitly the first portion is â€Å" readying which includes segregation, cleansing, shredding, and aggregation. The 2nd portion is field test † . [ 8 ] At foremost, the fictile waste such as bags and bottles are separated and cleaned. Then, the plastic wastes are shredded into little pieces or pulverize signifier. After roll uping, the on-size plastic waste pulverization will be added into the hot sum which is kept at 170AA °C. After the chopped plastic waste are aa‚ ¬Aâ€Å"softened and coated over the sum, aa‚ ¬A? [ 8 ] the hot bitumen is added and should be good assorted. Then, this hot mixture is ready for being laid on the route. The laying procedure is similar to the manner pitch roads are laid. This engineering has many advantages. The usage of plastic waste for route building can non merely cut down the demand for bitumen and increase the strength and public presentation of the roads, but besides protect the environment every bit good as create extra employment chances. Besides, utilizing fictile waste for route building can cut down the demand of bitumen and besides cut down the cost of puting the roads.Literature Review

Thursday, January 9, 2020

Fahrenheit 451 By George Orwell - 1931 Words

During the 1940s and 1950s, when society as a whole was threatened by the ideals of communism, censorship, and new invasive technology, authors were exploring a future when these specific fears came to pass. Related themes involving citizens losing certain freedoms were implemented into these novels which generated connections between these stories. In his novel, Fahrenheit 451, Ray Bradbury describes a distant world in which the idea of censorship was exaggerated to such an extent that it was illegal for any literature to exist, and if found books are burned by the firemen. Similar to Bradbury’s society, 1984 by George Orwell includes a corrupt government where members of the Party are under surveillance at all hours of the day, and the worst crime committed is thinking anything different from what the central leader, Big Brother, allows members to think. In order to express their concerns for the destructive path they view society taking, the authors of both Fahrenheit 451 a nd 1984 utilize satirical examples when elaborating on the similar themes portrayed in both of the dystopian novels. Within both Fahrenheit 451 and 1984, a theme consistently embedded into the stories is the lack of emotional connection between people of the two societies. In Fahrenheit 451, the relationship between Montag and Mildred is purely one of title. This is evident when Montag asks Mildred where and when they met, but neither of them can remember. Mildred, unfazed by this discovery,Show MoreRelatedFahrenheit 451 By George Orwell962 Words   |  4 PagesBoth George Orwell s novel 1984 and Eric Blair’s novel Fahrenheit 451 depict a dystopian society. This was a popular theme of the era since it was a time where the world was at war with a society that wanted complete control of the planet. That society being the totalitarian state of Nazi Germany, Italy and Japan. The settings that occur in both books depict that of what people could have experienced in the time peri od these books were published, something that readers for decades could relate toRead MoreGeorge Orwell And Fahrenheit 451 By Ray Bradbury1354 Words   |  6 Pagesalike in the ways everyone would think: but when you dig deeper you can see just how different they may be. Both Katharine and Mildred, two character from 1984 by George Orwell and Fahrenheit 451 by Ray Bradbury, are ignorant women married to the main characters of the novels: Winston Smith, from 1984, and Guy Montag, from Fahrenheit 451. The women seem almost identical in going through their bland lives everyday talking to the relatives and listening to the telescreen, but in some ways they are polarRead MoreRay Bradbury s Fahrenheit 451 And George Orwell1669 Words   |  7 PagesAs said by George Orwell, â€Å"It is not possible for any thinking person to live in such a society as our own without wanting to change it,† (Orwell). This idea, under the category of knowledge, is reflected through two novels— Ray Bradbury’s Fahrenheit 451 and George Orwell’s 1984—as people who spend time thinking are caught rebelling against the government’s power and face severe consequences. The protagonists, Montag and Winston, are both desperately searching for answers that pique their curiosityRead MoreGeorge Orwell s Fahrenheit 451 1092 Words   |  5 Pagesdystopian texts; 1984 and Fahrenheit 451. Orwell’s 1984 was committed to paper under the backdrop of the Stalinist totalitarian regime in the Soviet Union, where the freedom of thought had been abolished; which parallels the fascist sovereignty of 1984, governed under the omnipresent puppeteer, Big Brother. Intended to be a warning to humanity concerning the â€Å"poisons of totalitarianism† (Orwell) which denies individuals of basic rights. Similarly, Ray Bradbury’s Fahrenheit 451 was scribed during theRead MoreOppression By George Orwell And Fahrenheit 4512355 Words   |  10 Pagesachieved in 1984 and Fahrenheit 451 ‘If you want a vision of the future, imagine a boot stamping on a human face – forever’ O’Brien explains to Winston whilst torturing him near the end of Nineteen Eighty-Four. It is this sense of oppression which Orwell and Bradbury both portray in their novels. Oppression can be defined as the, ‘cruel or unjust use of power or authority’. In Nineteen Eighty-Four there is quite a clear sense of cruelness and totalitarianism, whereas in Fahrenheit 451 there is a lessRead MoreAnalysis Of Fahrenheit 451 By Ray Bradbury And 1984 By George Orwell1784 Words   |  8 PagesMENTALITY OF CONFORMITY The societies in Fahrenheit 451 by Ray Bradbury and 1984 by George Orwell clearly show the serious effects of conformity. Despite the lack of freedom to think independently, both societies maintain their general happiness. Conformity is the most common and most persuasive form of social influence. The matching of attitudes, beliefs, and behaviors are signs of conformity. It has become an unconscious, natural part of everyday life; however, it has been occurring for centuriesRead MoreGeorge Orwell s 1984 And Ray Bradbury s Fahrenheit 4511967 Words   |  8 Pages In a totalitarian government, the citizens have no say in how a country is controlled. There will be a few individuals who feel barricaded and want to liberate themselves from the oppressive government. In George Orwell’s 1984 and Ray Bradbury’s Fahrenheit 451 both main characters, Winston Smith and Guy Montag, want control over their lives but it is destroyed by the oppression of individual thinking under a totalitarian government. Two factors that help create control in their life are the relationshipsRead More1984 And Fahrenheit 4511505 Words   |  7 PagesIn the texts, 1984, by George Orwell, and Fahrenheit 451, by Ray Bradbury, the concepts of totalitarianism and censorship are addressed in various ways. Both texts are of dystopian fiction, set in post-nuclear war nations, although they are somewhat of a different nature. The concepts of totalitarianism and censorship are explored throughout the texts by addressing the issue of ‘knowledge is power’, the use and abuse of technology and the desensitising of society. Although these are mentioned inRead MoreThe Loss of Personal Freedoms in a Totalitarian Government Essays1810 Words   |  8 Pagesto choose their occupation. In fact, these citizens have no rights. They cannot speak freely, they do not enjoy any personal freedoms or privacy, and the media is aggressively censored. This is the world of George Orwell’s 1984 and Ray Bradbury’s Fahrenheit 451. The protagonist of Fahrenheit 451 is Guy Montag, and he is a fireman. His job is to destroy books completely by setting fire to them. Winston Smith is the main character in 1984, where he works as a civil servant in the lower class ruling partyRead MoreFahrenheit 451 Vs. 1984970 Words   |  4 PagesFahrenheit 451 vs. 1984 Ray Bradbury and George Orwell share a very similar theme in their two novels, Fahrenheit 451 and 1984. Winston Smith and Guy Montag work within an authoritarian organization, in which, they have opposing views of the authority. The novels are placed in a dystopian setting that the authority believes is a utopia. The dystopian fictions both have very similar predictions of the future. The predictions from these novels have not happened. However, it could be a short matter

Wednesday, January 1, 2020

Ageism Still Alive And Lurking Still This Day Essay

â€Å"People will forget what you said, people will forget what you did, but people will never forget how you made them feel,† (Maya Angelou). Ageism still alive and lurking still this day. I believe that people are prejudice to anything and everything. Today ageism is big in the world today. This really play a huge role in the elderly life span. The history of ageism is the process of stereotyping against people because their old. To me ageism is like sexism and racism, they treat older woman like they’re not human. Like they have these senior discounts and jokes about getting old are limiting. Just like if you have older parents they always will relate to then back in the day. My mom is now 52, she really doesn’t understand this 21st century. I have to help my mom with almost everything new because she gets tired of people just saying she can not do this or can do that. The ageism in America is so strong because the society looks at the youth and their beauty so many older people getting surgeries to look younger and they mess up themselves to look like 21 all over again. Therefore, these older people worried about their looks on the outside they feel the same on the inside. The real reason to aging is death because no one wants to die at all. Ageism is still alive, old people are the most to stereotype lurking in public. Our elders are seen as harmful people like that don’t belong rather than helpful resources. It says that age is nothing but people getting older and they