Comments (9)
It's a nice work, well done @kevindierkx :)
Despite of your work, i'd like to switch to symfony 3. Then we could get rid of this "bootstrap" stuff, helpers, global variables and etc...
from satisfy.
@ramunasd Thanks for the input! Switching to Symfony 3 would do almost the same as I just did with my proof of concept.
However it doesn't get rid of the 'bootstrap stuff' it just places it in a different place like the app.php in this demo app.
Beside it not being necessary the helpers file would still come in handy when accessing the satis.json or some kind of resource anywhere in the application. I took the idea from laravel/laravel btw.
In the end it depends on which dependencies we require in the application, I don't think a full stack framework is required for adding some entries to a JSON file.
I would like to hear your thoughts about this!
from satisfy.
Well, yes, it makes sense at some points. From what i see this application is growing to something more than just "adding some entries to a JSON file". It's very clear that we need add "must have" features like
- github/bitbucket hooks
- control of all satis options
- automatic tasks with background workers
We can make all these features and even more with silex. The questions is how fast we can go further with silex? symfony? laravel?
from satisfy.
https://github.com/terramar-labs/packages is alternative to satisfy, you can get impression on what is important to have in such applications
from satisfy.
I agree the application could benefit from a full stack framework. I wouldn't mind using a full stack framework in the near future.
For now the directory structure needs changing anyway if you use Symfony or Laravel they both have a bootstrapping process, the proof of concept mentioned in the issue resembles the booting process of both frameworks. (Minor naming convention stuff left aside)
I would like to make a start with the logging mention in #53 this partly depends on some of the refactoring made in the proof of concept.
Might I suggest making a roadmap/whishlist with the wanted features? We can make an informed decision about what kind of toolkit we need after we decided what we actually want to build.
I'll continue work on the POC making a fully working example, this only needs some code being moved.
from satisfy.
Hey guys,
Satisfy started really humble, to fill a quick gap. I didn't check the
alternative. But what we could start with is a roadmap of features. Let's
put in a specific issue everything and discuss it then organize a milestone
around it.
The tech choice will follows quickly and match the needs.
On Tue, 9 Feb 2016 at 16:05, Kevin Dierkx [email protected] wrote:
I agree the application could benefit from a full stack framework. I
wouldn't mind using a full stack framework in the near future.For now the directory structure needs changing anyway if you use Symfony
or Laravel they both have a bootstrapping process, the proof of concept
mentioned in the issue resembles the booting process of both frameworks.
(Minor naming convention stuff left aside)I would like to make a start with the logging mention in #53
#53 this partly depends on
some of the refactoring made in the proof of concept.Might I suggest making a roadmap/whishlist with the wanted features? We
can make an informed decision about what kind of toolkit we need after we
decided what we actually want to build.I'll continue work on the POC making a fully working example, this only
needs some code being moved.—
Reply to this email directly or view it on GitHub
#54 (comment).
from satisfy.
@ramunasd, @ludofleury Alright I've finished the application structure refactor as you can see in #56. If you guys could take a look and let me know what you think that would be greatly appreciated.
from satisfy.
For me it does not makes sense to move models and forms to another namespace. Form
became Forms
and Model
to Models
- is there any serious reason to change this?
Also i'd like to keep sources in src
like it was before. I think it is convenient way in php community.
Regarding satis.json
. Well, if You want to move it to another place, then this should be documented. Also this creates issues with default values in command bin/satis build
. It was very comfortable to rerun build without any arguments.
I think this change is too big and has too much BC. Some parts does not follow common conventions.
from satisfy.
The namespace changes are mainly convention (in our company anyway), the folders/namespace contains multiple models therefore I've used the plural form of model/form. This is common practice in most Laravel applications, however I don't mind changing it back to its respective noun.
Regarding the src folder I agree it's widely used in PHP 'components' however in an application it doesn't make any sense and just makes your folder structure more complex. With the introduction of PSR4 you can define the starting point of your namespace perfectly fine. The only reason you would like to keep the src folder structure is for something that doesn't support PSR4.
The satis.json
is a core component of the app and should be handled like one, therefore I've moved it to a more prominent and logical place.
You can easily modify the provided bin/satis
file to autocomplete those parameters to the applications default ones. This is also needed for the logging I'm planning in #53. This should resolve most BC changes after we've done so.
Regarding documentation, since it's in a proposal stage I haven't spend the time to write documentation for something that could still change. If we agree these changes are acceptable I wouldn't have a problem adding them.
from satisfy.
Related Issues (20)
- You cannot guess the mime type as the Mime component is not installed. Try running "composer require symfony/mime". HOT 1
- [Bug] Tag metadata not well supported HOT 1
- More information about the webhook HOT 1
- New install does not work HOT 4
- 'Service "Playbloom\Satisfy\Service\LockProcessor" not found' error when trying to upload composer.lock file HOT 1
- Is the Bitbucket webhook is also working for Bitbucket on premise? HOT 1
- GitLab rebuild webhook not working HOT 2
- Add section "minimum-stability-per-package"
- Configurable logger HOT 1
- (Request) Add an abandoned checkbox HOT 1
- GitHub Webhook URL returns 400 error when APP_DEBUG is 0 HOT 8
- Build packages button stopped to work HOT 5
- I need a docker to manage upgrades HOT 4
- Transfer the repository ownership HOT 2
- How to update installation? HOT 4
- Does webHook have instructions
- Webhook 500 Response Code 255 HOT 2
- Feature Request: Published Docker Image HOT 4
- PHP 8.2 Support HOT 2
- How to set up a user for the backend HOT 1
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 satisfy.