The structure tag has no wiki summary.
1
vote
2answers
51 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:
<body>
...
1
vote
0answers
37 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 ...
7
votes
1answer
207 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:
var app = app || {};
...
1
vote
1answer
107 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 create a struct Data, keeping all the ...
2
votes
1answer
325 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
56 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
90 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 ...
4
votes
1answer
73 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
596 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 ...
2
votes
1answer
192 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 ...
1
vote
0answers
95 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
121 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
71 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
98 views
Please review my function code for adherence to C standards and whatever else could be improved to it
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
571 views
High level file structure and library structure
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 ...