jigsaw
unasync
Our great sponsors
jigsaw | unasync | |
---|---|---|
9 | 5 | |
2,089 | 82 | |
0.3% | - | |
5.8 | 0.0 | |
about 1 month ago | 12 months ago | |
PHP | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jigsaw
- Jigsaw – Static Sites for Laravel Developers
-
Launching an Engineering Blog
I decided to choose jigsaw as I am familiar with the technologies it's built with (PHP , Tailwind for styling and Blade as template engine) as it will be easy to customize if needed besides that, it comes with decent amount of features out of the box, I barely did any customization to it, just followed the installation instructions and got started.
-
10+ Must Use Static Site Generator 2022
JigSaw
-
Documentation Package
Also if anyone knows of any third-party templates for Jigsaw, I can't find any except the default blog and docs that they have in their documentation.
-
PHP 8.1.0 Release Announcement
https://github.com/tighten/jigsaw/blob/main/src/Jigsaw.php
I also would argue that the majority of code I see in other languages is equally or worse than the example you gave.
You can write terribly in any language, Laravel included.
-
Updating projects
We have ~8 Laravel apps and roughly 40-50 Jigsaw projects that we keep up to date like this.
-
Any Static Site Generator not so static?
Take a look at Jigsaw from Tighten: https://jigsaw.tighten.co
- CMS options
-
How I Created a Web Presence as a Web Developer
Now, as for what runs the site. It is a static site, using Jigsaw as the framework. Jigsaw uses Laravel’s blade templating. Since one of my goals this year is to learn Laravel, it was the perfect fit for my site. GitHub is where I've decided to store my repos, and Netlify watches for changes to my main branch and rebuilds my site.
unasync
-
The bane of my existence: Supporting both async and sync code in Rust
Nice! This is similar to the solution here: https://github.com/python-trio/unasync
-
Need advice to design sync version of an async library
Lastly, I found another project name unasync that is pretty interesting and might works for me. Basically, you write the async version, you run unasync, it generate the sync version from the AST. This project is used by the official elastic search python client.
-
PHP 8.1.0 Release Announcement
Fibers "allow blocking and non-blocking implementations to share the same API"
That's an interesting contrast to Python where the need to use "value = await fn()" v.s. "value = fn()" depending on whether or not that function is awaitable causes all kinds of API design complexity, all the way up to the existence of tools like https://github.com/python-trio/unasync which can code-generate the non-async version of a library from the async version.
-
Async Python is not faster
Async Python has proven faster in my uses for IO and non-CPU-related stuff. But I think Python, either as a community or within the language, needs to solve the anti-pattern of maintaining separate sync and async versions of a library. I'm thinking specifically of aioredis and redis-py, both of which I've worked on.
Some people are looking at ways to solve this. I know urllib3, elasticsearch-py, and a few others use unasync (https://github.com/python-trio/unasync) to transform async code into sync code, leaving one codebase supporting both uses in different namespaces. This leaves you with some conditional logic (is_async_mode() -- https://github.com/python-trio/hip/blob/master/src/ahip/util...). I'm seriously considering this approach.
- unasync – transform your asynchronous code into synchronous code
What are some alternatives?
Sculpin - Sculpin — Static Site Generator
Amp - A non-blocking concurrency framework for PHP applications. 🐘
Laravel-Zero - A PHP framework for console artisans
phpmiko - A netmiko implementation in php
Dataplater - template engine that uses HTML data-* attributes so your templates look great before rendering
blacksmith - REST API Client
cms - The core Laravel CMS Composer package
Cleaver - 🔥🔪 A blazing-fast static site generator using Laravel's Blade templating engine
CRUD - Build custom admin panels. Fast!
github-readme-stats - :zap: Dynamically generated stats for your github readmes
comments - Native comments for your Laravel application.
cleaver - 30-second slideshows for hackers