code-organization
Should 'using' directives be inside or outside the namespace in C#?
I have been running StyleCop over some C# code, and it keeps reporting that my using directives should be inside the n开发者_JS百科amespace.[详细]
2023-03-24 07:57 分类:问答Organizing layout files using virtual folders
I\'m working on a Android application that involves a lot of XML layout files.Since the Android tools don\'t allow subdirectories in the layout directory, I am trying to organize my project using Ecli[详细]
2023-03-18 17:15 分类:问答How to avoid multiple $(document).ready()
I work on a ASP.NET application using Jquery. Jquery is really powerfull and I use a lot of it. In my master page I include all libraries I use and a js file who contain the jquery code available for[详细]
2023-03-14 23:25 分类:问答Javascript: How to make sense of all the frameworks and design philosophies?
I have been a user of jQuery (and some of its minor plugins) for a while. The Javascript code I\'ve developed over the years could be described best as... messy. It used a ton of global variables and[详细]
2023-03-09 20:41 分类:问答Are there any good examples on how to organize JavaScript code?
I\'ve learned JavaScript and know how to write OO JavaScript, and I can accomplish those assignment like aut开发者_StackOverflowocomplete, photo gallery with JavaScript, but I just don\'t know how to[详细]
2023-03-09 06:25 分类:问答asp.net static content in separate project. now how to refer?
Project1.csproj is the website project and StaticContent.csproj is the static content project to hold all .css, .js and image files. I am keeping it separate so that designers can work without touchin[详细]
2023-03-08 05:09 分类:问答CherryPy : Is there a best way to split the project in multiple files?
I\'m new to CherryPy, coming from Django. I liked the way Dj开发者_开发知识库ango split the various parts of the project into many files, and I\'d like to do the same in CherryPy, instead of having on[详细]
2023-03-07 17:37 分类:问答Multiple levels of namespaces
In C#, you can do: namespace Blah { namespace Foo { } } Or: namespace Blah.Foo { } Which should I prefer, if either? The bottom one is somewhat cl开发者_开发知识库eaner in terms of braces, but I[详细]
2023-03-07 09:08 分类:问答Is it ever okay to have a class as a collection of methods and no properties?
I\'m writing a bunch of generic-but-related functions to be used by different objects.开发者_运维问答 I want to group the functions, but am not sure if I should put them in a class or simply a flat li[详细]
2023-03-05 06:07 分类:问答JavaScript visualization application - code organization, backbone mvc, desktop version etc
I\'m setting out to develop a JavaScript web application for visualization, featuring bookmarking of various graphs wi开发者_运维技巧th annotations etc.[详细]
2023-03-02 19:27 分类:问答