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
0 votes
1 answer
71 views

Apply a funtion to each element of a dataframe according to other elements values in the corresponding row in pandas and python

I am a little new in the Pandas and Python framework. I would like to understand if my code is more or less fine or it too related to my old program framework way of thinking. I have this is the input ...
user avatar
  • 101
0 votes
0 answers
15 views

OAuth2 provider framework - ORM model generation

I recently outsourced the generation of OAuth2 authentication servers and appropriate ORM models into a common framework library. It mainly uses peewee, flask and authlib. Its purpose is to generate ...
user avatar
3 votes
0 answers
74 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 ...
user avatar
  • 43.8k
0 votes
1 answer
47 views

How do I divide Dao and Dao-Cache into different modules? [closed]

I want to improve performance for api. I design cache in dao layer. I use caffine cache. Basic code is: CacheConfig.java ...
user avatar
2 votes
1 answer
234 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: ...
user avatar
  • 121
10 votes
2 answers
295 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
3 votes
0 answers
214 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 ...
user avatar
1 vote
1 answer
55 views

Selenium - Java data driven Framework suggestion

Dropdown Screenshot I have 3 dropdowns with multiple components in the UI. Have incorporated data driven java selenium framework, data is fetched from excel sheet: Excel sheet- where data is fetched ...
user avatar
2 votes
1 answer
161 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 ...
user avatar
2 votes
1 answer
98 views

Adding more functionality to tkinter for projects

This code adds the following functionality to the basic tkinter.Tk() class... settings-file interaction for persistent application settings fullscreen ...
user avatar
4 votes
0 answers
109 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 ...
user avatar
  • 43.8k
2 votes
1 answer
79 views

418 I'm a TeapotServer for RESTful integration-tests

I created a test-server for RESTful integration-tests that I call TeapotServer because I like the status-code 418 that the ...
user avatar
  • 43.8k
1 vote
1 answer
85 views

Database connection and DataMapper

Following my previous question Database interface and PDO adapter, I wrote a new simple class to connect to Database and run a query returning a PDO statement. ...
user avatar
  • 35
2 votes
1 answer
359 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: ...
user avatar
  • 35
6 votes
3 answers
331 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 ...
user avatar
  • 43.8k
3 votes
0 answers
380 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 ...
user avatar
  • 131
4 votes
0 answers
111 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 ...
user avatar
  • 43.8k
5 votes
1 answer
1k 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 ...
user avatar
  • 43.8k
6 votes
1 answer
165 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 ...
user avatar
3 votes
1 answer
74 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 ...
user avatar
3 votes
1 answer
942 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: ...
user avatar
3 votes
2 answers
228 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 ...
user avatar
  • 141
1 vote
0 answers
195 views

F# Operation Framework (Railway-Oriented Programming + Task/Async/Lazy)

I recently published the initial version of what is effectively my first open-source software package, a Railway-Oriented Programming Framework for F# that encapsulates Tasks, Async Workflows, and ...
user avatar
2 votes
0 answers
307 views

Calling PL/SQL functions using JDBC in a Spring clone

I started to modify some old code and ended up creating a sort of spring jdbc framework. I know just the most popular design pattern, so I was wondering if my design was good. For example, to call ...
user avatar
1 vote
1 answer
2k views

Learning PHP MVC: bootstrapping and front-controller

I am creating an MVC-Framework to learn more about how PHP and software architecture works in general. My goal is to create a simple website with it. Right now I have trouble on what exactly is the ...
user avatar
  • 113
2 votes
1 answer
353 views

Implementation of OpenGL context

context.h: ...
user avatar
0 votes
1 answer
165 views

OpenGL framework "SOGL"

Here is my repo, pull requests are always welcome ^^ I know that OpenGL frameworks already exists (OGLPlus, for example) but I developing another one following this set of reasons: To understand how ...
user avatar
6 votes
2 answers
8k 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 ...
user avatar
  • 61
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) ...
user avatar
2 votes
0 answers
89 views

STTCL FSM framework based on the GoF State Pattern, Part III: Policy based design of higher level State Machine constructs

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?...
user avatar
3 votes
0 answers
55 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?...
user avatar
8 votes
0 answers
335 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?...
user avatar
4 votes
1 answer
497 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 ...
user avatar
  • 43.8k
4 votes
2 answers
642 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 ...
user avatar
  • 171
6 votes
1 answer
94 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 ...
user avatar
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 ...
user avatar
  • 227
5 votes
0 answers
85 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 ...
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 ...
user avatar
  • 43.8k
10 votes
2 answers
203 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 ...
user avatar
  • 43.8k
2 votes
2 answers
100 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 ...
user avatar
7 votes
1 answer
154 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 ...
user avatar
  • 43.8k
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 ...
user avatar
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 ...
user avatar
5 votes
1 answer
846 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 ...
user avatar
  • 43.8k
3 votes
1 answer
266 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 ...
user avatar
  • 43.8k
3 votes
1 answer
669 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 ...
user avatar
  • 43.8k
2 votes
2 answers
129 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 ...
user avatar
  • 43.8k
3 votes
1 answer
351 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
144 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
0 votes
1 answer
9k views

Detect that a class is marked by a custom annotation in Spring

I would like to enable application behaviour based on the presence of a custom annotation that marks the configuration class (normally named something like ...
user avatar
  • 343