The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

New to SLIM - Need some MVC coding samples to develop my first project using SLIM framework and MVC

malhi228's Avatar

malhi228

30 Oct, 2013 12:31 PM

Hi,

I am new to SLIM framework, I have a project and my client is saying to develop it using SLIM framework in MVC architecture. I searched a lot on Google but did not found any sample project OR code sample following MVC architecture. Can anyone guide and help to develop our project using SLIM.

Thanks,
Sat

Showing page 2 out of 2. View the first page

  1. 31 Posted by steve on 25 Feb, 2015 09:47 AM

    steve's Avatar

    Thanks Ikhsan. Yes, I get that and I like the tutorial. I am looking at a number of slim tutorials as I get used to it with practice. Thanks.

  2. 32 Posted by info on 26 Feb, 2015 08:50 PM

    info's Avatar

    Hi,

    Finally found twig equivalent for array_chunk solution that works

    <div class="grid_listing clearfix">
        {% for row in stoves|batch(4) %}
            <div class="row">
                {% for stove in row %}
                    <div class="col-md-3">
                        <div class="row grey">
                            <div class="col-md-12">
                                <h4><strong>Make:</strong> {{stove.manufacturer}}</h4>
                                <h5><strong>Model:</strong> {{stove.model}}</h5>
                                <h5><strong>Type:</strong> {{stove.stove_type}}</h5>
                                <div class="caption2"><p>W: {{stove.width}} | H: {{stove.height}} | D: {{stove.depth}}</p></div>
                            </div>
                        </div>
                    </div>
                {% endfor %}
            </div>
        {% endfor %}
    </div>
    
  3. 33 Posted by s on 08 Dec, 2015 12:35 PM

    s's Avatar

    swsw

  4. 34 Posted by chanh.ong on 02 Jan, 2016 11:10 PM

    chanh.ong's Avatar

    This is good but does it works with Slim 2 or Slim 3?

    Thanks

  5. 35 Posted by c4598738 on 22 Jun, 2016 01:37 PM

    c4598738's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac