Comments (11)
Wir liefern kein AppBundle mit, daher auch kein Composer-Eintrag für src/
. Sofern der Composer-Eintrag nicht zu Problemen führt, wenn es keinen Ordner src/
gibt, wäre ich allerdings dafür, ihn mit auszuliefern. @contao/developers Was denkt ihr?
from standard-edition.
Ein Bundle muss im Kernel registriert werden, genauso wie in der composer.json. Ich finde nicht dass wir das standardmässig eintragen sollten. Ich trage jeweils auch nicht "psr-4": { "": "src/" }
sondern "psr-4": { "AppBundle\\": "src/AppBundle" }
ein, sonst sucht Composer alle Klassen in /src/
.
from standard-edition.
Seh ich auch so, jeder Entwickler ist selber für das Autoloading verantwortlich. Wenn man ein Bundle als Composer-Library zur Verfügung steht ist das ja auch so, wieso sollte es bei einem lokalen AppBundle anders sein?
Allerdings könnten wir die manuellen Includes für die AppKernel
und AppCache
weglassen. Die SF Standard Edition macht das auch so: symfony/symfony-standard@2c45777
from standard-edition.
Das ist neu in Symfony 2.8. Beim Upgrade übernehme ich das natürlich.
from standard-edition.
Wir sollten sowieso auf 2.8 upgraden, aber das wäre ein generelles up for discussion
issue. :)
from standard-edition.
Wir sollten eigentlich auf die 3 upgraden und uns eine Lösung für das Scopes-Problem einfallen lassen.
from standard-edition.
Können wir nicht, aus BC-Gründen. Die 3 hat (noch) keine Vorteile gegenüber der 2.8er.
from standard-edition.
Genau, noch nicht. Aber das bleibt nicht so und deswegen sollten wir uns eine Lösung einfallen lassen :)
from standard-edition.
Lösung: Contao 5. Gehört aber nicht in dieses Ticket.
from standard-edition.
Lösung: Contao 5.
Nein.
Gehört aber nicht in dieses Ticket.
Ja.
from standard-edition.
Ich bin dagegen einen autoloader key zu liefern wenn das zugehoerige directory nicht existiert.
AFAIR hatten wir die Diskussion ob wir ein app Bundle vorkonfigurieren sollen oder nicht doch bereits vor Monaten und haben uns dagegen entschieden. die Autoloader config eines selbigen zaehlt genauso als Konfiguration.
from standard-edition.
Related Issues (20)
- Change /web to /public_html HOT 1
- Wartungsmodus nicht möglich HOT 6
- Unable to login when behind a SSL Proxy HOT 7
- Add basic security HOT 20
- Do not ship a default .htaccess file HOT 14
- Fehler beim Aufruf der Install.php - 4.3.6 HOT 4
- Manger Bundle in composer.json HOT 7
- Speichern und zurück funktioniert nicht mehr HOT 3
- swiftmailer requirement HOT 10
- Breaking change in Symfony Filesystem HOT 2
- Safari kann die Seite nicht öffnen, da die Netzwerkverbindung unterbrochen wurde HOT 7
- Fehler nach Installation unter XAMPP HOT 3
- Attempted to load class \"Config\" from the global namespace. HOT 25
- Unification of contao parameters HOT 1
- Alias Generierung HOT 1
- pages can not be selected in the pagebrowser. Radio buttons are missing. HOT 1
- cacheWarmup for "setup-scripts" HOT 5
- Maintenance "Recreate the symlinks" fails HOT 1
- Unattended Install HOT 8
- cacheWarmup differences between managed-edition? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standard-edition.