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
128 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 ...
6 votes
2 answers
9k 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 ...
4 votes
1 answer
91 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. ...
1 vote
1 answer
109 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++14. It uses a single-...
3 votes
1 answer
100 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-...
0 votes
1 answer
87 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 ...
3 votes
0 answers
85 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 ...
0 votes
1 answer
67 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 ...
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 ...
2 votes
1 answer
303 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: ...
10 votes
2 answers
321 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 ...
3 votes
0 answers
264 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 ...
2 votes
1 answer
207 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 ...
1 vote
1 answer
57 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 ...
2 votes
1 answer
120 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 ...
4 votes
0 answers
115 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 ...
2 votes
1 answer
110 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 ...
6 votes
3 answers
378 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 ...
1 vote
1 answer
107 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. ...
2 votes
1 answer
570 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: ...
3 votes
0 answers
525 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 ...
4 votes
0 answers
120 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 ...
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 ...
6 votes
1 answer
194 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 ...
3 votes
1 answer
77 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 ...
4 votes
1 answer
531 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 ...
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: ...
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 ...
3 votes
2 answers
238 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 ...
2 votes
1 answer
375 views

Implementation of OpenGL context

context.h: ...
1 vote
0 answers
201 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 ...
2 votes
0 answers
375 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 ...
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 ...
0 votes
1 answer
181 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 ...
4 votes
2 answers
645 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 ...
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) ...
2 votes
0 answers
92 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?...
3 votes
0 answers
61 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?...
8 votes
0 answers
348 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?...
1 vote
0 answers
856 views

PHP autoload class design for a framework

I'm developing a php framework called Stack. I just created the autoload.php as follows. ...
10 votes
2 answers
210 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 ...
6 votes
1 answer
103 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 ...
5 votes
0 answers
86 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 ...
7 votes
1 answer
164 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 ...
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 ...
2 votes
2 answers
103 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 ...
5 votes
1 answer
857 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 ...
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 ...
3 votes
1 answer
278 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 ...
3 votes
1 answer
697 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 ...