project-structure

Recommended WPF Project Structure?

狂风中的少年 提交于 2019-11-30 00:33:34
I'm a stickler for good Visual Studio Solution and Project structures. I'm about to start a WPF proof of concept piece of work. Can anyone recommend some WPF Project structures they have used and found worked well? Here http://drwpf.com/blog/2007/10/01/58/ They have one recommendation which I like: Root - Pages - Controls - Resources App.xaml Where Pages, Controls and Resources are folders. Has anyone found certain structures work well / don't work well? Also I'd rather not get into a 'Model View Presenter' discussion if that's ok with you guys. I agree with alimbada. We have also created

How to organize a Python Project?

时光总嘲笑我的痴心妄想 提交于 2019-11-29 18:44:29
I'm new to Python and I'm starting a mini Project, but I have some doubts on how to organize the folders in the "Python Way". I'm using PyDev in my Development Environment, and when I create a new project a folder is created called src + src Now, in the PyDev , I can create Pydev Module and PyDev Package I need to organize my Project in the following way: + Indicators - Moving_averages.py - Stochastics.py + Strategies - Moving_averages_cross.py - example.py How can I organize this in terms of Modules and Packages? What is the meaning of Modules and Packages? Best Regards, A Package is

ASP.NET MVC Default Project Structure and the Scripts Folder

我们两清 提交于 2019-11-29 13:56:43
Is there any advantage to leaving the Scripts folder where it is in the default ASP.NET MVC Project structure. In my mind it makes more sense to create subfolders for scripts, css files, and images under the Content folder. Any downside to doing this? In short, no, there is no real downside to doing this. It is how I have been structuring my MVC projects. There are some advantages to doing this, actually... on many projects I am serving up all of the static content from a separate domain, so grouping all of the static content into a single folder has made the QA/production deployment process

In Delphi, should I add shared units to my projects, to a shared package, or neither?

最后都变了- 提交于 2019-11-29 09:35:18
问题 This question is similar to this one, but not a duplicate because I'm asking about issues not discussed in that question. I have a client-server project in Delphi 7 with the following directory structure: \MyApp \MyClientApp \MyServerApp \lib There are 2 actual Delphi projects (.dpr), one each in the MyClientApp and MyServerApp folders. The lib folder has .pas units that have common code to the client and server apps. What I'm wondering is if I should include those .pas files in the client

Repeating module name for each module component

戏子无情 提交于 2019-11-29 02:35:18
问题 The famous Best Practice Recommendations for Angular App Structure blog post outlines the new recommended angularjs project structure which is now component-oriented, not functionally-oriented, or as named in the initial github issue - "Organized by Feature". The blogpost suggests that each file inside each module should start with the module name, e.g.: userlogin/ userlogin.js userlogin.css userlogin.html userlogin-directive.js userlogin-directive_test.js userlogin-service.js userlogin

Problem with multiple entry Points in the same module

有些话、适合烂在心里 提交于 2019-11-29 02:07:07
I have multiple entry points in the same module. For example I have an Home entry point for the home page and an Admin entry point for the admin page. <entry-point class='com.company.project.client.HomeModule'/> <entry-point class='com.company.project.client.AdminModule'/> The way I am setup now - I need to check somt like this in my OnModuleLoad: if((RootPanel.get("someHomeWidget")!=null)&& (RootPanel.get("someOtherHomeWidget")!=null)) { // do the stuff } in order the the Admin Entrypoint not to be executed when the Home page gets open and the other way around. Not doing the check above also

ASP.NET MVC (Domain Model, Repository, Fluent, Services - Structure for my Project)

本小妞迷上赌 提交于 2019-11-28 16:55:28
In my ASP.NET MVC web application, I have: Domain Model, created by LINQ to SQL Repositories such as UserRepository and OrderRepository IQueryable Fluents as IQueryable Extension Methods such as public IQueryable<Order> GetNewOrders(this IQueryable<Order>) Services such as UserService and OrderService Utility Classes and Extension Methods such as CryptoUtility (doing Hashing etc.) and String etc. extensions ViewModels which are special for each MVC View The ASP.NET MVC project itself (Controllers, Views) I'm looking for the best project structure/organization for my case, especially separating

Package name does not correspond to the file path - IntelliJ

旧巷老猫 提交于 2019-11-28 16:30:04
I'm trying to import a project from VCS (well, I'm doing it for the first time actually) and this is my (imported) project's structure: BTW. this screen is made after many tries of changing these directories' properties (in their context menus). In these source files' I have a following error: One time it had nothing against badugi.client but it reported this error only in badugi.server . I have completely no idea how it works... Also classes in the same directories do not see each other. This is a code from ClientWorker class which is located (as you can see in the first image) in the same

How to organize a Python Project?

99封情书 提交于 2019-11-28 14:53:20
问题 I'm new to Python and I'm starting a mini Project, but I have some doubts on how to organize the folders in the "Python Way". I'm using PyDev in my Development Environment, and when I create a new project a folder is created called src + src Now, in the PyDev , I can create Pydev Module and PyDev Package I need to organize my Project in the following way: + Indicators - Moving_averages.py - Stochastics.py + Strategies - Moving_averages_cross.py - example.py How can I organize this in terms of

ASP.NET MVC Default Project Structure and the Scripts Folder

醉酒当歌 提交于 2019-11-28 08:02:34
问题 Is there any advantage to leaving the Scripts folder where it is in the default ASP.NET MVC Project structure. In my mind it makes more sense to create subfolders for scripts, css files, and images under the Content folder. Any downside to doing this? 回答1: In short, no, there is no real downside to doing this. It is how I have been structuring my MVC projects. There are some advantages to doing this, actually... on many projects I am serving up all of the static content from a separate domain