A structure is a fundamental, tangible or intangible notion referring to the recognition, observation, nature, and permanence of patterns and relationships of entities.

learn more… | top users | synonyms

0
votes
0answers
21 views

What is this file structure method called? [on hold]

I have been using this file structure for a while now and I'm not sure where I got the idea from (possibly PHPBB? Maybe Wordpress?) Basically, I create a page, like ...
4
votes
1answer
54 views

Structure a webapp using RequireJS

I've written a small webapp in JavaScript, and am now essentially rewriting it to use RequireJS. I'm doing this partly to get more familiar with RequireJS (which I have little experience with), as ...
7
votes
0answers
66 views

How to structure a master page?

I have a small coldfusion section of our site that all uses similar js and css files and page structure. The code is currently repeated for each file, and I'd like to factor it out and set something ...
7
votes
3answers
161 views

RPSLS game revisited. Is my structure better than previous attempts?

This question is a follow up to these questions: RPSLS Game in C# Is my coding technique progressing in terms of C# loops? RPSLS is less messy now, but is it clean? Right now I have a couple of ...
2
votes
1answer
107 views

Please review my project structure

Please guide me with your knowledge. I am not sure what I am doing is right or not. I'm looking for experienced opinions. Entity Example ...
1
vote
0answers
26 views

Inheritance and setting up for an API request

I am setting up a class to be used for an API request (with JavaScriptSerializer) I am using it to send a complaint to their ticketing systems. So for example I send Title, Description, Custom_Fields ...
-1
votes
1answer
56 views

Error caused by c++ iterator in 2D Point structure [closed]

I've written a structure of 2D Point. But it doesn't compile due to some errors caused by iterator. I can't figure it out. Here is my code: ...
2
votes
1answer
15 views

XML Schema File that validates my XML File

I just want to know if my schema file is correct: XML File: ...
11
votes
2answers
279 views

Knockout.js binding 2D table with rowspan

The app I'm working on should allows it's users to create tables. I have a view in which users are able to create a table. They should be able to define here the table's columns. The columns that the ...
1
vote
1answer
67 views

LDAP Library structure, classes, functions, initialization?

I have started working on my first open source project making an LDAP library in Python. I have coded quite a bit and am starting to think about a couple of the details related to structure. I have ...
5
votes
3answers
173 views

Simplifying and optimizing the structure of this code

I'm developing a Java EE project which uses Redis through the Jedis library. I'm retrieving the chat history of a particular channel from the servlet context and if absent, from Redis. The PMD plugin ...
2
votes
2answers
422 views

Building a Red Black tree using a structure as a node

I have the following structure: ...
1
vote
2answers
42 views

Review a filter by date method

Method that allows me to filter by date a data structure list of hash that contains articles. I would like to have your opinion on the code: ...
4
votes
1answer
83 views

Creating a Ruby gem that talks to another gem

I am working on creating an interface gem that works with the Jira-Ruby gem. I have several questions and would like a general review for both my code and my attempt at creating a gem (I've never ...
4
votes
1answer
116 views

Pointer to a Template structure

I have seen this type of definition for a "node" of a Linked-List-type Data Structure in many codes and have myself used this many times -: ...
5
votes
3answers
247 views

How to structure a Javascript module better?

There's this Ajax-heavy, JQuery-based site which I'm about to work on. There hasn't been much structure in the JS code so far (lots of functions at global scope, hard-coded in the HTML ...
0
votes
1answer
54 views

javascript: data and vtables vs. objects and methods

I present a bunch of grids of data to the user, and want to sum certain columns in some of the grids. ...
2
votes
2answers
228 views

Update HTML4 to new HTML5 Semantic/Structural Elements

So im trying to update my websites code to the new HTML5 Semantic/Structural Elements, but im not very sure with the sections and article element. So here the structure of my page: ...
1
vote
1answer
56 views

Creating and referencing markup…cloning, etc. efficient system for this plugin

I am pulling multiple feeds from youtube that have a callback function which makes markup from each feed. They add that markup to a documentFragment stored in var data. When all the feeds have ...
8
votes
1answer
248 views

Structure JavaScript code

I am new to JavaScript development, so seeking help in guidelines on how I can better organize my code in a better way. This is what I have for a small app I am working on: ...
1
vote
1answer
139 views

C++ Design Struct vs Class [closed]

I am writing class CollectingClass which collects much data in private members and prints them out later. To encapsulate all the private members, I decided to ...
3
votes
1answer
991 views

Python: Academic implementation of artificial neural network

With some free time, I decided to study artificial neural networks as an academic exercise (not homework). Over the course of my studies, I decided to write a Python application that would allow me to ...
1
vote
1answer
70 views

Keeping my JS decoupled but still use functionality

In the very simple code below I'm illustrating having a master 'App' object with 'Chat' & 'Posts' modules inside. Now, what I'm asking is, in my conscious effort to keep my components loosely ...
2
votes
2answers
120 views

How can I better organize code that modifies the functionality of a page?

Here's a bit of one of my web forms which is reached by clicking on a link in a calendar. Based on what you click, you end up at this page with a different QueryString. Based on that QueryString, we ...
5
votes
1answer
84 views

Is this MySQL database structure acceptable or can it be improved?

Recently I've tried to teach myself basic things about MySQL databases, however I received some help on stackoverflow with creating a good database structure trying to avoid redundancy as much as ...
3
votes
1answer
2k views

Is this a correct implementation of MVC pattern for form validation (php)?

Before going out and learning a full fledged framework I'm trying to understand the MVC pattern coding basic stuff, at the moment I'm testing with MVC applied to form validation. After reading a good ...
3
votes
1answer
236 views

Dictionary Tree optimization help [C++]?

I was wondering if anyone could give me a little bit of help with optimizing a tree-structure in C++. I'm currently developing a dictionary program for a school project but want to take it a bit ...
2
votes
1answer
163 views

a little “infile” AMD

I like the modular aspect of AMDs (Asynchronous Module Definition, see this StackOverflow reply) and it's quite neat to structure JS. But I typically compile all my JS files into one JS file. ...
1
vote
1answer
148 views

Java: Suggestions for improved project structure/desing? Especially usage of interfaces

I'm coding some sort of mini physics engine and I ran into some problems with my design, so I'm asking for ideas here. I'm not really experienced with design patterns, so any help with this would be ...
2
votes
2answers
96 views

How could I have approached this differently? My first Java applet

I'm a JavaScript coder trying to teach myself Java using online tutorials and ebooks. I have now created my very first applet but feel it only really goes to show the depth of my unappreciation for ...
3
votes
2answers
134 views

Does my function code adhere to C standards?

I am relatively new to C and would like some feedback on a function that I have written, if it adheres to C standards or if there are some other things which I could have done better/differently. The ...
6
votes
1answer
816 views

High level file structure and library structure [closed]

I'm working on a DOM-shim project. For a small subset of the DOM4 specification (Actually a subset of the Node interface) I already have 400+ lines of functions. I presume keeping this up will ...