Unanswered Questions
146 questions with no upvoted or accepted answers
4
votes
0
answers
178
views
Swift iOS app for showing motivational quotes, with multiple screens
I'm one month into self-learning Swift, and I would like some advice to improve my coding skills.
I have listed 2 situations that I think I need to improve. I'd like some feedback focusing on my use ...
4
votes
0
answers
130
views
Wrapper for Google_Service_Calendar as a Symfony service
My app interacts with Google Calendar. This Service wraps Google_Service_Calendar:
...
4
votes
0
answers
133
views
Salesforce controller to implement a dynamic form
The code below is a controller for a Visualforce page (form). The controller determines if the form was previously created and saved or saved in progress in a previous action. If the form is new it ...
4
votes
0
answers
857
views
Update UI once all API calls are done
I'm learning Swift at the moment but I would like to produce well-organised code. The goal of my little app is to display the weather of my current location.
I use :
the API of Darksky : https://...
4
votes
0
answers
273
views
In-memory file system context for the behat PHP BDD testing framework
I wanted to come up with a 'utility' context to enable testing of the file system with behat. Specifically this is aimed at helping with the behavioral testing of php command line applications that ...
3
votes
0
answers
44
views
SPA in Symfony UX Turbo
I am currently learning Symfony UX. My focus today was on UX Turbo. I basically wanted to create a very basic Single Page Application.
User can 'login' using a form, submitting the form should render ...
3
votes
0
answers
66
views
Controller class for an input dialog
I am learning OOP, concretely Java, by developing a real life business application for aimed for repair shops. I have followed MVC pattern design for GUI elements of my application. I was wondering do ...
3
votes
0
answers
512
views
Product Filters wordpress plugin: implement single responsibility principle for elements classes
Plugin is a small editor that allows to create a filter such as a price slider, checkboxes of "brands", a drop-down of "seasons".
An example of how plugin work can be seen on page: http://demo-...
3
votes
0
answers
527
views
Codeigniter 3 loading models in a different way
I'm currently building an application that uses the same models in different controllers. Instead of using the normal way, being loading the model in the controller I've build a "core controller" (<...
3
votes
0
answers
704
views
Verify OpenSSL RSA signature (PHP) with .NET (VB)
I would like to achieve something I believe is pretty standard:
A) My VB.NET client (ideally targetting Framework 4.0) sends a text string to my Apache/PHP Server via an HTTPS POST request.
B) My ...
3
votes
0
answers
48
views
Use a pattern for fields validation
I need to validate the fields of user sent by an API. All works fine but the only one problem is that I don't like the solution is not an OOP solution. In the controller I call the service created by ...
3
votes
0
answers
732
views
Symfony: Encrypt ID's on postLoad event
I am building an application that is becoming some kind of social media platform. I need to work a lot with the entities ID's in the HTML and Javascript for the purpose of AJAX calls. However, for ...
3
votes
0
answers
98
views
Drupal 8 Content Import via CSV Implementation
I am implementing a way to import content into Drupal 8 via a CSV. This CSV contains various fields such as node ID, title, body, etc. It has been working great but I am very concerned about how long ...
3
votes
0
answers
636
views
PHPUnit testing my custom helper Facade classes in Laravel 5.5
I have been reading up on TDD and it's something I genuinely want to learn and be good at. This is something I haven't been doing as a developer and I thought it's about time I get into it.
These are ...
3
votes
0
answers
1k
views
Simple OO MVC PHP framework
I've been working on a simple MVC PHP framework on and off for the last nearly 12 months, so I thought that I'd put it out there.
The project began as a way to mentor and teach a junior (or a more ...