Coder Social home page Coder Social logo

Comments (11)

neo22s avatar neo22s commented on June 4, 2024 1

https://gist.github.com/neo22s/d81857a29abf982d6e5e7f372b3adb66

from koseven.

neo22s avatar neo22s commented on June 4, 2024

Hello!

I think is pretty much everything I can share more code, is not big secret.

We can create a wiki with this same text :P

from koseven.

svenbw avatar svenbw commented on June 4, 2024

Okay I'm slow ;-) So let's do a wiki for other slow Kohana users.

I did some test by returning the route name in the Request::process code, which omits the array_search in Route::name, doing this speeds up finding the route name by +/-70%.
I can create a PR for it which would allow something like Request()::current()->route_name() but if it's only for translations I don't think it has a big advantage...

from koseven.

piotrbaczek avatar piotrbaczek commented on June 4, 2024

Translations are done by __() function, You have to set correct I18n::lang()

from koseven.

jstrobel avatar jstrobel commented on June 4, 2024

Wiki or https://docs.koseven.ga (a "best practice" category?) ?
What do you think? Or both?
docs.koseven.ga for "static" core functions and wiki for dynamic things like "best practice" and examples?

from koseven.

neo22s avatar neo22s commented on June 4, 2024

the docs are generated on the fly from latest release.... will be better that is generated static and then uploaded to github. And yeah probably same subdomain with the wiki?

But for now lets put it just in koseven.ga as markdown probably?

from koseven.

jstrobel avatar jstrobel commented on June 4, 2024

Or we change the template of docs.koseven.ga and put on the left next to "user guide" as "wiki" with a link to github?

For now a link on koseven.ga would be fine.

from koseven.

neo22s avatar neo22s commented on June 4, 2024

for me all is fine, just not much time

from koseven.

svenbw avatar svenbw commented on June 4, 2024

Let's use the Github wiki; allows easy editing.

from koseven.

jstrobel avatar jstrobel commented on June 4, 2024

Yes editing in the wiki is easy and fine. Let's use that. What i mean is just that we have some links to all places where we store docs. I will add them.

from koseven.

jstrobel avatar jstrobel commented on June 4, 2024

Links added and some first github wiki page improvments.

from koseven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.