Solved

Need to write a report on User Interface design

Posted on 2011-09-19
4
249 Views
Last Modified: 2012-05-12
I am pretty new to jQuery and hnave not yet worke much with jqGrid. But I have been told that the project which I am new to may have been coded hastily and not written for easy maintenance. I have been asked to write a report on this program and point out specific strengths and weaknesses.

The program uses primarily MVC3, Razor, jQuery, jqGrid and Ajax.  What kind of gotchas might there be?

I am trying to not only to write this report but want to use it as a way for me to learn a lot very quickly: kind of a crash course.

I have a question about wrapping selectors, which are already wrappers.  I find it hard to quickly scan the jQuery code and added some functions that made it easy for me:

The code was littered with selectors returning the length of the array, with only minor and not very deterministic differences. So I created functions for each type of array with clear names. It made the code which used it much more easy for me to read as a result.

To me, that made the code more readable. How do you feel about always using cryptic selectors versus clean function which then return those selectors?

But aside from this, what real problems can come from programming shortcuts. Could you provide examples?
0
Comment
Question by:newbieweb
  • 2
  • 2
4 Comments
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 500 total points
ID: 36564863
So you want to review the code or review the UI design?

Its always better to keep the code simple (KISS principle). Just think from this perspective, "will someone else be able to read your code and maintain it"
0
 

Author Comment

by:newbieweb
ID: 36566144
I want to review the UI code and architectural choices. They used jqGrid and I heard the guy that wrote it used too much custom code that needs to be supported. I need to learn when using jqGrid what code is needed to be used versus what is optional complexity that could have been solved using more standard features of jqGrid.
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36566185
i have been working on jquery for last 2 years now, but i haven't used jqgrid.
So, may be, first point is to make sure that library that you use is well supported or not. And if you are using a library, and writing a custom code on top of it, then make sure that it is well documented.
0
 

Author Closing Comment

by:newbieweb
ID: 36566271
Thanks!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question