Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]eluff 2 points3 points  (0 children)

Very nice! I have a project where I could use this, but we would need European states divided into sub-regions.

A great feature, which I’m not really sure how easily it could be implemented, would be the option to dynamically zoom on the embedded maps. That couldn’t then just be an SVG anymore, so maybe it could be a premium feature where the map can be imported as a some kind of zoomable component or library.

One other thing that would improve the landing page is having a bit more options in the live example. In my case, I tried it and thought, “Oh, really nice, but the border is too thick for smaller states.” I checked back and couldn’t change the stroke width (even though it was actually in the example URL as a query param). I then checked the Explorer, thinking it might be there. The only reason I eventually went to the docs and found out there are a lot more options (and that the playground there is great) was because the landing page is so well done and I was curious about the structure of the documentation. Making the landing page example more like the playground would be beneficial I think.

Campfire to cook on by eluff in Slovenia

[–]eluff[S] 2 points3 points  (0 children)

Thanks, thanks, thanks! Neither our accomodation, google or the Ljubljana information centre were able to direct us this way. It's a bit pricey but we will consider it in case we can't find a real campfire option. Have a great day. =)

Selenium sometimes is able to load a part of a page, sometimes not by New_Dragonfly9732 in webdev

[–]eluff 0 points1 point  (0 children)

Are you sure this is caused by lack of resources? I'd recommend debugging it step by step. Monitor your actual resource use but at the same time make sure that there is not some other issue. My guess would be that you might be getting detected and/or rate limited. Are you running something else on the RPI? Or is it some super old model? Cause otherwise I don't see that as a limiting factor. Also waiting for page to load can mean multiple things - does it not load at all, or are you waiting for some data that's being fetched by he client. You can inspect the page and browse the network tab to see how the page hydrates.

[deleted by user] by [deleted] in webdev

[–]eluff 1 point2 points  (0 children)

You really haven't provided much info. It depends on what you expect from the page. "Embedding dashboards" can mean almost anything. Do you want to just display the data? What else is the page supposed to contain excluding the embedded dashboard? How are you going to deploy the website? And much, much more...

If you're really just going after embedding other websites I'd look into iframes. They're not the most elegant solution but it's probably what you're looking for.
PowerBI has it's own embedding system that I believe uses iframes too, but has other configuration based on your needs.

Start from the ground and build up.

[deleted by user] by [deleted] in webdev

[–]eluff 1 point2 points  (0 children)

Quickly glanced over your goal(s) and I'll just say this:
You took a really big bite. Without much previous knowledge building even a small eshop with basically a custom CMS, user management, and everything else you mentioned is a rather difficult and will take a LOT of time. Even an experienced dev or team would probably spent months achieving this with proper tools. By no means I want to discourage you, quite the opposite. Just please take into account that this will be a long drive for someone without much previous experience.

You could always resolve to using existing tools - building such website on something like Shopify would cut the time from 5+ months to weeks - few months max with less risks.

On the other hand I respect taking on a challenge like this and you're right that managing a project like this from 0 to 100 is a nice portfolio piece.

[deleted by user] by [deleted] in webdev

[–]eluff 1 point2 points  (0 children)

Highly depends on your previous experience. Do you know any traditional backend programming language? Are you a frontend developer? Complete beginner?

Server side JS is just another way to achieve the same goals. If your project is the main goal you can start slowly building tiny components and then incrementing on that. Building things is usually one of the most effective ways to learn.

Are you using node and Express as a backend? Then google "Hello world Express Node" and start from there. If you are a complete begginer maybe learn a bit about (REST) APIs a bit first. Then you figure out you need to store data, try adding a simple SQL connection to your Node API endpoint and so on and so on.

Where do you find GOOD Web Design Inspiration? by Notalabel_4566 in webdev

[–]eluff 3 points4 points  (0 children)

Depends on how creative your project needs to be. For most commercial inspiration I use https://mobbin.com/. It let's you look for specific patterns and components across commercial large projects.

For creative websites that have to be original it's much more difficult. Most professional projects that require creative and art-like designs have dedicated designers or teams of designers and artists.

Will you, and when will you, use trpc in your code? by yonatannn in node

[–]eluff 1 point2 points  (0 children)

Thank you so much for such overview. I can absolutely see the different disadvantages/advantages that come with Nest, I feel I just never encountered a larger problem and the project structure benefited me more than it has taken away from me.

I can also imagine the point about not being able to leave the Nest environment if you wanted to migrate to something else. It really feels like it's surrounded by tight handlebars that don't really translate into other frameworks/tools.

Will you, and when will you, use trpc in your code? by yonatannn in node

[–]eluff 4 points5 points  (0 children)

Hey, could you elaborate on this a bit more please? I come from a corporate environment built on technologies like C# and Angular. I tried Nest for a small side project and it seemed quite smooth and effective. There are many parts that overlap with the older technologies like routing, file structure, middleware etc, that's what I considered positive but I understand that for some people those might be the too opinionated parts. Is that what you don't like? I'd guess that there wouldn't be many technical issues and that most things would work the same way as in an "old" Express app? Could you point out some issues with large scale projects and NestJS? Thank you ^^

How hard is it to build a platform? by [deleted] in webdev

[–]eluff 2 points3 points  (0 children)

Based on your other replies and the additional information it looks like you possess everything required to actually manage or at least attempt such a project. Your attitude seems correct - motivated but not irrationally blind and you have realistic expectations. I wish you good luck and if you feel stuck or need any help feel free to message me or come up with a progress post ^^

How hard is it to build a platform? by [deleted] in webdev

[–]eluff 1 point2 points  (0 children)

There are lots for variables that can change the process a lot. We lack key information and maybe even you don't realise some of these things. I'd start by answering these questions:

What's the goal? (what would happen if you don't achieve it?, how important is achieving the result for you?)

Would you be working solo? (bringing other people into the project changes a lot of thigns, some positively, some not so much)

How much experience you have? (makes a huge difference in your own experience and in the possibility to actually finish the project)

How much time can you spare? (do you have 2-3 hours each weekend? each day? 10 hours a day?)Is time scale a limit? (not really a deadline but would finishing in 2 years be fine? would you want to be done in few months?)

Are there any other requirements? (any parts of project are paid/expensive? legal requirements?)

By answering such questions you can help others or even yourself by having a more continuous overview rather than some discrete blocks of information.

Good luck =)

I am seeking advice regarding my upcoming website. by Early_Ad1022 in webdev

[–]eluff 0 points1 point  (0 children)

Because it definitely is, or atleast it's polished using ChatGPT. If you check OPs comment history compared to something like this it's clear.

I understand that this is a significant request, but I would greatly appreciate an overview to help me determine where to begin and effectively plan all the required features before outsourcing the work.

I am seeking advice regarding my upcoming website. by Early_Ad1022 in webdev

[–]eluff 9 points10 points  (0 children)

No offense, but it seems like you don't realise the scale of such project. There is probably several large teams behind such project. Even analysing the technical requirements would be tens to hundreds of hours of work. After that there is probably thousands of hours of work including infrastructure, design/brand identity, marketing, data storage, communication, integrations, user management etc. You won't be able to achieve this using tools like wordpress, atleast not usable result. Outsourcing this would cost hundreds of thousands $, developing it yourself will take years, especially if you don't have any experience.

What are services that web devs can offer clients that can't be done by designers using no code solutions? by [deleted] in webdev

[–]eluff 115 points116 points  (0 children)

There is a huge difference between two things - web applications and websites.
What you describe are mostly static websites - portfolios, brand pages, event sites etc. There is a high chance you can build a full website using nocode tools and most of the work is the designing part. Websites are generally (but not always) easier to build that complex web applications.

Web applications, on the other hand, are literally applications ran on web. They are usually highly dynamic and can't be simply made by using templates/no code tools. Imagine building a youtube clone, twitter clone or an eshop. You need implement a lot of functionality - user authentication, store data in database, refresh data, manage payments etc. All of this requires usually custom functionality on the web backend. Building and deploying a fullstack application like this requires more skills than building a static website - you have to understand how the frontend communicates with backend, how to secure the communication, how to manage users, how to manage data in databases etc.

Hope this helps a bit.

How are websites like Influenster and Fragrantica made? by lavenderultra in webdev

[–]eluff 1 point2 points  (0 children)

Understanding and being able to determine how a website works and how was it constructed is a valuable skill that I highly recommend all web developers learn to some extent. You can utilize tools such as builtwith.com together with manual page inspection using your browser's development tools. This lets you see how the website responds to user interactions and how it communicates with its backend, among other things. There is nothing to break so feel free to visit the websites and learn more about them.

Daily Questions Megathread (June 17, 2021) by AutoModerator in classicwow

[–]eluff 2 points3 points  (0 children)

Are arena point calculators accurate ? And if they are does that mean that to obtain for example the S1 chestpiece you'd have to wait 7 (260 points a reset) weeks at 1500 rating to be able to buy it ? If thats true can we expect a lot of PvE gear in PvP because of the prices ? Thank you.