• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

Need to write a report on User Interface design

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
newbieweb
Asked:
newbieweb
  • 2
  • 2
2 Solutions
 
Gurvinder Pal SinghCommented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
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
 
Gurvinder Pal SinghCommented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now