atd issueshttps://staging.gitlab.com/izwick-schachter/atd/-/issues2017-06-29T11:39:46Zhttps://staging.gitlab.com/izwick-schachter/atd/-/issues/35Allow user defined URL additions to params2017-06-29T11:39:46Zusername-removed-662768Allow user defined URL additions to paramsBuilding on !20, it would be nice to be able to extend the ability to use a part of the URL as a param by using the same combustibility as we added for matchers.Building on !20, it would be nice to be able to extend the ability to use a part of the URL as a param by using the same combustibility as we added for matchers.v1.0.0https://staging.gitlab.com/izwick-schachter/atd/-/issues/22What is the status of commands?2017-06-29T11:39:46Zusername-removed-662768What is the status of commands?In earlier versions we had a command line tool, but the code is fairly useless and disorganized, we really should clean it up. The docs are also very ambiguous.In earlier versions we had a command line tool, but the code is fairly useless and disorganized, we really should clean it up. The docs are also very ambiguous.Backloghttps://staging.gitlab.com/izwick-schachter/atd/-/issues/21Clarify controller functions2017-06-29T11:39:46Zusername-removed-662768Clarify controller functionsWe would like for the controllers to be similar to the controllers in RoR, so that should be studied. Additionally, the current functionality should be added. Is it just a different way of adding a block? Does it have a default route? Ho...We would like for the controllers to be similar to the controllers in RoR, so that should be studied. Additionally, the current functionality should be added. Is it just a different way of adding a block? Does it have a default route? How does it play with a block? How will #20 work with this? This will require some research and much improved docs.v0.6.0https://staging.gitlab.com/izwick-schachter/atd/-/issues/20Allow controllers to be assigned namespaces2017-06-29T11:39:46Zusername-removed-662768Allow controllers to be assigned namespacesIt would be nice to be able to assign a url namespace to a controller, e.g.
```ruby
module MyController
assign route_pattern # For example a regex or a string. Something from #19
def hello
"It Works!"
end
end
```
So that a ro...It would be nice to be able to assign a url namespace to a controller, e.g.
```ruby
module MyController
assign route_pattern # For example a regex or a string. Something from #19
def hello
"It Works!"
end
end
```
So that a route like `request "/what", "MyController#hello"` will respond to `/something_that_matches_pattern/what`.v0.6.0https://staging.gitlab.com/izwick-schachter/atd/-/issues/16Instance Method Creation Instead Of Using Blocks is a bad idea2017-06-29T11:39:46Zusername-removed-662768Instance Method Creation Instead Of Using Blocks is a bad ideaWhy do we need instance variables? We should just inject variables into the scope of the block. This issue replaces #14 for the long term bit. Issue #14 is just for comments.Why do we need instance variables? We should just inject variables into the scope of the block. This issue replaces #14 for the long term bit. Issue #14 is just for comments.v1.0.0https://staging.gitlab.com/izwick-schachter/atd/-/issues/13Can't access variables in views during compilation2017-06-29T11:39:46Zusername-removed-662768Can't access variables in views during compilationWhen I live compile something, instance variables set in the block don't translate out and become readable in the view, e.g. and ERB file. Those variables must be brought into the some of ATD::Compilation::Compiler, or passed somehow. I ...When I live compile something, instance variables set in the block don't translate out and become readable in the view, e.g. and ERB file. Those variables must be brought into the some of ATD::Compilation::Compiler, or passed somehow. I know that ERB takes a binding, maybe we could use that?v0.6.0username-removed-662768username-removed-662768https://staging.gitlab.com/izwick-schachter/atd/-/issues/12Rackup ignores port2017-06-29T11:39:46Zusername-removed-662768Rackup ignores portBackloghttps://staging.gitlab.com/izwick-schachter/atd/-/issues/5Restart server on changes2017-06-29T11:39:46Zusername-removed-662768Restart server on changesI suggest we use the [Listen](https://github.com/guard/listen) gem, which is a part of guard. Some key functions:
* [ ] For static files, it should be possible to reload one file without reloading the whole server
* [ ] The only thing...I suggest we use the [Listen](https://github.com/guard/listen) gem, which is a part of guard. Some key functions:
* [ ] For static files, it should be possible to reload one file without reloading the whole server
* [ ] The only thing that should trigger a full restart is change of .rb files
* [ ] It should be on by default, but it should be possible to not use listen at all, because there may be compatibility issues.
Basically, when a .rb file is changed, it should reload the server. When a file in the `assets` dir is changed, it should reload that file.
This is important because this is a very useful development feature.Backloghttps://staging.gitlab.com/izwick-schachter/atd/-/issues/4Business logic integration2017-06-29T11:39:46Zusername-removed-662768Business logic integrationWe should decide and document how business logic should be integrated into the app.We should decide and document how business logic should be integrated into the app.Backloghttps://staging.gitlab.com/izwick-schachter/atd/-/issues/3Add Database compatibilty2017-06-29T11:39:46Zusername-removed-662768Add Database compatibiltyAs a first priority, I would suggest we add some way to easily include activerecord, because that is a vital part of most database applications. Even if we don't we should still add instructions in the README.
Here are some suggestions:...As a first priority, I would suggest we add some way to easily include activerecord, because that is a vital part of most database applications. Even if we don't we should still add instructions in the README.
Here are some suggestions:
- We have a DB class, which is responsible for connecting to the DB and is called with `ATD::App#start`
- We don't explicitly support a DB, but we list ways to use popular ORMs
- (Not recommended) We say nothing and leave it to our users to figure it out.Backlog