code-structure
module_load_include() vs require_once
I was wondering when you need to use module_load_include() or require_once to include files which are located w开发者_如何学Pythonithin your module.The key thing that the Drupal module_load_include()[详细]
2023-04-01 16:04 分类:问答Way/coding method to do activitylist/log
Ok so this question is not so much about the coding procedure, but more like a good and clean way to code this activitylist, i plan to build..[详细]
2023-03-24 08:23 分类:问答PHP application structure
I started making a website, and quickly i found out that my code is a mess. It\'s been a while since I\'ve been programming in PHP, and since then I learned OOP. Now while making an application in C#[详细]
2023-03-18 05:32 分类:问答How to correctly achieve test isolation with a stateful Python module?
The project I\'m working on is a business logic software wrapped up as a Python package. The idea is that various script or application will import it, initialize it, then use it.[详细]
2023-02-25 05:51 分类:问答Can I set a custom class as the default base class for my controllers in ASP.NET MVC3?
I\'d like to inherit all my controllers from a custom base class that I write myself. I can change the line every time 开发者_开发问答I add a new controller, but it would be nicer if I could somewhere[详细]
2023-02-11 17:56 分类:问答Code structure: should I use lots of functions to increase readability?
My question has Bash and PowerShell scripts in mind, but I suppose it applies to other languages as well.[详细]
2023-02-02 16:18 分类:问答Android application structure question
I am currently working on an application that makes use of a MapView and adds overlays to it. Basically at anyone one given time the overlay list should never exceed two.[详细]
2023-01-31 02:58 分类:问答Cleaning up a large, legacy Java project
I\'ve been assigned to do some work on a huge Java project, and the influence of several iterations of developers is obvious.There is no standard coding style, formatting, naming conventions or class[详细]
2023-01-21 13:40 分类:问答Erlang source code guide
I am interested in delving into开发者_如何学Python Erlang\'s C source code and try to understandwhat is going on under the hood. Where can I find info on the design and structure of the code? First of[详细]
2023-01-17 09:18 分类:问答In what order do you put methods in class code?
Class could have static, private开发者_如何学Go, protected, public methods. Each method is made for modifying, adding, removing etc.[详细]
2023-01-11 13:36 分类:问答