Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [framework]

A framework is an existing library or set of libraries to help you complete a common task faster and more easily. Use this tag if you're writing a framework, not if you're just using one. When using a framework the specific framework should be used instead of this tag.

Filter by
Sorted by
Tagged with
15 votes
1 answer
1k views

Battleship strategy evaluation framework

In preparation for the May 2015 Community Challenge, I decided to build a Battleship strategy tester. Implementing an ocean First, there is an underlying Ocean ...
Edward's user avatar
  • 66.4k
13 votes
1 answer
5k views

Generic Converter framework

I find myself frequently converting between formats, so I have come up with the following conversion framework. The converter interface surfaces a method to convert from a source type to a target type....
Hawk's user avatar
  • 233
11 votes
2 answers
2k views

CAT: Cat Approved TUIs

Cat Hello everyone! I am working on this TUI framework which aims to abstract the ncurses library. I was wondering how understandable it is, and what I can improve! Any feedback is welcome!! My ...
Labricecat's user avatar
11 votes
3 answers
1k views

Finding shortest paths in directed graphs

I have very little experience in programming with C++ and the following small "program" is the 2nd one I have ever written in that language. I am most interested in comments regarding naming ...
coderodde's user avatar
  • 28.4k
11 votes
1 answer
1k views

Bitex - Cryptocurrency Exchange API Framework for Python - Round 2

This is a follow up to my previous review request. BitEx is a Python module I've been working on for a little over 9 months now, as a side project. It was published 6 months ago on GitHub, and as I ...
deepbrook's user avatar
  • 227
10 votes
2 answers
216 views

Html rendering framework with dynamics

I came to the conclusion that the previous framework was too complicated and not easily extendable so I tried it again but this time with dynamics. It's much much shorter and I think it's much easier ...
t3chb0t's user avatar
  • 44.3k
10 votes
2 answers
345 views

Manifest.JS: A lightweight front-end structural framework

Code review scope My goal with this review is to receive big-picture observations and suggestions for improving the efficiency / ease of writing the front end of a web application with this basic ...
user avatar
9 votes
1 answer
3k views

Database abstraction layer for multiple providers

There's been a lot of questions lately about database provider and repository design especially without entity framework or alike. I thought I try myself to create a reusable framework for this kind ...
t3chb0t's user avatar
  • 44.3k
8 votes
0 answers
352 views

STTCL FSM framework based on the GoF State Pattern, Part I: The basic interfaces

Preface I have decided to let my pet project created some years ago to undergo a code review here. The review will be broken into parts according to meta question Multiple reviews or one big review?...
πάντα ῥεῖ's user avatar
7 votes
2 answers
11k views

Building a simple ORM in PHP

I have been curious about how ORMs really work under the hood so I decided to do something simple in PHP. So I basically built two Interfaces: DatabaseInterface and the ORMMapper interface and two ...
mendez7's user avatar
  • 71
7 votes
1 answer
113 views

Simple framework for looped applications

I wrote up a quick API to help me save time while writing applications that require either a delay or frame rate. It should require me to implement a void run() ...
Dioxin's user avatar
  • 414
7 votes
1 answer
173 views

HTML-rendering framework for emails

Sometimes I need to auto-generate html-emails. To make this task a little bit easier I created a simple framework that takes care of rendering HTML. Because I'm mainly interested in generating HTML ...
t3chb0t's user avatar
  • 44.3k
6 votes
3 answers
439 views

Simple object validator with a new API

Quite some time ago I have created the Simple object validator (see also self-answer). The more I used it the more I thougt its API could be better so I have heavily refactored it and would like to ...
t3chb0t's user avatar
  • 44.3k
6 votes
1 answer
239 views

Undo Framework Design (Revert the changes in the collection)

Requirement is to monitor the changes in a List<T>, possible changes are Add / Remove / Update, which are registered in an ...
Mrinal Kamboj's user avatar
6 votes
1 answer
105 views

Web Development DSL

I'm working on a DSL for web development, similar to sinatra. The git repository is here. I've been attempting to improve this code and write it for 4 months, and as a hobby programmer, I would like ...
thesecretmaster's user avatar
6 votes
0 answers
2k views

Iterate through all the photo library in iOS

This function is supposed to return a map of all unique local identifiers of images that are on the iPhone using the IOS Photos Framework. (it is a map so nSnull or (any object can be mapped to it) ...
Noam Segev's user avatar
5 votes
2 answers
2k views

Small PHP framework template library

The following is a new question based on answers from here: Small MVC for PHP I have written a small template library that I would like some critiques on, located here. If you are looking for where ...
Naftali's user avatar
  • 1,089
5 votes
1 answer
2k views

Adjusting business logic conveniently through JSON and expression trees

I need to evaluate some data. The rules how it should be done are changing frequently (it's an evolving model) so I don't want to rewrite my application each time such a change comes. I'd rather do it ...
t3chb0t's user avatar
  • 44.3k
5 votes
1 answer
15k views

HTTP Request/Response class

I would like to get feedback on this, which are just simple Response/Request classes. I tried to keep it simple, so I made two ...
samayo's user avatar
  • 325
5 votes
1 answer
2k views

Telegram Rest API client design

I'm working on a "framework" for Telegram bots and right now everything "just works". I'm now in the process of rethinking about what I wrote and one of the things I dislike a lot is how I implemented ...
fnurglewitz's user avatar
5 votes
1 answer
865 views

Validation extensions v2

I have still another version of my validation extensions. I've reworked it and added some new features. It doesn't relay on expression trees any more but as a compensation the same extensions can be ...
t3chb0t's user avatar
  • 44.3k
5 votes
0 answers
88 views

Python-style object library for Clojure

Background I am authoring pulley.objective, an Open Source library that provides an object system inspired by Python's object model. I have some features ...
Nathan Davis's user avatar
4 votes
1 answer
552 views

Functional Html builder

This is my third attempt to create a easy to use html builder because I wasn't really satisfied with the first one that wasn't extendable at all and even the one using dynamics wasn't much better. It ...
t3chb0t's user avatar
  • 44.3k
4 votes
2 answers
646 views

Laravel 5.4: Authentication System

I have recently coded my own authentication system and wondered if there was any way I could make it better? I coded it with Laravel 5.4. getView is called on ...
Josh Hallow's user avatar
  • 1,345
4 votes
1 answer
92 views

Request handler based solely on reflections ver. 2

This question is connected to the previous one: Request handler based solely on reflections I have edited the code, taking tim's answer in regard, editing the Kernel class cohesion. ...
Kevin Kopf's user avatar
4 votes
0 answers
117 views

Toggle any application feature ON or OFF - follow-up (v2)

This is the second version of my FeatureToggle service (see previous question). It still has the same purpose which is to help control whether a feature is ...
t3chb0t's user avatar
  • 44.3k
4 votes
0 answers
126 views

One interface for multiple CRUD resources

I asked about an abstraction layer for accessing files (link) a couple of days ago (I decided to not call it a follow-up anymore as there are too many changes). I tried to incorporate many of the ...
t3chb0t's user avatar
  • 44.3k
3 votes
1 answer
93 views

CPU emulation library

I've started to work on a JavaScript library called vCPU with the purpose of providing a framework for emulators. vCPU is designed to be able to emulate multiple types of CPUs, with setup only ...
themirrazz's user avatar
3 votes
2 answers
251 views

Simple JavaScript front-end framework for building web components

At my work, we have quite a bit of legacy front-end code written with jQuery and Mustache templates -- some of it dating back to 2011. For a long time, we've needed a framework that would: Provide a ...
Elliot B.'s user avatar
  • 141
3 votes
1 answer
87 views

Framework constructor

I'm working on my framework constructor. First I tried to look into jQuery and understand it, but it's so out of my league. Instead I googled and put this code together. Though there aren't many posts ...
akinuri's user avatar
  • 199
3 votes
2 answers
2k views

Genetic algorithm implementation

Is this the best way to implement a genetic algorithm framework? I'm just a student and wanted to know if I can improve the code that I have done. Some of the code I copied from the framework ...
Angelo Bastos's user avatar
3 votes
1 answer
744 views

Type converter framework (v2)

This is the second version of my type converter framework. The the previous one can be found here: Type creator service & framework In this version I mostly implemented what @Dmitry Nogin ...
t3chb0t's user avatar
  • 44.3k
3 votes
1 answer
369 views

Basic MVC Framework

I want to improve my skills so i startet a very basic MVC framework. Its my first MVC based Framework. Index I rewrited all requests through index.php and the ...
user avatar
3 votes
1 answer
125 views

Simple networking framework in C

Question: What do you think about this design and the implementation? This is a simple networking framework for IPv4, IPv6 TCP client and TCP server for Linux and MS-Windows in C. It uses a single-...
Andre Adrian's user avatar
3 votes
1 answer
83 views

Web application response message API

The following excerpt is part of a web application microservice framework. The goal of the provided module is to define a base class Message that may be configured ...
Richard Neumann's user avatar
3 votes
1 answer
1k views

AutoMapper DSL (Computation Expression) for F#

I have created a DSL for AutoMapper using an F# Computation Expression Builder. The Computation Builder itself is fairly simple, and effectively defines 5 basic operations: ...
Aaron M. Eshbach's user avatar
3 votes
1 answer
311 views

Validation extensions

I've been working on another timesaver because I really really don't like to type all those validation ifs and exceptions over an over again. What I came up with ...
t3chb0t's user avatar
  • 44.3k
3 votes
1 answer
184 views

A framework for simple multiple-choice quizzes

Just looking for more experienced programmers opinions on this code. It's a framework for making simple multiple-choice quizzes. I am aware that there is the potential to make the arrays dynamic, but ...
user avatar
3 votes
1 answer
76 views

Framework to define and require JavaScript modules

I'm working on a webapp that I use gulp to build. It uses useref to gather and concatenate/uglify the assets used in the HTML files. In this case, as things are getting concatenated, it doesn't make ...
Unilat's user avatar
  • 131
3 votes
0 answers
95 views

Handling boilerplate tasks via service pipelines

Here's a small experiment about handling boilerplate tasks via service pipelines. It's similar to the HTML pipeline but simpler and multipurpose. I've updated the question and this is the 2nd version ...
t3chb0t's user avatar
  • 44.3k
3 votes
0 answers
288 views

Combine asynchronous return values in SwiftUI

I have 2 asynchronous return values from 2 different classes, one from HealthKit, the other from MotionManager. I combine the outcome of these classes through a combinedViewModel. The code works, but ...
Bjorn Morrhaye's user avatar
3 votes
0 answers
648 views

Generic object-to-XML mapper

This code is part of a larger mapping library I'm working on to address some business concerns of transforming data. I was inspired by mapstruct in Java, but opted for users to annotate / add ...
Igneous01's user avatar
  • 131
3 votes
0 answers
62 views

STTCL FSM framework based on the GoF State Pattern, Part II: Abstraction of asynchronous/concurrency features

Preface I have decided to let my pet project created some years ago to undergo a code review here. The review will be broken into parts according to meta question Multiple reviews or one big review?...
πάντα ῥεῖ's user avatar
2 votes
1 answer
322 views

Mockingbird c++ mocking framework

I have developed Mockingbird a mocking framework for c++, it depends on function injection, here is the code from the repository: ...
muaz's user avatar
  • 121
2 votes
2 answers
145 views

Type creator service & framework

I needed a mechanism for creating types dynamicaly from strings and bytes etc. I tried really hard to use the .net's TypeConverter system as it seemed to be the ...
t3chb0t's user avatar
  • 44.3k
2 votes
1 answer
230 views

Adding more functionality to tkinter for projects (Revised)

After taking advice from Reinderien, I have completely rewritten the code for my Window() subclass. EDIT *reason for posting was unclear: I would like for someone ...
hunter.logan's user avatar
2 votes
1 answer
736 views

Database interface and PDO adapter

I'm writing my own framework in PHP and I want respect the SOLID principles. I made this interface: ...
fabrix's user avatar
  • 35
2 votes
2 answers
107 views

JavaScript modular framework for a large web-site

In my ASP.NET MVC project I simply inserted <script></script> into my views - it caused code duplications and spaghetti code. Now, I have decided to ...
Yeldar Kurmangaliyev's user avatar
2 votes
1 answer
177 views

Small generic path search framework in Java

I have this small generic path search library. It's not perfect at all, so I need some comments as to have a chance to improve it. com.stackexchange.codereview.graph.model: AbstractHeuristicFunction....
coderodde's user avatar
  • 28.4k
2 votes
1 answer
382 views

Android: Navigation with Hilt + Jetpack Compose

The project is simple: Login screen and a forgot password screen. You can navigate from Login to ForgotPassword. I feel like I overcomplicated things, but I don't know if (and how) it can be ...
Simon's user avatar
  • 245