Questions tagged [maintainability]

Maintainability refers to the nature, methods, theory and art of maximizing the ease with which an asset may be sustained, modified or enhanced throughout the duration of its expected useful life.

306 questions
-1
votes
1 answer

Can I improve debugging by assigning value to variable before returning without sacrificing performance?

Does adding a variable assignment (for the purpose of enhancing the Debugging process) to the following type of method slow down execution by more than a second (1k ms) over ~1k calls? Am I correct in my assumption that the variable will fall out of…
Blake Yarbrough
  • 2,286
  • 1
  • 20
  • 36
-1
votes
5 answers

Hardcoded PHP array vs. MySQL table for displaying a random entry from a fixed list

I have a fixed (rarely changing) list of ~100 words. I want to display a random word on my HTML page on every reload. Should I hardcode the words as an array in the PHP script, or should I put them into a MySQL table and pull a random entry from…
jamix
  • 5,484
  • 5
  • 26
  • 35
-1
votes
1 answer

Manage Huge PHP Class File

I have a huge php class with very long code in it. This make the file is big with lots of coding and hard to maintain. Is there anyway that I can split the class into a few files for easier maintaining? Thank you.
user1995781
  • 19,085
  • 45
  • 135
  • 236
-2
votes
1 answer

What is the efficient layered architecture for MVC project?

I'm going to start a new project which has the architecture below: Entities (only entities like Customer) - Class Library BLL (Business logics for Customer - models) - Class Library DAL (SQL calls from this layer) - Class Library CommonUtilities…
Kavi
  • 140
  • 1
  • 9
-3
votes
2 answers

PhP associative array to get more effective

I would like to ask that I am having array from the form. but I need to manage the array.

Program List

-4
votes
1 answer

future proofing your code against changes in third party libraries

How do we future proof our code against changes in third party libraries? Maintaining unit tests seems like one way of going about it.
pranay
  • 444
  • 1
  • 7
  • 20
1 2 3
20
21