organization

Elegant practices on "random utility functions"

Hey all, I was wondering how you all organize your random functions to improve a language's functionality outside of OOP classes (global functions). I've seen libraries, but I'm still not sold on this being a good solution, especially if you don't have enough functions. I'm specifically interested in how people organize random PHP and ...

should an organization delete data (wiki, sharepoint, etc)

There was a similar question discussed around collaboration tools but one point wasn't fully agreed upon. As we now have all of these collaboration and documentation tools (WIKIs, sharepoints, blogs, etc) to keep track of project plans, busienss requirements, technical documentation, etc, the question is "should we ever delete this dat...

How to Manage CSS Explosion

I have been heavily relying on CSS for a website that I am working on (currently, everything is done as property values within each tag on the website and I'm trying to get away from that to make updates significantly easier). The problem I am running into, is I'm starting to get a bit of "CSS explosion" going on. It is becoming diffic...

Strategy for normalizing multiple SOAP responses

I'm basically trying to merge multiple SOAP responses because the web service only supports one room lookup at a time instead of multiple as far as I know - its the CheckAvailability method and using this WSDL If I supply my credentials, arrival/departure dates in my SOAP request I get the following data back, which is mainly comprom...

Multi-Level Bullets Implementation

What is the best way of implementing multi-level lists/bullets in php? What I'm trying to implement is a system to take in short phrases, and categorize them within sections. However, at the same time, I would like to have each section to be collapsible and capable of having sub-sections within them. For Example: Section 10 Section 10...

Quick start with Murky for Mercurial?

I just started using Mercurial, and I'm having some difficulties. I'm using Murky for Mercurial. I have several projects' files at localhost, want to keep them local to work on, and then upload to a server. So: Created a folder named "_reps" at localhost to keep all repositories. Opened Murky app Repository > New Local Created rep as ...

eclipse : how to differentiate/distinguish different open workspaces

I will need to use multiple workspaces for a recent project. Each workspace might consist of 10 or more projects. When I'm switching between various applications and different eclipse instances(for the multiple workspaces), I want to be able to distinguish a given workspace easily without having to spend 5 seconds to know from the open ...

Programming, publishing results, and getting help of your boss

Hi, let's say that you are working in a public scientific and computer programming research center as research associate and that you are not independent and have kind of a boss. Let's say that you create a new computer programming research line that has nothing to do with what your boss previously did or investigated. Let's say that yo...

jQuery code organization and performance

After doing some research on the subject, I've been experimenting a lot with patterns to organize my jQuery code (Rebecca Murphy did a presentation on this at the jQuery Conference for example). Yesterday I checked the (revealing) module pattern. The outcome looks a bit reminiscent of the YUI syntax I think: //global namespace MyNameSp...

How should I organize javascript when using CodeIgniter

I'm trying to find a good organization practice of my javascript (jquery) files when using CodeIgniter. I do a lot of ajax sites and many of my views are loaded in various controllers, I'd like to only load the necessary javascript for those views without duplicate code. How do y'all handle this issue? ...

Xcode organization in finder?

hi...I have read all the suggested StackOverflow posts on this question. It bothers me that Xcode will not organize my files in the finder the same way it does in the editor view...it will only do that if I copy files in from an external source and specifically tell it how I want things organized. Is there a way to make Xcode have the Fi...

Helpers, methods and classes organization

When my project is growing up, I need to write some methods, but application_controller's private methods and helpers aren't provide enough space to store all extensions. So I have looked at custom classes and methods, which are stored in the /lib folder. But i still have some questions, which i can't solve: -When should I use "class ...

How should I structure my settings table with mysql?

I want to use MySQL to store a bunch of admin settings - what's the best way to structure the table? Like this? Setting _|_ Value setting1 | a setting2 | b setting3 | c setting4 | d setting5 | e Or like this? |--------|_setting1_|_setting2_|_setting3_|_setting4_|_setting5_| Settings | a | b | c | d ...

One repository/multiple projects without getting mixed up?

Hello After reading Joel's last article on Mercurial, I'm giving it a shot on XP as a single-user, single-computer source control system. One thing I'd like to check, though, is: It'd be easier to just create a repository of all the tiny projects I keep in eg. C:\VB.Net\, but the result is that the changes I make to the different proje...

Create CRM Organizations on Load Balancing network

I'm trying to understand how to create CRM Organization on Load Balancing network. I've three web servers (Web01, Web 02, Web03); three application servers (App01, App02, App03) and a SQL Server (SQL01). I already have Load Balancer setup and there is already one organizaiton setup by someone on all web servers. This organization is I...

Why can't sub-packages see package private classes?

Okay so, I have this project structure: package A.B class SuperClass (this class is marked package private) package A.B.C class SubClass (inherits from super class) I'd rather not make SuperClass publicly visible... It is really just a utility class for this specific project (A.B). It seems to me that SubClass should be able ...

Which type of design pattern should be used to create an emulator?

I have programmed an emulator, but I have some doubts about how to organizate it properly, because, I see that it has some problems about classes connection (CPU <-> Machine Board). For example: I/O ports, interruptions, communication between two or more CPU, etc. I need for the emulator to has the best performance and good understandi...

Should Development / Testing / QA / Staging environments be similar?

Hi all, After much time and effort, we're finally using maven to manage our application lifecycle for development. We still unfortunately use ANT to build an EAR before deploying to Test / QA / Staging. My question is, while we made that leap forward, developers are still free to do as they please for testing their code. One issue th...

I want to better organize my website files, but I can access the .php files using the folder heirarchy. How can I override that?

For example, to access a page in my search folder, I have to write: mywebsite.tld/search/searchJob.php I don't want users to have to write down folder structure and whatnot. What can I do to change this? OR, is there a better way to organize my files? Because I'm only two pages in and I decided to move some files and got lost in the h...

The best way to organize WPF projects

Hello everybody, I've started recently to develop a new software in WPF, and I still don't know which is the best way to organize the application, to be more productive with Visual Studio and Expression Blend. I noticed 2 annoying things I'd like to solve: I'm using Code Contracts in my projects, and when I run my project with Expres...