TOTEM
Serializer
TOTEM | Serializer | |
---|---|---|
17 | 9 | |
459 | 2,302 | |
- | - | |
4.5 | 7.9 | |
10 months ago | about 1 month ago | |
PHP | ||
GNU General Public License v3.0 or later | MIT License |
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.
TOTEM
-
[HELP] Totem needs a reset every time I start my pc
Wired Totem from keeb.supply needs a reset every time I start my Win10 pc, otherwise it works as usual. it says "USB device not recognized". Tested on multiple pcs and cables. Asked on their discord but they haven't heard this problem before. Nuked and reflashed with the given files multiple times, checked again the soldering but didn't help. If it works perfectly fine after reset or connecting to an already running pc, what might be wrong? Is there a watchdog feature that sends a reset signal the moment it gets power? My repo.
-
Shift mapping suggestions
You just need a new keyboard π
-
GitHub β GEIGEIGEIST/KLOR: a 36-42 key column-staggered split keyboard
I built a TOTEM[1] (same creator) and it looks stunning. Was a breeze to get manufactured (both PCB and resin printer case from jlcpcb, in my case) and assemble too!
The build guide is very informative and quirky, it has everything from tips in how to solder smd diodes to "use a sharpie to paint the PCB sides black so it looks nicer", way better than some expensive kits I've bought in the last few years!
1. https://github.com/GEIGEIGEIST/TOTEM
-
Can someone review my schematic and PCB?
There are some pads on the underside of the XIAO controller that we need to connect to. The footprint that I am using here has plated through-holes with edge cuts with enough space to allow you to use a soldering iron from the bottom to solder the plated through-holes to the pads. This approach was borrowed from Totem so it should work but I am worried about manufacturing issues due to the DRC failures there.
-
Another TOTEM...
Here you can find the PCB and case files and of course a buildguide. Here is a Hackster post covering my process. I hope it's ok to mention, that you can also buy complete kits on keeb.supply by now.
- Geist TOTEM with trackpad mod
-
Totem with trackpad mod glamor shot
Thanks! The KiCad files are open source, you can figure out how to add a number row, I believe in you! build guide
-
Built a Piantor and am quite happy with the result! What do recommend next after learning better colemak typing :-) ?
design your own case β take a look at the bottom of GEISTβs TOTEM
-
Keyboard for crooked fingers?
add an extra pinky key β popularized by Jian and seen in Totem
-
KLOR is taking shape....
as u/Tulip2MF mentions, GEIST did the TOTEM for SEEED XIAO challenge and showed it off with a clear case and keycaps
Serializer
- Data-Mapper: A package for fast mapping of strong-typed objects
- brick/json-mapper: map JSON data to strongly typed PHP DTOs
-
Design Decisions: Why use final classes
Making a class "final" is always a bad decision IMO. You would never know how will other people use your library. For example, we used JMSSerializerBundle and wanted to extend DateHandler to make it not to throw exceptions if a date string is invalid. But the class is final. So we had to just copy-paste it :(
- Symfony serializer is tedious
-
Array -> Entity
Or this popular alternative: https://jmsyst.com/libs/serializer
-
PHP libraries and tools
JMS Serializer: This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.
-
Yet another Data-Transfer-Object package
Only took a very brief look, but it looks nice. I like that the DTO class isn't required to extend anything, and that it seems to be for real DTOs used for actual transfer of data between systems - not 'local dtos'. It feels like this might be more comparable to something like schmittjoh/serializer rather than spatie/data-transfer-object.
-
PHP foreach loop to XML
When it's time to create the PDF, convert the object structure to an XML using an already existing serializer (like JMS or symfony serializer) or do this by hand.
-
Is there a better way to connect to an API?
One frequently used serializer is JMS Serializer which allows you to convert JSON or XML to objects (or the other way around if needed). You can then use the objects in your application.
What are some alternatives?
piantor - The Piantor Keyboard is a beginner-friendly, easy-to-solder, 42-key or 36-key, diodeless, low profile aggressive column staggered, hotswappable and non-hotswappable, programmable ergonomic mechanical split keyboard powered by Raspberry Pi Pico or other compatible RP2040 boards. It is based on the Cantor Keyboard.
Fractal - Output complex, flexible, AJAX/RESTful data structures.
osprette - 34-key unibody keyboard with pinky clusters
JsonMapper - Map nested JSON structures onto PHP classes
msgpack.php - A pure PHP implementation of the MessagePack serialization format / msgpack.org[PHP]
data-transfer-object - Data transfer objects with batteries included
totem
Ardent - A Collections library for PHP.
Klein - Klein keyboard is a 36 keys, columnar staggered, split ergo keyboard
Arrayy - π Array manipulation library for PHP, called Arrayy!
KLOR - (choc and KS-27 mod) KLOR is 36-42 keys column-staggered split keyboard. It supports a per key RGB matrix, encoders, OLED displays, haptic feedback, audio, a Pixart Paw3204 trackball and four different layouts, through brake off parts.
CRUDlex - CRUDlex is an easy to use CRUD generator for Symfony 4 and Silex 2 which is great for auto generated admin pages