[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: WebAssembly_Logo.svg.png (26 KB, 1024x1024)
26 KB
26 KB PNG
WASM edition.

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests

>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related

>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue

/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.

We have our own website: https://wdg-one.github.io

Submit your project progress updates using this format in your posts, the scraper will pick it up:

:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: >>107504416
>>
7 months back I posted a video about how I nightmarishly hybridded together babylon.js, havok.wasm, and uwebsockets to a frontend of three.js and webgpu for good performance in all web dev languages at the cost of my sanity. And I think I just accidentally discovered a holy trinity for indie game dev. Hear me out.

I was asking GPT to explain SpaceTimeDB to me, a web dev who did all that nonsense. And it explained it to me perfectly. I was close to doing what SpaceTimeDB does except STDB is an all in one backend written with Rust and it's own backend. After some confusion I realized I didn't need the node.js or uwebsockets or Babylon, you're doing the physics and logic all purely in the database and it's everything at once all in Rust including the websockets if you use the Javascript SDK as well as the load balancing by acting like Redis. It's actually an all in one. The catch is I'm having to commit to learning Rust which I was already learning.

Anyways it works the same way as what I was doing. Physics on the backend. Send everything's objects to the frontend. Use a renderer like three.js and just update everything's positions based on what you're sent. Then of course you control the character with WASD and your own camera, and everyone all controls their own character.

The interesting thing is, I was considering switching to Bevy or raw Vulkan and GPT actually said three.js would be better for this as a pure renderer. Especially now that webGPU is out and can handle graphics as well as non-browser engines do.

That's why it's a holy trinity. See, three.js and SpaceTimeDB is obviously a powerful combo already. BUT the third thing is AI. Three.js isn't an engine but a renderer, it's the go to choice of vibe coders. SpaceTimeDB is program it yourself too, not an engine but a backend. Essentially this combo could be insanely powerful for indie multiplayer already, but add the ability to vibe code everything since everything is written by hand.

Thoughts?
>>
How the fuck do I convince my manager to NOT start a new project using spring boot, and use Flask or fastapi instead?
>>
I started working at a non-software company 2 1/2 months ago, my first dev job and I'm very much a junior that stumbles his way through everything
I'm the only developer and my superior is the boss's son that is in charge of the IT - network and security. he's a cool guy, not a nepo baby and knows his stuff, but certainly has no idea about programming.

my company is a bit of a tourist attraction (we make chocolate) and visitors can make custom chocolates on site via touch terminals. (it's an app (probably c# or java) running on a windows server)
I'm tasked with making the new software for those terminals.
>from the ground up, because the devs of the current software are out of business and nobody has access to anything, certainly no source code.

I basicaly have free range what tools and frameworks to use, the only requirement is that it's a web app running in docker.

I chose:
>vue3
>fastapi
>mysql db
>files from nginx

no cloudflare etc because it's just for 500 small pictures

I've got pretty much everything working by now, but now for the fun part:
>I need to make a sync between the cms and my app - the production team enters new ingredients, turns availability on and off etc - I have no idea how I should do that: the cms doesn't have an api I can latch onto.
a newer version of the cms with an api will come next year at some point, but I can't wait for that
>the production team currently receives orders via the kiosk terminals and the online webshop over an app. I'll have to remake that one too, I guess

what I do have access to is:
>the cms - as a user
>xampp/myPHPadmin of the current/old kiosk app

any advice?
>>
>>107536087
look up "development speed" in both languages and show him the stats. Plus, does your team have both java and python devs?

>>107536302
Sounds like a fun project! Though it's a bitch working at non-software companies, most people have no idea what you do nor do they care, they just expect everything to be magically done.
>fastapi
good choice, but given your (I'm assuming) lack of experience, wouldn't you want something with more out-of-the-box tools like Django instead? fastapi is super simple but also a lot more bare-bones than Django.
>mysql db
I've never put SQLite on prod, but given the small scale of this project, maybe give it some thought. You won't have tons of data, or hundreds of request per minute (again, assuming) so a real DB feels like overkill. Keep in mind SQLite is the DB powering every single mobile phone out there.
>how to connect cms to app
no idea honestly, can you figure out how it's being done right now? Do you have access to the cms DB?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.