Jump to content

clsource

Members
  • Content Count

    346
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by clsource

  1. I think another approach is just having a "Homily" template.That uses a repeater field to storage dates and seasons. Maybe a structure similar to this <homilies> <homily> <title /> <about /> <repeater> <priority type="int"/> <date/> <season /> </repeater> </homily> <homily> <title /> <about /> <repeater> <priority type="int"/> <date/> <season /> </repeater> </homily> <homily> <title /> <about /> <repeater> <priority type="int"/> <date/> <season /> </repeater> </homily> </homilies> So you can search all the homilies and put the different dates and season configuration for that homily. If one or more homily is on the same date then you can use the priority field to sort them out.
  2. Also you can use this docker file I created for easy PW dev env ๐Ÿ™‚ https://github.com/joyofpw/docker
  3. This is a cool idea. I will start creating a course, but it has no the contents, but in the following weeks I will start uploading videos.
  4. Hello friends here a small config for quickly using composer and processwire https://github.com/joyofpw/docker ๐Ÿ˜„
  5. clsource

    Merry Christmas

    Happy Holidays to All! $log->save("๐ŸŽ„๐ŸŽ…");
  6. Hello, Normally ProcessWire api does not change at all. Personally I think is one of the most stable apis I have met in a software product. So any new version contains either a bug fix or a new feature, but not a change in how things are used. So if you want a detailed changelog mostly it would be bug fixes and new features. In my opinion is not needed since the documentation, blog posts and commits in the dev branch are enough for a detailed overview of whats new and fixed. And the forums are a great way of obtaining info about the hidden gems of the API. though, I do not know if a CHANGELOG.md file really exists. Hope it helps ๐Ÿ™‚
  7. Seems like a cool and smart son. I currently do not have any C64. But maybe if he likes chiptune music these projects with arduino could help https://github.com/stg/Squawk https://github.com/blakelivingston/DuinoTune And this tracker for gameboys https://www.littlesounddj.com/lsd/index.php ๐Ÿ™‚
  8. clsource

    Solidwire Language

    Well is true that non technical clients could have some trouble understanding this language. But I believe they often have a technical counter part that could understand this. Though tools that generate documentation pages and maybe even migrations scripts?. would be cool to have ๐Ÿ˜›
  9. clsource

    Solidwire Language

    Hello Robin, Is not meant to be a programming language. Is more like a prototyping language. maybe in the future tools can be written to generate files or similar. The objective is to create a document that can show pages, templates and fields relationships in a eagle view fashion. Before you start creating the templates in PW you can prototype in this document like a scratch pad to clear ideas and see different options before investing time in programming.
  10. clsource

    Solidwire Language

    Hello friends, I participated in a project that needed lots of relationships between fields and pages. and I struggled on how to arquitech such complex scenario. So I figure out and documented this little idea. A CSS like language for data relationships. https://github.com/joyofpw/solidwire Hope you find it useful and all ideas and contributions are welcome ๐Ÿ˜„ Thanks.
  11. Hello you can use the translation module to create a page for users to translate https://processwire.com/api/multi-language-support/code-i18n/ ๐Ÿ™‚
  12. Its easy to integrate ProcessWire if the systems you are using are compatible with composer. So you can for example save information in ProcessWire and all the cart logic could be delegated to woocommerce, opencart, prestashop, etc. $ composer require processwire/processwire Then on your phps something similar to this use \ProcessWire as Pw; $pw = new Pw(); $pw->config->dbHost = getenv('MYSQL_HOST'); $pw->config->dbName = getenv('MYSQL_DATABASE'); $pw->config->dbUser = getenv('MYSQL_USER'); $pw->config->dbPass = getenv('MYSQL_PASS'); $pw->config->dbPort = getenv('MYSQL_PORT'); $pw->config->dbCharset = 'utf8mb4'; $pw->config->dbEngine = 'InnoDB'; $pages = $pw->pages;
  13. Padloper is the one. But you can always integrate PW with other systems based on PHP. Just a composer command away ๐Ÿ™‚
  14. well you can always read the database directly or use the wordpress rest api ๐Ÿ™‚
  15. It surely can be done. Although it would take some time. You can see a REST Api Module here https://processwire.com/talk/topic/20006-module-restapi/ Another option is to create a "Fake Woocommerce" site and use PW inside their handlers in order to save the data into PW. ๐Ÿ™‚
  16. Hello, this line would only get one item. $items = $pages->get("template=portal-files")->portal_bestanden; may be with this would work $items = $pages->find("template=portal-files"); foreach($items as $item){ foreach($item->portal_bestanden as $document){ echo $document->name; } }
  17. As an early adopter of Padloper Iยดm glad it will continue to be supported, specially by a loved member of Processwire community @kogondo May it brings happy times for us all. I wonder why change the name from padloper to processwireshop I know is more straightfoward but I liked padloper too :) Nevertheless congrats :D
  18. Hello, I know this is not a course but a series of userful books https://goalkicker.com/ These are some that could become handy with ProcessWire https://goalkicker.com/PHPBook/ https://goalkicker.com/SQLBook https://goalkicker.com/MySQLBook https://goalkicker.com/GitBook https://goalkicker.com/JavaScriptBook https://goalkicker.com/jQueryBook https://goalkicker.com/HTML5Book https://goalkicker.com/CSSBook
  19. clsource

    JSON POST woes

    The Authorization Header is eaten up by Apache in some configurations, for avoiding that is recommended that you send another header like X-Auth-Token with the same info "Authorization": "Bearer API_KEY" "X-Auth-Token": "Bearer API_KEY" Then you just check if the auth is empty then fetch the other header as a fallback. Hope it helps
  20. Hello, maybe you could be interested in this post Basically the JAMStack is just a Website with JS and a REST or GraphQL API. Wich can be easily done with PW if you need to. A JAMStack is not needed for every project though
  21. Not really at the moment. Just an idea JWT is just a communication system. If you look at the profile is the Processwire auth system that is used at the end. Instead of using oAuth or Basic Authentication JWT can be used for getting user roles and data without requiring to log in the user on every request, saving server resources
  22. Seems great. Awesome Job!. Thanks for sharing. I think the JWT Auth may become a module on itยดs own. For folks who donยดt know about JWT. Itยดs a standard for Authentication Using Json. https://jwt.io/
  23. I think comparing PW to Django is like comparing PW to Laravel. They are different beasts with different use cases. All of them are Awesome (Althought I prefer Flask, Yarrrg for pirates!) Maybe comparing PW to https://wagtail.io/ or https://www.django-cms.org/en/ could be more fair since they are CMS just like PW is. I think the bottom line of chosing a toolbox is down to simple questions: 1- I like using it? 2- What use cases can I fulfill? 3- Makes my team and clients happy to work with? So just use what is best for the requirements, restrictions and overal context of the project at hand. Not all projects can be done with Laravel, Django or PW. Maybe you can mix both and have the best of them :).
  24. That's a totally valid point. I should see elixir so I can move away from Laravel to create rest apis and systems. The only benefit of Laravel (And other PHP Frameworks) is they can interact with the ProcessWire API directly (Using composer and namespaces). But that can easily be solved with a simple Rest APi although requires more work
ร—
ร—
  • Create New...