software-engineering

Solutions for redundant server and client code?

In our system, the code which exists on the client side (in Flash and Javascript) mirrors the code that exists on the server side (e.g. in Python or PHP), normally with respect to the models, the methods available for those models, and the unit tests written for them. This becomes a problem in systems where you want to minimize data tran...

Software Requirement Specifications for Web Applications

Hi guys, I'm looking for some guidance/books to read when it comes to creating a software requirement specification for a web application. For inspiration I have read some spec documents for desktop based applications. The documents I have read capture a systems functional requirements in use cases which tend to be rather data oriented ...

Who makes software validation? What are the steps of its?

Fill in the X,Y,Z please. Software validation has X,Y,Z steps. Client have to provide X,Y,Z to the developer before starting to write software. When software finished, validation completes with doing X,Y,Z (sign, approval, test pictures, logs etc.). If we buy a general software like invoice management tool or SAP module w...

Should methods that are required to be executed in a specific order be private?

I have a Class that retrieves some data and images does some stuff to them and them uploads them to a third party app using web services. The object needs to perform some specific steps in order. My question is should I be explicitly exposing each method publicly like so. myObject obj = new myObject(); obj.RetrieveImages(); obj.Retriev...

PHP/MySQL - Working with two databases, one shared and one local to an instance of application

The situation: Using a off-the-shelf PHP application, I have to add in a new module for extra functionality. Today, it is made known that eventually four different instances of the application are to be deployed, but the data from the new functionality is to be shared among those 4 instances. Each instance should still have their own dat...

How can someone become a business analyst?

Is there a way how to become a business analyst for software projects without studying in the concrete business domain or having long-time programming experience? Is there some way through education? ...

What are the benefits of automating acceptance testing?

Recently I read some articles about some doubts about benefits of acceptance testing, because it is quite costly compared to what it brings. To form my own opinion, I would like to gather as much benefits of automated acceptance testing as possible. Can you help me? ...

when does a software become "proprietary" ?

say a company is using Open source libraries, or programs, and packaging it into a proprietary solution. or perhaps, the engineers have copy pasted certain section of those open source libraries and have compiled it now, into a very useful "proprietary" software suite. what legal troubles will this company face if any ? are you allowed ...

NSLog the method name with objective-C in iPhone

Currently, we are defining ourselves an extended log mechanism to print out the class name and the source line number of the log. #define NCLog(s, ...) NSLog(@"<%@:%d> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], \ __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__]) For example, when I call NCLog(@"Hel...

Tool for screen drawing (html components)

I am using google docs to draw draft screens for specs. I wonder if there is a tool to simulate draft screens. For example I couldn't put a combobox on google docs easily. Thanks. ...

how to design and produce enterprise software in Java Technology EE ? more importantly does it have to be java ?

I want to be able to design and produce enterprise software/applications. Java EE comes to mind. but are there alternatives ? Does it have to be J2EE, to make enterprisey software ? More importantly, how common is it for developers to use Java Technology in order to build enterprise software ? I mean how much "meat" do you need to pack...

What are the benefits and drawbacks of using header files?

I had some experience on programming languages like Java, C#, Scala as well as some lower level programming language like C, C++, Objective - C. My observation is that low level languages try separate out header files and implementation files while other higher level programming language never separate it out. Those languages use some i...

Proactively using 'lines of code' (LOC) metric in your software-development process?

hi there, Codebase size has a lot to do with complexity of a software system (the higher the size the higher the costs for maintenance and extensions). A way to map codebase size is the simple 'lines of code (LOC)' metric (see also blog-entry 'implications of codebase-size'). I wondered how many of you out there are using this metric a...

Java Multithreading Challenge

Can someone please explain or give an example on how to create multiple threads with different functionalities in Java? This is the code... I am trying to create a thread that does what public void rnd_list() is supposed to do ( a list of 30 random numbers) which is a different task than the one define in public void run() which is the...

Software engineering: visit and visit history

Hello. I'm designing a software. I want to store the times a user visits a place, and I want to show a visit history for that user or place. I think, visit is a class, and visit history, is it a class? I don't know how to represent visit history on my UML model. Thank you. ...

Software engineering: friend is a user on a UML model

Hello. I'm developing a software where a user can be a friend of another user. Is friend a class on a UML model? I think friend is a user. Thank you. ...

How to apply coding methodologies and practices to non-coding work?

I can talk for hours about best-practice, source control, change management, feature tracking, development cycles and the lot, but most of what I've learnt or read seems to apply to nuts-and-bolts programming of compiled applications. You know, ASCII files that gets turned into 1s and 0s. How does one apply the same discipline and wisdo...

Software engineering: an image and a video is a file

Hello. I'm designing an application with UML. I have to represent video and image as a content of my application. I think both of them are files, one of type image and the other of type video. How can I represent this on an UML model? Thank you. ...

Software Engineering Papers

Please recommend me software engineering/methodology/practices paper. So far I have enjoyed: Dijkstra : Go To Statement Considered Harmful (1968) Nikalus Wirth : Program Development by Stepwise Refinement David Parnas : Information Distribution Aspects of Design Methodology (1971) Liskov : Design Methodology for Reliable Software Syste...

what is the difference between loose coupling and tight coupling in obect oriented paradigm?

Hi, can any one describe the exact difference between loose coupling and tight coupling in Object oriented paradigm?? I am too much confused on this. Thanks, Jim. ...