All Questions
Tagged with css object-oriented
9 questions
3
votes
1
answer
120
views
Typescript design pattern for rendering different objects with similarities
It's a web project. The code is working. The question is a design pattern question to write code that's more elegant, you know.
I've created a Codepen of this question.
I created a ...
11
votes
3
answers
2k
views
IP address detection code
I am using PHP for detecting a user's IP address and displaying their details, and I use OOP (i.e. object-oriented programming).
Are there any problems in it or is it well-written?
index.php:
...
0
votes
1
answer
98
views
Best method to further execute the DRY principle and/or raise performance in my script? (client login/signup system)
Just for practice purposes, I written a basic client sided login/signup system that allows you to make an account, and then log into the account from my webpage. What it does is append to an object ...
4
votes
3
answers
232
views
PHP display Error Wanings Yellow @ bottom of Page with PHP_EOL
I initially started searching for a PHP script which would output PHP errors, to the JavaScript console. As the Default behaviour is just to spit them out anywhere and displace everything else.
...
2
votes
0
answers
335
views
Pomodoro Countdown Clock
I would appreciate feedback on this Pomodoro Clock. I tried to use straight
Javascript for the logic instead of JQuery and I would be interested in any observations of
where that was a good or bad ...
3
votes
4
answers
751
views
CSV parsers and OrderedDictionary
I wrote the following (static) class to read files easily in C#. However, it is a static class, so I wonder if there would be a gain to make it a non static method (and therefore, passing arguments as ...
3
votes
3
answers
829
views
Constructor function, prototype and making a modal
I'm playing around with prototypes, constructor functions and javascript - I'm not really a Javascript developer but am interested in this.
Am I on the right track with this code? I'm looking for a ...
5
votes
1
answer
355
views
Getting color information from an image
I am working on a site that themes itself based on images / logos. I have made a utility class that gets the colors from an image, shown below. I am fairly new to OOP with PHP, and I'm looking for ...
2
votes
2
answers
2k
views
Event Registration
I am new to the world of coding, PHP as well as XHTML. As my first stab at object oriented coding, I put together a basic registration form that is meant to serve as a means to collect user details.
...