Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Demo-Module
  • Hey,

    Could you make an ready-to-go Module like e.g the Codeginiter Welcome-File/Module?

  • I don't know what you mean by that, so I can't comment. Do you have a link?

    If you mean "can I make components for FuelPHP that can be implemented in multiple apps" then the answer is "absolutely".

    You can create a package in case you want to add functionality to the framework backend (core functionality) or a module in case you want front-end functionality.

    Create basic views for it in a structure that is compliant with the theme class, so the views can be overridden by an app theme to match the look and feel of the application. And include any assets that can be copied to public/assets when you use the module.

    All applications we build for our clients are made like this, for 99,9%. The app folder itself only contains a bootstrap controller that deals with the app homepage and the error pages (403/404/5xx).
  • Hey,

    I mean, that I dont have the possibility to Use Oil(and  a Command Line!) Could someone generate an Demo-Module for me and put it on Github or on Bitbucket oder something like this?

    Greetings!,

    Max
  • Ah, ok.

    Oil doesn't generate modules, it can generate a basic skeleton of a controller or a model.

    If you want some examples, you could look at http://github.com/fuel/depot. The code isn't finished, but it will absolutely give you some pointers...
  • Hey,

    Could someone generate an basic skelton with OIL for me and load it up somewhere? :)

    Would be very nice.

    Greets!
  • That is in the docs.

    If you look at http://docs.fuelphp.com/packages/oil/generate.html, you can see all possible generate options, with examples, and the generated code. What else do you need?
  • My Problem is, that i Cant use OIL :D
  • HarroHarro
    Accepted Answer
    I know that, but posting code somewhere isn't going to change that will it?

    You asked for examples of what Oil generates, and I pointed you to the docs that have all those examples, and asked you what you want that isn't in there...
  • Hey,

    I bought an new Webspace. This could be closed.

    FuelPHP Rocks!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion