r/Web_Development • u/SandHK • Mar 28 '20
Short format url?
Hi,
how do I implement shorter/more legible urls for a webpage (or what do I search for)?
For example, from www.mywebsite.com/this-is-a-webpage.html to www.mywebsite.com/webpage/
r/Web_Development • u/SandHK • Mar 28 '20
Hi,
how do I implement shorter/more legible urls for a webpage (or what do I search for)?
For example, from www.mywebsite.com/this-is-a-webpage.html to www.mywebsite.com/webpage/
r/Web_Development • u/ThomasGrayReborn • Mar 24 '20
Hey! If you use a JS framework such as "ember.js" to build a website, does that mean you don't have to use any CSS styling at all? Also do you still need to use HTML? Any feedback on this question would be much appreciated. Thanks.
r/Web_Development • u/AdmiralAdama99 • Mar 20 '20
Hello. I have a PHP CodeIgniter website hosted on DreamHost.com. I am looking for ideas and best practices on how to send out email blasts. The emails aren't spam or newsletters, they're instructions/details for an event that people sign up for, to be sent a couple of days before the event. My biggest event probably needs to send about 3500 emails.
I do not want to do it natively from PHP because those emails often get sent to spam. I need to use a 3rd party service.
This is what I will do if you guys don't suggest a better idea. I will create a 5 minute Cron Job on DreamHost.com that executes a PHP file I make that processes an email queue. The email queue will be stored in an SQL database. The Cron job will send the queue to Amazon Simple Email Service, one email template at a time. An email template can handle 50 emails per template. Each connection/request to Amazon Simple Email Service takes about 1 second round trip. So to transmit 3500 emails will take at least 70 seconds. I will have to code the cron job so that if it is called again while the first one is still running, it does not become buggy.
https://help.dreamhost.com/hc/en-us/articles/215088668-How-do-I-create-a-cron-job-
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
Do you guys know of a service/API that will accept emails sent in a large batch, and handle the queue on their end, instead of on my end?
P.S. I want to pay per email, not per month.
Thanks a lot. Looking forward to your feedback.
r/Web_Development • u/Faisal_Ahmed • Mar 16 '20
I've been learning JavaScript for a while. I like to code in JavaScript. I think it's the right time to learn a frontend framework.
But I'm confused about choosing Reactjs or Vuejs. My aim is to be professional. So I want to learn deeply.What should I learn between these two? Should I learn vue instead of react?
r/Web_Development • u/kevin_monn • Mar 16 '20
Talking about performance networking call, is there any side effect to call a service every change on InputText, instead of having a save button. I would like to see pros and cons, actually we have some input texts when onChange event occur it calls a service and others when a form has many inputs were implemented with a save button (submit).
r/Web_Development • u/puspendert • Mar 15 '20
Hello everyone, I am into the development phase of my website. The architecture is simple, it's a social media website whose backend(REST API) is written into `java`(using Spring-boot) and the browser client is written using `react.js` framework. So, far it's good at `localhost` ๐
I have purchased a domain name from godaddy. Now I want to put my website online. Here are the few technical details:
Can someone please give me a basic understanding of how should I approach from localhost to my domain being online on internet. Where should I host my REST api and database and from where the client code will fetch the data from my API?
I am thinking to use AWS since my basic testing can be done into their free tier. But I am open to other cloud providers as well. Whatever cloud provider you suggest, please give a basic understanding of the architecture.
Edit: Added image hosting to the details list.
Thanks
r/Web_Development • u/Haff96 • Mar 15 '20
I'm new to web development/never done it. However, Ive dealt with apis and http requests as part of a back end engineering team.
I want to build a REST client like Postman or Insomnia as a part/embedded into a separate web app? Basically just need to understand to build my own very simple REST client.
How can I do this or what should I read or checkout to understand this better?
r/Web_Development • u/dacracot • Mar 13 '20
I have a hierarchical data structure stored in a database that I can produce from a web service as JSON, XML, or otherwise. I need to display it in a grid with the left most column representing the tree.
What would you suggest?
r/Web_Development • u/Rich1223 • Mar 23 '19
I am kind of new to databases and backend development in general, and I need some help to make sure I make the right decision here.
I am building a small-scale CMS for a personal project. Within this CMS, I have a table "pages" containing the relative URL for the page and a reference to an html template to populate the page.
This project will ultimately have numerous unique pages with custom javascript and custom css. I have a separate table "scripts_and_styles" containing references to these files.
The trouble I am having is figuring out how to relate the two tables. Do I add a column to my "pages" table that contains multiple primary keys for the "scripts_and_styles" table separated by commas (i.e. 1,2,3)?
Or do I create a separate table that links one page with one resource per row?
Edit: for clarification, when this page renders, i have a function that iterates through an array of scripts and an array of styles and places them in the <head>. As I add new features to the site, a page may accumulate additional scripts and styles.
r/Web_Development • u/Rich1223 • Dec 21 '18
I am self-taught in front-end development with javascript and some knowledge of backend development in PHP. I have an idea for an app that I would like to build a prototype for as both a learning experience for myself and to see if I can actually market it and pursue with an experienced developer.
I have a lot of ideas for features, but I have tried to narrow it down to a fairly simple minimum viable product as a single page application. The problem is, whenever I think about the data I need to make the MVB work, it increases the complexity by introducing additional systems that would need to be developed for additional use cases.
For example, just to make the basic functionality, the app would need user profiles with quite a few different sets of data attached to the profile. I don't think it's impossible, but I have never planned a project like this before.
Does anyone know of some good resources to point in the right direction of outlining a web dev project?
r/Web_Development • u/Rich1223 • Jun 05 '18
To be honest, I don't know whether this is possible, but maybe someone has an idea if I could do this. Say I have a domain 'myDomain.com.' I want to use 'myDomain.com/abc' to access the index file of the root directory, so I can alter the data on the page based on the pathname with JavaScript. I intend to have a finite, predefined set of URLs that technically don't have a directory of their own. Is there a rule I can write in an .htaccess file to make these resolve to the index of the root, but keep the pathname? I have considered just using the '#' symbol on the frontend, but I want search engines to read these as separate pages.
r/Web_Development • u/Rich1223 • May 10 '17
I have a degree in a totally unrelated field, but am a self-taught programmer, looking to break into web development. I am solid on HTML and CSS and can program competently in JavaScript. I am currently in the process of learning SQL. My portfolio has two website designs and a hybrid-mobile app that I am about 50% through.
Every job I look at for entry-level wants experience in multiple frameworks, and multiple languages. What skills should I actually be prioritizing and what competencies do I need to actually get my foot in the door somewhere?