Skip to main content

Questions tagged [symfony]

For questions about Symfony, a free PHP web application framework.

Filter by
Sorted by
Tagged with
1 vote
1 answer
141 views

I'm writing a pretty common Symfony web application, in which HTML is server side rendered (it's not an SPA application). To illustrate my question, let's take a pretty common fictional eshop ...
sgt-hartman's user avatar
2 votes
2 answers
595 views

I'm refactoring a common web app (not spa but traditional server side html rendering). The design/code organization follows more or the less the Clean architecture concepts (ie: controller calls a use ...
sgt-hartman's user avatar
-1 votes
1 answer
483 views

We have two application A and B that I'm refactoring. They both use the same database. Those application are written using the Symfony framework and Doctrine as database layer. I've moved some of the ...
Nicolas Appriou's user avatar
-2 votes
1 answer
301 views

Disclaimer : I come on this topic after it has been recommended to me on my previous closed SO topic (see closed one : https://stackoverflow.com/questions/64338968/how-to-effectively-manage-a-large-...
Vincent PHILIPPE's user avatar
0 votes
2 answers
273 views

I'm trying to found the best way to manage Exception for all over my application. Actually, I've come with two solutions : Solution 1 One Exception to govern them all. namespace App\Utils\Exception; ...
Vincent PHILIPPE's user avatar
0 votes
4 answers
288 views

(Disclaimer : I'm asking this question here because as it is opinion-based, it have been closed from https://stackoverflow.com/questions/64050308/an-action-in-my-controller-has-too-much-responsibility)...
Vincent PHILIPPE's user avatar
3 votes
1 answer
280 views

I am working on a Symfony 4 rest API application which will be use by multiple client(about 20 different clients). Each client has his specific needs so I have to fork the web application for each ...
Moran_bzh's user avatar
0 votes
2 answers
2k views

In Doctrine, assuming I want to implement different types of vehicles. Maybe a car, a plane, a bicycle and so on ... all these vehicles have many different properties but also very common things like ...
Jim Panse's user avatar
  • 408
-1 votes
1 answer
175 views

A Drupal website is using external Rest API service. The problem is that in a rare occasion when the Rest API service loses database or crashes for whatever reason, that causes the Drupal website to ...
Đuro Mandinić's user avatar
3 votes
0 answers
94 views

I am designing a 3rd-party library for developers to retrieve data from various endpoints of another system which itself has multiple APIs. Each of those APIs may contain the same type of request but ...
Jason Roman's user avatar
1 vote
1 answer
3k views

I have a Symfony project. I want to make this project API based, but also with a Web UI. So, I have 2 Bundles, ApplicationBundle and WebUiBundle. In Application Bundle, I have application, domain ...
JorgeeFG's user avatar
  • 697
0 votes
1 answer
70 views

On a REST api I have these endpoints: GET: /tracks.json GET: /tracks.xml GET: /tracks.csv It receives a tracks resourse and the format gets defined by .^string^ that is after the resourse. eg the ...
Dimitrios Desyllas's user avatar
7 votes
5 answers
1k views

Problem: We have to develop a CMS for our sites. The sites are kind of different, but they have common parts. We need to use our external user system and permissions, the menus are different for each ...
rungurean's user avatar
1 vote
2 answers
476 views

Usually on Symnfony framework I use the provided depedency Injection container and on Controller I load the models as a service. To be more In detail on a current project I am having the following ...
Dimitrios Desyllas's user avatar
11 votes
3 answers
20k views

We are building a Microservice architecture for our projects, with mostly front-end Symfony applications interacting with back-end RESTful APIs. The problem is this approach is breaking the Symfony ...
Pierre B.'s user avatar
  • 213
3 votes
1 answer
385 views

It's time to improve my workflow. I never had the responsibility of setting up the infrastructure, managing git, versions or releases. For me it was simple push/pull most of the time and I think, the ...
Mr. B.'s user avatar
  • 163
4 votes
0 answers
605 views

Symfony2 is handling all its things in bundles in /app or in /vendor. This is fine if you are handling and managing all by yourself or Ops that handle all needed things. But I haven't found a good ...
Michael's user avatar
  • 41
0 votes
0 answers
103 views

Below I describe what I'm trying to do and how I think I will do it. What I'm hoping is that a design pattern exists for using one object to configure another. This would allow me to have a nice ...
dnagirl's user avatar
  • 111
1 vote
1 answer
2k views

Hello fellow programmers, (a bit of background)I'm building a Symfony 2 application for university Student accommodation, when our clients from the university side register with their details a ...
some_groceries's user avatar
0 votes
0 answers
205 views

i am working on a Symfony Bundle that uses angular among other javascript deps. Now i want to unit-test my javascript code and i want to ship those tests as well. My initial idea was to add bower....
Andresch Serj's user avatar
1 vote
1 answer
143 views

I have many methods in many repositories that have the same logical flow: Retrieve value from Cache Check value If no value, fetch from Database Update Cache Return value Is there a way to refactor ...
Jonathan's user avatar
  • 1,135
0 votes
1 answer
134 views

We're close to start new project using sf2, and, probably, FosUserBundle. Keeping that in mind - what's the best strategy to define roles? App will be used by multiple divisions inside our company (...
ex3v's user avatar
  • 556
0 votes
1 answer
396 views

We are starting rewritting our apps (Internet portal, millions of unique users and few CRM/ERP systems, few hundred users) and we have a huge decision to make now. We are going to write them mostly (...
ex3v's user avatar
  • 556
1 vote
2 answers
2k views

I have been using Symfony2 with Doctrine2 for some years. I have recently started using Microsoft's Entity Framework with MVC5. From my Symfony2 experience I understand that a repository's job is only ...
d0001's user avatar
  • 111
1 vote
1 answer
1k views

Problem I am trying to optimize the architecture of my web-application developed in PHP using the Symfony framework. I have an object "pool" that contains "swimmers". I need to display the number of ...
np1987's user avatar
  • 113
5 votes
2 answers
2k views

In the default folder structure for a Symfony2 project the database and mail server credentials are stored in parameters.yml file inside ProjectRoot/app/config/parameters.yml with these default values:...
Songo's user avatar
  • 6,663
0 votes
2 answers
2k views

I am developing an application which will handle many virtual stores and I would like to have many themes that the user could choose anytime. I would to know what's the main ideia to implement it. I ...
dextervip's user avatar
  • 121
2 votes
3 answers
1k views

I have a question regarding workflow in web development. I'm building my project in Symfony, and it's in Git. Right now, I have three environments, dev (local), staging and prod. The project itself ...
Brandon - Free Palestine's user avatar
3 votes
3 answers
5k views

I need to develop an app for booking appointments. This is going to be hosted in a shared server. So performance is the most important thing. I have used symfony2. I quite liked the framework. But ...
ravi404's user avatar
  • 99
1 vote
2 answers
1k views

I'm starting symfony and interested in learning where symfony is coming from. In terms of it's architectural challenges. What are the architectural or philosophical differences between symfony 2 and ...
chrisl-921fb74d's user avatar
4 votes
3 answers
416 views

Right now, the current deploy process at my work is based around tagging from the trunk and switching various PHP web sites for clients on our QA and Production servers. While this is simple from the ...
CamelBlues's user avatar
  • 1,145
1 vote
1 answer
1k views

I have professionally working with Zend Framework for about a year. No major complaints. With some modifications, it has done a good job. I'm beginning to work on a side project where I want to ...
Fatmuemoo's user avatar
  • 119