r/web_programming • • Apr 06 '20

Should I learn Spring Framework?

3 Upvotes

I am a software Engineer, working with JavaScript and Python for some time now.

Should I invest time learning Spring/SpringBoot framework?


r/web_programming • • Feb 12 '20

dotJS 2019 - Bert Belder - Deno

Thumbnail
youtube.com
3 Upvotes

r/web_programming • • Feb 09 '20

JavaScript: attempting to format an email template with MailTo

3 Upvotes

Hi all,

I'm currently attempting to use mailto in JavaScript to open an email template in the user's default email client (e.g. Outlook). This template (provided by a third party, and passed into JS by a C# app) contains HTML formatting, which seems to be a problem - mailto won't accept HTML formatting in the body of an email, and refuses to do anything with the results. I've tried using html encoding to fool it into thinking that my template is simply text, but this doesn't seem to make a difference.

Does anyone know a workaround for this? Apologies if this is a stupid question, but I'm relatively new to JavaScript.


r/web_programming • • Dec 14 '19

[Tool Help] List management web application tools?

3 Upvotes

I need to design a web application which allows a user to manage a list of stuff that has a name and a detailed description.

  • The list can have sublists, which can have subsublists, etc, arbitrarily deep.

  • Items in the list can be dragged and dropped to move them into sublists or to reorder them.

  • Search functionality.

  • When you click on an item, it will bring up more detailed information about the item.

I'm confident about the backend. I'll have SQL for data storage and a REST API for data access.

But I am wholly unfamiliar with the front end web ecosystem.

Given my requirements above, what are some tools I should look into? I've made web applications such as this (albeit simpler) before. For those I used bootstrap for accordion lists and Javascript to manually fetch data and build the HTML. It was a pain and the ass and I am sure there's a cleverer way to do it, probably involving PHP.

Tl;dr I'm not looking for how to build a web application. I'm asking what tools would be the best for the job given the framework of functionality listed above. Much appreciated.


r/web_programming • • Dec 11 '19

How to cook RTSP on your website in 2020, or why the boars will not have a chance to run away

Thumbnail
habr.com
3 Upvotes

r/web_programming • • Sep 12 '19

Planning the technology stack for an Event Sourcing project

Thumbnail
keith-mifsud.me
3 Upvotes

r/web_programming • • Sep 05 '19

Here’s why you need a CSS developer in your team [x-post /r/css/]

Thumbnail
reddit.com
3 Upvotes

r/web_programming • • Apr 18 '19

Challenging the common server/client communication practices.

3 Upvotes

Imagine 1,000 devices (smartphones, tables, PCs, macs) running iOS 12, Windows 10, Android Oreo or macOS Mojave + 1 main server. Each device is a parallel computational engine (I'm using the CPU of the device to do something) that performs one task and can communicate with every other 999 devices if needed. The standard way this happens today is by using a main server (with a database) that carries the signals.

  1. Is there a way for devices to communicate with each other (send 100 bytes of text) without having a server to intervene and carry the text?

  2. Is there a way for a server to send the text to devices rather than devices having to check repeatedly if a new text is available?

Text will be 3-100 bytes.

A third question would be where am I going with this? I will need devices to compute on a task (can't say exactly what) that has the text as an input. Each device once it has the text can compute very rapidly. The overall delay happens because of the inefficiency in communication.

Pipeline (a lot easier to understand it)

  1. A server that needs a 100 byte text to be processed (can't say why or how) by other servers uploads it to the main server. overallDelay = 50ms

  2. Other servers search periodically (every x sec) the main server to see if a new text is available for processing which means there's a minimum and a maximum delay. overallDelay = [50ms, x+50ms]

  3. If other servers find on the main server that there's a request to process new text they download it. overallDelay = [100ms, x+100ms]

  4. The processing takes very little time. overallDelay = [150ms, x+150ms]

  5. It needs to upload the result to the main server at the "inbox" of the server that initially requested the computation. overallDelay = [200ms, x+200ms]

  6. The server that made the request also checks his "inbox" periodically (every y sec) to see new results. overallDelay = [200ms, x+y+200ms]

  7. If there are available results it downloads them. overallDelay = [250ms, x+y+250ms]

I will need to eliminate x and y or have them sum up to less than a second.

x + y + 250ms < 1000ms

x + y < 750ms

This can be x, y = 300ms but it puts too much stress on the communication.

Actions

  1. Upload (50ms)

  2. Download (every x sec)

  3. Download (50ms)

  4. -

  5. Upload (50ms)

  6. Download (every y sec)

  7. Download (50ms)

A better way

  1. Upload (steps * 50ms)

  2. -

  3. Download (50ms)

If by some magic servers can communicate directly without the need of a main server the device that makes the computation request only needs to upload the text to a random 10 other servers. Each one would send to 10 more. In 3 steps it would cover 1,000 devices.

  1. overallDelay = 3 steps * 50ms = 150ms to send text to 10,000 devices.

  2. Naturally computation happens very fast and only a few of them have interesting results. overallDelay = 200ms

  3. They upload the results to the server that made the request. overallDelay = 250ms

Even if it takes 250ms for each step it would still be more efficient and within the target goal.


r/web_programming • • Mar 15 '19

UI Shopping Card - Ecommerce Single Shopping Card Hover Effect With CSS

Thumbnail
youtube.com
3 Upvotes

r/web_programming • • Feb 13 '19

Parallax Scrolling Effect with CSS and jQuery

Thumbnail
youtube.com
3 Upvotes

r/web_programming • • Feb 03 '19

Pull Reminders - Bootstrapping a Side Project into GitHub Marketplace

Thumbnail
failory.com
3 Upvotes

r/web_programming • • Dec 06 '18

What is a good introduction to web programming for non-web programmers?

3 Upvotes

I've spent a lot of time with C++, Python, and Java working on iOS apps, console games and game engines, build tools, and command line utilities, but I have very little understanding of modern web technology or development workflow. I know about HTML, CSS, low-level stuff like TCP/IP protocols, simple server-client models, etc... but there are so many different tools, libraries, and languages for writing servers and front-end applications that I don't know where to start. Essentially, I'd like to manually setup a blog 'from scratch' with a content management interface, and I'm not sure what language(s) or frameworks to learn first or how to approach a task like this.

What are some good resources for transitioning into the world of web programming for somebody who already has programming experience? I want to avoid wasting time being re-introduced to basic concepts and instead focus on the most essential, core aspects and issues of web programming.

Thanks for your time!


r/web_programming • • Nov 21 '18

Tools and tips to facilitate deploying and maintaining Ruby on Rails projects.

Thumbnail
medium.com
3 Upvotes

r/web_programming • • Aug 01 '18

Benefits Of Using Mean Stack For Application Development

Thumbnail
agiratech.com
3 Upvotes

r/web_programming • • Jun 25 '18

How to Optimize Your Product Pages for Conversions

Thumbnail
5ines.com
3 Upvotes

r/web_programming • • Jun 19 '18

react-image-appear: ReactJS component to make images appear with transition as they load.

Thumbnail
github.com
3 Upvotes

r/web_programming • • Dec 09 '17

Understanding Penetration Testing and Web Application

Thumbnail
bittlife.com
3 Upvotes

r/web_programming • • Nov 24 '17

Upgrade or Migrate?

3 Upvotes

I want to let it be known that I have only a very cursory knowledge of web design and web development, am still learning, and that some of the things I am about to say may not make sense. Any corrections are appreciated.

I recently started working for an organization that has a very outdated website. The website is running on Joomla 1.0 and it's been made known to me that the organization is in need of an upgrade. The directors are sort of stubborn and want to keep the website on their joomla and upgrade to 2.0 or even 3.0, but that is going to cost a lot of money. We're a non-profit, so that's not really in our budget.

I had the idea of simply migrating the website (or even rebuilding from scratch) on another platform like Squarespace. This would make editing the website easier (especially for those who don't know how to code) and would make things look a lot nicer. Right now the website is outdated not just technically, but stylistically.

The director who makes these calls is reluctant to move to a new platform because we have a large email subscriber list (19k) and a huge database of contacts (100k+), as well as forms for entries (we're a film festival) which are all organized in our joomla database and linked to the website. She thinks (and perhaps rightly so) that trying to move that much data over to a simplified web platform is too large an endeavour. I want to create a proposal that shows what we can do to modernize and also save money.

My question is about feasibility and plausibility. What would be the best way to migrate or upgrade the website at the lowest cost? Is building from scratch on something like Squarespace ideal? Is it possible to keep the joomla database or would it make more sense to rebuild somewhere else? If we keep joomla is it compatible with something like Squarespace? (This isn't an ad for squarespace, I just use them for my personal website so they were my first thought).

Any advice welcome. Thanks in advance!


r/web_programming • • Nov 03 '17

I'm looking to develop a very specific database web app. No idea where to start.

3 Upvotes

I've done some Udemy stuff...including getting through 75 videos on a Meteor course. But it all started feeling over my head.

I'm looking to create a tool that allows me to track customizable sports statistics(pro wrestling for starters but it could track anything from cornhole to beer pong...)

I don't want to get into the whole thing. But as far as simply creating a tool in which I could easily enter my data in real time then view it afterwards, sort it out, and even create a rankings system...

it's a huge idea...I'm overwhelmed, and I just want to start somewhere. I have it all plotted out in a bubble map...and I've created a very user unfriendly Excel version of it. I just wish I could build something more useful.

Where do I start?


r/web_programming • • Oct 27 '17

How do I build a chrome extension that reads a field on a website & does a simple excel formula in a small window?

3 Upvotes

I’m in a new job & excited to kick some ass! This small shortcut will be a great way to show some assertive problem solving skills. I just need to be pointed toward the right resource. Thank you in advance for any input.


r/web_programming • • Oct 01 '17

How do I know if I need to use Javascript in my web page?

3 Upvotes

Lately I've been trying to create as many web pages as I can in order to get better at web development but so far I've been focusing on HTML5 and CSS3. I have not added Javascript to any of my pages mainly because I don't see a need for it in the pages I've been making. Is it a matter of me just not knowing where I need to implement it or am I over thinking it?? I mean if I don't see an obvious need to use JS is that because there legit isn't any need? for it at the time? Do all web pages NEED to have JS interactivity? I don't know PHP well enough yet so I'm not really doing any form validation and such so JS alerts have not been needed so far. Is it a case of I'll know when I need JS for interactivity?


r/web_programming • • Sep 27 '17

Two different folders with the same code on the same server creates different results

3 Upvotes

Hello,

I am facing a big problem I don't know how to fix. You see, I have two folders with the same code, one for programming-testing and the other for user-testing. In theory if a code works on one folder it should work on the other, however something weird is proving this wrong: I get weird results on the user-testing folder that is not replicated on the programming-testing folder such as an empty_response error when uploading a file.

What is going on? Can you please help me? Thanks!


r/web_programming • • Sep 20 '17

How to disable transparency on text that is inside of transparent container??

3 Upvotes

I have been messing around with this for quite some time and cannot for the life of me get it to do what I want. I just need the background of the 4 boxes at the bottom to be black and semi transparent while keeping the text inside solid white with no opacity. I got it to work but changed the CSS to fix a different proble. Now I don't know how to get the text right with the new CSS UGHHHH. Here is a Code Pen link to the page. Help is appreciated. [Click] (https://codepen.io/Dylanidas/pen/GMZoGr)