Comments (13)
How do we want to handle the routes.php
and breadcrumbs.php
files? Use the facades there? Or put $router = app('Illuminate\Path\To\Router')
at the top and use $router->get(...)
then?
from mybb2.
I'm happy to just use Facades in those two instances. Same with things like the bootstrap.php
file.
from mybb2.
Good, will work through the rest then today / tomorrow
from mybb2.
Agreed.
from mybb2.
Can we close this? Or do we want to keep it open for future reference? Also I'm not sure how many facades are used in our packages.
from mybb2.
from mybb2.
Have the existing instances of Facades been fixed in this repository?
from mybb2.
Mostly yes. Only the ConfirmationManager
needs to be fixed (that class needs some love anyways) afaik.
from mybb2.
Ok, so either close this and create a new issue for ConfirmationManager
or leave this one open and note somewhere what's left to do in order for this to be closed.
Personally, I would do the former.
from mybb2.
The ConfirmationManager
needs some other things too. The main question was how we want to handle our packages: create a PR referencing this issue or simply fix them when they're noticed.
from mybb2.
Our packages are separate repositories, aren't they?
from mybb2.
Yeah:
- https://github.com/mybb/are-you-a-human (Not a real package, mainly a wrapper)
- https://github.com/mybb/settings
- https://github.com/mybb/auth
- https://github.com/mybb/parser
from mybb2.
Great, so they should have their own issues in their own repositories. This issue is for the mybb2 project and should be closed once the mybb2 project and the code it exclusively owns is free of Facades.
from mybb2.
Related Issues (20)
- Convert all existing JavaScript to TypeScript.
- Evaluate the possibility of removing jQuery as a dependency. HOT 20
- Settings service provider preventing Auto installer from being possible HOT 1
- Merge system? HOT 1
- Any Plan for API? HOT 3
- Test namespaces
- Authentication structure
- ACP forums management
- ETA release? HOT 1
- Type Hinting HOT 4
- Install Mybb2 development copy without Homestead? HOT 10
- FatalErrorException in ProfileFieldPresenter.php line 19 HOT 2
- PHP return type declarations should follow the PHP FIG Extended Coding Style Guide.
- Template hook system HOT 12
- Choose an editor for creating topics/posts. HOT 9
- Theme system HOT 1
- Module/Plugin system
- JS Hook system
- JS translation/language system
- Good Job! HOT 5
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 mybb2.