PWNbear, on 02 January 2011 - 04:29 AM, said:
If you tell me how to do a pull request
You would need a Github account, then you'd want to fork Hydrogen (so you have your own branch of Hydrogen on Github), commit your new file, then hit the link in Github to send a pull request for your commit
If you haven't already set git up to use Github as a remote repo, there are all kinds of getting started guides here: http://help.github.com
You have a typo in the linebreaksbr filter, the code you use uses the linebreaks filter.
BTW is there a way to get these filters inside my controller? I don't want to copy that filesize function so my controller can send the nicely formatted size to the client. I'm using JSON and I don't want to use an entire view for generating the JSON-string.
Well, the thing is, the Filter classes are for generating PHP code that will apply the filter in the future -- and if you wanted to do that in the controller layer (which should actually probably be in a model, since you're transforming data), you'd need a function that applies that filter right now and doesn't generate PHP code. So if you would write that function into a model, it wouldn't be a duplication of code, because the filter and the pure function do completely different things
Mo3, on 02 January 2011 - 02:38 AM, said:
So, Kyek, any news on the first official release?
Pulling this from another thread
Kyek, on 28 December 2010 - 08:00 AM, said:
Here's the roadmap to 1.0:
- Complete templates. This one is practically done, but I need a test period of people using it to help find bugs and suggest tags that I really need to add in before it goes to a full release.
- Rewrite the Query library. It's just too heavy. The syntax will be pretty similar to what it is now, but the performance will be much better. There are some notes on this in my thread about the new SQLBeans. And on that note...
- Rewrite SQLBeans. This one will be a complete overhaul, but I don't think it's going to be too awful hard.
- Finish in-code documentation. Some classes have fantastic PHPDoc-style documentation in them, others don't have any. I need to write up what each function and class does so that it's easier for people to get into the code.
- Create the website and write the docs for using Hydrogen. I just need some guides on how to get going with Hydrogen that are split up and more easy to understand than the overview thread here ;-). I may not hold off 1.0 for this, but it would be really nice if they could coincide and I could hit the ground running as far as suggesting the library to people and pointing them toward the Getting Started guides.
- Create a project generator. Like the above, this may not hold off 1.0, but I'd like it to be there for 1.0 if I can. I just want a system where people can type in their project name and click a button to download a .zip file "starter" project. They'd be able to select whether they're writing an MVC app, a static site that they just want to use templates for, or maybe a different type of configuration, and they get back a zip file with their project already started so they see the best way to organize it.
- Release 1.0.
I'm not putting out any timelines yet since my free time is notoriously fickle, but I'd really love to get this thing out the door as soon as possible. Another thing I'd like to do before 1.0 is speed test Hydrogen against other frameworks to make damn good and certain that Hydrogen is the fastest thing out there, and also to get stats that I can make bar graphs with to brag about it on the homepage :