FAQ Database Discussion Community


How can a change be brought about in the testing process that follows waterfall?

testing,project-management,software-engineering,agile
We are a small company and i am a test coordinator appointed to bring a process in testing for the company. We dont have a testing process in place. Development-Deployment and testing happens almost daily and the communication is established over skype or mails. How do i start to bring...

Save Followers count in a field or query each time if needed [closed]

database,mongodb,database-design,mongoose,software-engineering
I want to create an App like Twitter. Now i have a question about this projects database architecture. I want to show each users Followers/Following count in his/her profile like Twitter, but i don't know that i have to query every time from Followers/Followings table/collection or this values can be...

confused in development process, How to put in pratice all that? [closed]

software-engineering,software-design,extreme-programming,rational-unified-process
I've been having a hard time putting into practice the software development processes that have studied, read several books as: 'UML and UP' 'Head First Software Development' 'Head First Object Oriented Analysis and Design' among others. The one that got close for my understanding was Head First Software Development that...

What C/C++ libraries are/are not available in Arduino? [closed]

c++,oop,arduino,refactoring,software-engineering
I'm new to Arduino programming and I was trying to refactor some code from a .ino file into several supporting c++ classes. However, a problem I encountered is some c++ libraries are not seemed to be supported in Arduino. For example I was trying to use std::string but the compiler...

Relation between Manager and Server on the model changes to the domain by using the Domain Modeling Language (DML)

java,software-engineering,dml
On a project that enables the creation and management of calculation sheets, wherein each worksheet. It has an owner and two sets of users: those who can change the spreadsheet and those who can read the spreadsheet. Every cell in a spreadsheet can have as a literal content, a reference...

sequence diagram in a specific situation

uml,software-engineering
Hello I'm studying sequence diagram. For example there are 2 actors, an actor is a trader who has an online shop. Another actor is a customer who buys the trader's products. How do I represent the situation when the trader is storing the products into a database or when the...

Classes with “Setters” and “Getters” only - advantages [duplicate]

java,oop,software-engineering
This question already has an answer here: Why use getters and setters? 32 answers I've had often the case that an API defines a class which only consists of its fields with the appropriated setters and getters. However, they have had a specific role. So from a real life...

A good approach to read image files in C++

c++,oop,software-engineering
I am planning to develop a system that can load and process image files in C++. Before coding the system, I wanted to focus on software engineering and OOP side of the project. My question is how would you design basic image loading part of this system? Here is my...

undo / redo software pattern for split merge

design-patterns,software-engineering
I have a somewhat complex piece of genomics software where I allow undo and redo operations. If I have an element A, I can move it to A0, A1, A2, A3, etc. and move it around to any point in its history. This is easy. What I'm trying to figured...

Software Testing Standards for web applications

testing,standards,software-engineering
Can someone define the software testing standards for web application? We have our own set of standards on which we done testing. Its very simple like text font size, error message display locations, alignment of text boxes, proper validation etc. I am very much interested in knowing the ISO standards...

How do I split my Hbase Table(which is huge) into equal parts so that I can store it into local file system?

hadoop,export,hbase,bigdata,software-engineering
I have a Hbase Table of Size 53 GB that I want to store into my local file system. However I have only two drives of size 30gb each and I can't store the file completely into one drive. Could anyone please tell me how do I split and store...

In simplest term, what is currying and why should this approach be favored over traditional programming paradigm?

scala,functional-programming,software-engineering,currying
I am having hard time understanding currying through several sources on web . Isn't there more intuitive example of currying? Also, what are its advantages over traditional programming paradigm ? Is currying possible to achieve on non-functional programmming?...

interpreter versus compiler's final code product

compilation,operating-system,software-engineering,interpreter
I'm trying to understand the difference between compilers and interpreters. I understand that a compiler translates a high level language directly into machine code, all in one go, seeing the entire code. And I understand that an interpreter - rather than translating into machine code - it directly executes the...

What does decoupling two classes at the interface level mean?

java,spring,inversion-of-control,software-engineering
Lets say we have class A in package A and class B in package B . If object of class A has reference to class B, then the two classes are said to have coupling between them. To address the coupling, it is recommended to define an interface in package...

How is a professional software made? [closed]

software-engineering
What I have been doing so far is I install SQL Server on my client's machine, create a database and then run the exe file generated from Visual Studio (I'm using ASP.Net + C# programming + MS-SQL). So far so good but as per recent demand of clients, they need...

A composite class with an associative relationship to a separate class

ruby,uml,software-engineering
Using modules and classes, what is the best way to define this class relationship? A commodity has zero or more price series' (aggregation), And a price series object is created by selecting part of an ExcelFile object. (An excel file object is an excel workbook that has been converted to...

Data Integrity importance when taking the NOSQL approach ?

mongodb,nosql,database-schema,software-engineering,data-integrity
I almost done working on a big application, a couple days ago i saw martin fowler talk on NOSQL, after that i realize that i have been using mongo as a relational db, so i decided to refactor my schema, but i have heard a lot about integrity, from a...

What to include in software metric calculation on laravel project?

php,laravel,software-engineering,metrics
Laravel project contain a lot of files and folder. When we are calculating the Software Metric, should we include them all? I am using phpmetric but it ignored the vendor folder. But when I use phpdepend , it included that folder. Thanks.

Integration of different parts of code

java,ruby,software-engineering,code-reuse
I am working on a small project on metadata extraction from documents and have run into, eh a dilemma. I have some libraries in Java which work well with document-handling for information retrieval, like Apache Tika, POI etc and some more tools in other languages like Ruby(pdf-extract) and a script...

How do I export a table or multiple tables from Hbase shell to a text format?

hadoop,export,hbase,bigdata,software-engineering
I have a table in my Hbase shell with huge amounts of data and I would like to export it to a text format onto a local file system. could anyone suggest me how to do it. I would also like to know if I could export the Hbase table...

How to measure redundancy in code bases?

architecture,software-engineering,software-design,redundancy,entropy
I inherited a medium-sized code base, whose only programming paradigm appears to have been Copy&Paste. There are literally dozens of code snippets that could be easily parametrized and replaced by a simple function call. The code isn't mission-critical, as it's "only" testing code. Nevertheless this makes it a pain to...

Where to place a method which checks if two edges are parallel in a graph?

java,oop,graph,uml,software-engineering
I'm divided as to where to place a method which checks whether two edges are parallel in a graph. In the UML class diagram seen below, I have placed my suggestions in notes. The figure depicts that a Graph consits of Edges and Vertices. Two edges are parallel if they...

Is it right extend an user controller in another user controller in MVC?

php,model-view-controller,software-engineering,software-design
I am in a situation where i am thinking in extend an user controller to eliminate code replication, but i am not sure if this can broke some MVC rule and if it is a good practice. To ilustrate, below is an code example. class MyController extends CoreController { public...

Large scale and full extensable web application architecture

web,architecture,software-engineering,onion-architecture
I have been reading many architectures such as N-Layered, Onion ,... . But I'm designing a large system that is working by some huge databases and provides a lots of services to another applications/clients. On the other hand our system have to be designed very extensible. the parts of our...