Solved

Need to write a report on User Interface design

Posted on 2011-09-19
4
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

751 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