Closed eXpl0it3r closed 10 years ago
Implemented in 'feature/project_list' branch
Well, the other types of listing is done. Also added non-square thumbnails to take a look, how it will be look like.
I looked over the branch and figured I would comment here.
pages
table as a way to reduce time spent writing templates and as an easier way to provide page translations. So should the three links used to switch between the 3 project views be moved into the database?/public/user_data/projects/
where we want to store the uploaded data?/public/assets/css/custom.css
doesn't match existing formatting. Mainly the colons do not line up.Other than the points I mentioned above it looks good to me, but I am sure @eXpl0it3r will have other comments. Also if I am saying something stupid please ignore my pointless rambling.
@zsbzsb, I've fixed 1, 4 and 5 points.
For the place to store uploaded data in - it is just my suggestion ;) And about translations. If I'll put in into 'pages' table - it would be hard to implement highlighting currently selected listing mode.
But I can do listing modes like navbar by creating table with all the listing modes https://github.com/eXpl0it3r/SFMLProjects/blob/dev/application/classes/Controller/Layout.php#L71
The updated commit looks good to me concerning the points that were fixed. :smile:
Finally get around to look at this! The result is really nice, good job! :smiley:
View_Controller_Action
, as such the View_Projects_View
should be renamed to View_Projects_List
, including the filename and the = new View_Projects_View;
isn't needed anymore.{{>list_types}}
and then have a file templates/partials/list_types.mustache
.active
, url
and name
or similar, then all you need to do in the template is {{#list_types}}<li {{#active}}class="active"><a href="{{url}}">{{name}}</a></li>{{/list_types}}
.->
than ['key']
, but I'm open for suggestions.user_data
via PHP as well.Let me know if you want to do the changes or if I should. :wink: When things are adjusted feel free to make pull request.
Implement a basic project listing, which means implementing the Model and very basic Controller.
This way we can start to see what this project is all about, having a list of projects.