GithubHelp home page GithubHelp logo

phpsrbija / unfinished Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 14.0 55.15 MB

Project Unfinished is a PHP open source project | Behind http://phpsrbija.rs website

License: MIT License

Shell 1.33% PHP 38.34% HTML 15.77% JavaScript 14.82% CSS 29.68% Dockerfile 0.05%

unfinished's People

Contributors

djavolak avatar maki10 avatar maninthebox avatar n-m avatar tasmaniski avatar unckleg avatar vranac 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

Watchers

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

unfinished's Issues

Feature list*

Consider:

  • Using DataTable for listing records (Page, Article's, Categories...)
  • Move delete/status buttons from Edit to Index actions to be in table next to edit button.
  • Exception collecting and revealing them on the template as some kind of notification.
  • Adding global config module for Global site SEO meta data (title, desc, image, og:img....)
  • Adding default seo input fields in modules that are exposed directly on Front.
  • If it is considered at all for website to be multilang at some point. In that case it is necessary to change the logic immediately because there is not much content yet and to continue developing this way. The juniors and everyone who contributes will be able to learn a lot through a multilang system that I believe each of us regularly meets And also the content on front 'll be much organized, transparent because it is now linguistically mixed.

That's it for now :)

Newsletter switching to mass mail services.

Consider switching to some mass mail service (mailchimp, mailgun) and subscribing through service API's.
Or implementing reCAPTCHA (similar protection system) because DB 'll be filled with spam subscriptions if not already (bots are madness :) ).

Provide i18n from the start

I advise using from the beginning of the project some Translation component, as from my experience, it would be much harder to implement it later.
I advice using Symfony translation component.
I will help with integration.

Consider using Twig

Consider using Twig template engine(or some other), to avoid having PHP statements in template files.
Also to get rid of PHP short tag expressions :)

Add StyleCi

Just Sing up it is free and allow this repo to be scanned. Visit link: https://styleci.io/
How to add badges: https://styleci.readme.io/docs/badges

Why styleCi:

StyleCI provides checks for both your open and closed source repos.
By analyzing every push or pull request made on your repo, 
StyleCI ensures that your code is always written against the standards you want it to be.

Proposal look:
StyleCI

[![StyleCI](https://styleci.io/repos/65193755/shield)](https://styleci.io/repos/65193755)

[BUG] Rehydration of Page entity without id.

FP: Pacages\Page\Controller\PageController

....
public function edit($errors = []): HtmlResponse
{
        $id = $this->request->getAttribute('id');
        $page = $this->pageService->getPage($id);
        if ($this->request->getParsedBody()) {
            $page = new \Page\Entity\Page();
            $page->exchangeArray($this->request->getParsedBody() + (array) $page);
        }
}

Here: $page->exchangeArray($this->request->getParsedBody() + (array) $page);
ID of page is not part of Parsedbody so you will not hydrate page_id property of Page Entity class.
And if there where some errors as part of response you will get bad form action URL.

Create labels and milestones

For easier project and PR tracking and categorization, would be nice to have milestones, like project versions, and also labels for easier Issues filtering, like API, UI, i18n, High Priority, etc.

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.