Hi,
I've a got a fairly large web app, with several mini applets on each page. These applets are almost always identical jquery apps. I am looking for advice on how I should organize/include smaller parts of these jquery apps within my larger project.
For example, each app has several independent tabs. If possible, I would like to stor...
A long time ago, when my company was much smaller, dividing the development work over teams was quite easy:
the 'application' team developed the applications-specific logic, often requiring a deep insight of specific industry problems)
the 'generic' team developed the parts that were common/generic for all applications (user interface ...
I have a large collection of my personal scripts that I would like to start versioning using Git. I've previously organized my code as follows:
~/code/python/projects/ (for large stuff, each project contained in an individual folder)
~/code/python/scripts/ (single file scripts all contained in this directory)
~/code/python/sandbox/ (my ...
The idea of MVC itself seems clear to me but I have trouble understanding how the concept 'scales up' to multiple views and controllers.
It appears that Cocoa takes the approach of the controller being the 'switchboard' between the model and the view. How would the application be organized and function in case of multiple views? If ther...
i've got a lot of functions i create or copy from the web.
i wonder if i should store them in a file that i just include into the script or should i store each function as a static method in a class.
eg. i've got a getCurrentFolder() and a isFilePhp() function.
should they be stored in a file as they are or each in a class:
Folder::g...
More and more I'm putting all of my code in models and helpers concerning MVC.
However, sometimes I'm not sure where to organize code. Should it go into the model or should it go into a helper. What are the benefits of each. Is one faster or are they the same. I've heard something about all models getting cached so it seems then like th...
I'm currently Unit Testing an application that isn't build to support unit testing very well, lot's of dependencies, refactoring and the developers who build the application didn't think of unit testing when they started developing. My job is to do research for unit testing, unit test the application and bring unit testing into the organ...
Hi, I'm looking to build an interactive web-based org chart for a large organization. I somewhat like the interface at ancestry.com where you can hover over people and pan/zoom around and click on different nodes to make them the root.
Ideally, I'd like it if people could belong to multiple organizational entities like committees, work...
I'm creating a game in Java for fun and I'm trying to decide how to organize my classes for the GUI. So far, all the classes with only the swing components and layout (no logic) are in a package called "ui". I now need to add listeners (i.e. ActionListener) to components (i.e. button). The listeners need to communicate with the Game clas...
I'm putting together something I'll soon release as OSS and I wanted to make a map of dependencies to get a clearer idea of the big picture. I ended up making the mind map myself using pen and paper:
This is something I wish I could do more often, but mapping bigger projects manually is too troublesome (and virtually impossible due to...
I'm working on a process that will perform natural language processing (NLP) on one--and potentially several--of our content rich sites. What I'd like to do once the NLP is complete is to automatically organize the output (generally a set of terms that you might think of as tags given the prevalence of that metaphor) into some kind of st...
There is quite a tier of organization in Eclipse. You can have multiple workspaces, each of which can have projects, these projects can be assigned to working sets, and then each project can have source folders....
How do you use all this organization? Do you even use it all? Working sets are so hidden that I hardly know what they are; ...
So, in Python (though I think it can be applied to many languages), I find myself with something like this quite often:
the_input = raw_input("what to print?\n")
while the_input != "quit":
print the_input
the_input = raw_input("what to print?\n")
Maybe I'm being too picky, but I don't like how the line the_input = raw_input("w...
I am starting on a new Hadoop project that will have multiple hadoop jobs(and hence multiple jar files). Using mercurial for source control, I was wondering what would be optimal way of organizing the repository structure? Should each job live in separate repo or would it be more efficient to keep them in the same, but break down into fo...
I haven't coded in java for a long time, and after coding in C, I'm having issued organizing my code for OOP. More specifically I'm not sure when to create a new method, and when to create a new class, and when to just lump everything together.
Are there some general rules or guidelines on how it should be done?
...
Our department develops a lot of different software programs by a lot of different people in the department. The problem is that we want some solution to:
Make it more visible what software program is maintained by which person.
See the state of a software program (maintained/obsolete/etc).
Attach some kind of charactistics (maybe tags...
Hi,
the default directory scturture for my Rails 2.3.5 project is
public/stylesheets
public/javascripts
I don't like this structure, because my project is logically divided on set of smaller parts (components, each of them can be modified independently from anothers.
Also, to fully style the component, i use CSS + jQuery, so, cs...
Uhm, so I had problems with the title, but this was my best shot!
Situation: I am writing a library so that I easily can re-use my code in future projects, without thinking about the internals. This library is supposed to be able to create objects at runtime and then access them to do tasks via a method. All by using a easy-to-use ident...
Is there a reason why certain pages are made as .php when you can put php into a .html file? Is it simply for the sake of organizing your files? Or does it affect how the page loads?
(I'm talking about the file extension)
...
Often, when working with jQuery, the need arises to include multiple plugins. This can quickly become messy work, especially when some plugins require additional components (images and CSS files).
What are some of the "recommended" ways to:
a. Manage the required files/components (.js, .css and images) in a way that is easy to maintai...