Code Monkey home page Code Monkey logo

docs's People

Contributors

abdel avatar akagisho avatar amityadav4a avatar art4 avatar billmn avatar crynobone avatar dhrrgn avatar filisko avatar frankdejonge avatar huglester avatar indigofeather avatar jyggen avatar kenjis avatar kindari avatar maca134 avatar marcandreappel avatar mike182uk avatar morita21 avatar nbs avatar okhayat avatar pinoytech avatar rclanan avatar royappa avatar sagikazarmark avatar stevewest avatar teeedwards avatar tomschlick avatar wanwizard avatar weztec avatar zechdc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Migrations in modules

Two questions.

Is anyone currently working on having migrations inside of modules?

If you are is there anywhere I can check in the future to answer these questions so I don't have to bug you?

Well, maybe three questions. If it's not currently in development, I'm going to develop it myself. Would you rather I develop a separate class or add it into the current one?

Error in Config::load()

In RC 3 to load config from a module is not :

Config::load('foo\custom', 'bar');

but

Config::load('foo::custom', 'bar');

General/Routing bad example

the "slightly advanced routing" makes reference to a 'routes' array just like

<?php
'routes' => array(
    'blog/(:any)'      => 'blog/entry/$1' //and so on...
);

which makes you think all your custom routes have to be placed under that 'specific' array, inside of the array returned in routes.php config file

It made me test like carzy! and solution was so easy ¬¬

Include procedural shortcuts in docs

  • logger() should be mentioned with the Log class
  • __() should be mentioned alongside Lang::line()
  • e() should be mentioned with Security::htmlentities() and on the Security page
  • array_to_attr() and html_tag() should be mentioned with the HTML class somewhere
  • in_arrayi() should be mentioned with the Arr class
  • render() should be mentioned with the View class/general docs

https://github.com/fuel/core/blob/master/base.php

Modules, HMVC & Packages

Packages aren't documented yet.

Modules & Hmvc should be separated as Modules aren't necessary for HMVC.

Managed wiki instead of repo

Wouldn't it be a better idea to start documentation as a managed wiki? Managed in the way that you only allow a few known developers to directly change anything and allow for everyone else to submit changes to the docs? That way it's a lot easier and faster to create documentation for anyone who wants to contribute, but doesn't have Git figured out yet.

Speaking for myself, I'd edit a wiki fast in between other stuff if I'd notice an error. But to contribute to Github would take me just that much longer that I'd postpone editing and most likely will forget what & why I thought an edit was needed.

typo bug

in file:
docs / classes / file / usage.html @ 152

File::create(DOCROOT, 'test', 0755);

I think it should be

File::create_dir(DOCROOT, 'test', 0755);

Long text in <pre> is overlaying borders

In description about trouble "Oil cannot connect to DB but application can" text in tag <pre> is overlaying (hope i right formulated) border. May be it must have in css same params: "overflow: auto;". This parameter will do text more readable and remove horizontal scrolling of page.

(General) Security

There needs to be an overview of all the security measures Fuel offers.

bad links

bad links in strong

protected static $_has_one, $_belongs_to, $_has_many, $_many_many, $_many_through

Relating models to each other is explained in Relating Models
protected static $_observers

Added observers is explained in Observers

Minor typos

In /docs/installation/instructions.html under the heading 'Manual Installation' theres an example of the Fuel directory structure. The oil script resides in the public directory whereasby default it's in the root. If it's deliberately in public then there should be a note to change the paths variables in oil as well as in index.php.

There's another minor typo in the Asset class documentation. Under the js method there's an example that calls the css method instead of js.

Using Models

Please do point this out if I just can’t see it, but there isn’t anywhere in the docs that explains how to write out a model. The Models page briefly mentions using Model_ as a prefix, but stops there.

Should an example model be included with Fuel? Or perhaps a few examples of different models included in the Docs? Right now I can’t find a simple answer to using the DB class with a model.

Russian translate?

What do you think about translating docs on another language? I translated any pages on russian and want to complete translate all docs.

Change of parameter documentation format

When going through the docs, I notice some pages where the 'default' column defines the default value of the parameter, and other define the type.

Should we not define both (i.e. add an extra column) because I feel both are relevant when documenting the method.

oil refine migrate --version=0 migrates to latest version

Steps to reproduce:

  1. Create two migrations (001 & 002).
  2. Refine to the latest Migration:
    $ php oil refine migrate
    Migrated to latest version: 2.
  3. Refine to Migration 0:
    $ php oil refine migrate --version=0
    Error: Could not migrate to latest version, still using 2.
  4. Refine to Migration 1:
    $ php oil refine migrate --version=1
    Migrated to version: 1.
  5. Refine to Migration 0:
    $ php oil refine migrate --version=0
    Migrated to latest version: 2.

Not huge, but it would be nice to be able to go back to 0 using oil.

PHPUnit config / Unit testsing Docs

Entered by Eric Barnes on 4/8/11

The paths in the phpunit bootstrap and xml file are hardcoded and if you change your app path the unit tests will no longer run.

$app_path        = '../app/';
$package_path    = '../fuel/packages/';
$core_path        = '../fuel/core/';

$ php oil test

Warning: require_once(/bootstrap.php): failed to open stream: No such file or directory in /Users/Sites/fuel/oil on line 33

Fatal error: require_once(): Failed opening required '/bootstrap.php' (include_path='.:/usr/lib/php') in /Users/Sites/fuel/oil on line 33

Wan Wizard Responded

Correct, you'll have to update these as you have to update your index.php.

There are no docs yet for unit tests, I'll leave this ticket open because this needs to be documented.

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.