Blogging Task 9

23 11 2009

Summarise the main features of the Ruby on Rails technology for building web applications. In particular comment on the use of the MVC architecture, ActiveRecord and the stringent naming convention.

–       Open source web framework thats optimized for programmer happiness and sunstainable productivity.

–       MVC:

  • Like many contemporary web frameworks, Rails uses the Model-View-Controller (MVC) architecture pattern to organize application programming.[5]
  • For instance, if there is a class that is named “date” in the model, then the related table in the database source will automatically be named “date.”

–       Active record:

–       Naming convention:

  • “Convention over Configuration” means a developer only needs to specify unconventional aspects of the application. For example, if there is a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table “products sold”, that the developer needs to write code regarding these names. Generally, this leads to less code and less repetition.
Advertisements




Twitter

8 11 2009

Having done a twitter assignment for WebApps 1, it was interesting to implement javascript from that assignment into WADE (web application development environments.

Which is why I am blogging about this because at the time I thought who on earth would use twitter??? But now it is becoming more obvious how many celebrities use it as a way to notify their fans!

Now on Rove which I am only watching because of Australian however it is funnnnyyy 😀 And they were talking about tweeting





Australian Idol

8 11 2009

Just finished watching Australian Idol

And Stan walker is AWESOME!!!!!!!!!!!

 

Now you are probably wondering why I am doing a post on this and your probably thinking WHAT HAS THIS GOT TO DO WITH WEBAPPS…

But honestly I love singing and playing music so I LOVE australian idol, cause the talent is amazing 🙂 and that was my intention of writing the post. However, I decided that it is quite interesting that there must be some sort of application behind the voting of the show because there is no way some guy sits there counting all the votes!

So I wouldn’t mind reading about it up when I am less busy 🙂





Blogging Task 8

8 11 2009

Reflect on the range of online resources you have consulted for developing a solution to Assignment 1.

Top 4 useful Sites:

1. w3schools.com – best site for all examples and how to do things

2. http://think2loud.com/reading-xml-with-jquery/ – How to read the XML with Jquery best example of this

3. jquery.com – Documentation helped me understand the Jquery

4. plugins.jquery.com/  – Looked at this website but never implemented one





Assignment

31 10 2009

I AM CURRENTLY WORKING ON MY ASSIGNMENT!!!

Gotta love an early bit of jquery and talking to christie about certain privileges as she types away, little does she know that I am mentioning her in this haha

PEACE ALL!!!





Blogging Task 7

31 10 2009

JSON
JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects).

It is easy for humans and computers to use
However it has security issues
Compared to XML
JSON maps straight to the data structures and is far more simpler
about its strengths and weaknesses, particularly in comparison to XML

Simplicity
XML is simpler than SGML, but JSON is much simpler than XML. JSON has a much smaller grammar and maps more directly onto the data structures used in modern programming languages.

Extensibility
JSON is not extensible because it does not need to be. JSON is not a document markup language, so it is not necessary to define new tags or attributes to represent data in it.

Interoperability
JSON has the same interoperability potential as XML.

Openness
JSON is at least as open as XML, perhaps more so because it is not in the center of corporate/political standardization struggles.

(http://json.org/xml.html)





Blogging Task 6

31 10 2009

ATOM syndication format
The Atom Syndication Format is an XML language used for web feeds. Web feeds are used by the blogging community to share recent entries’ headlines, full text, and even attached multimedia files.
ATOM Publishing Protocol (APP).
The Atom Publishing Protocol (AtomPub or APP) is a simple HTTP-based protocol for creating and updating web resources.