r/web_programming • • Sep 22 '16

[NOOB] How are most sites structured?

4 Upvotes

See title. Not in the way of the file manager, but generally, what are the frontend and backend components typically used and how do they interconnect? I am asking because I am trying to create a website with custom HTML (which I at least have a bit of experience in), but so far I only have the domain and hosting service set up. I have read about tools like git, composer, drupal, etc. and I am confused about which tasks each of them handles and how they "talk" to each other. Any help you can provide will be much appreciated.


r/web_programming • • Sep 20 '16

Why all this code for a simple dimmer?

4 Upvotes

Hello, I'm starting out in front-end development and don't know much about javascript coding. I'm hoping someone could explain to me why all this code is necessary when building a component like Semantic UI's "dimmer" for example. If I was going to make a dimmer I would addClass "show" or removeClass "show" to show up and disappear.

So why all this code?

https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/components/dimmer.js


r/web_programming • • Sep 15 '16

Make your code beautiful

Thumbnail
csscomb.com
4 Upvotes

r/web_programming • • Sep 13 '16

Tech innovations to impact web development within next few months.

Thumbnail
cdn77.com
4 Upvotes

r/web_programming • • Jul 19 '16

Novice programmer looking for help or tutorials for making an app for my website.

4 Upvotes

Hi everyone (mods please let me know if this is not the right place to post),

I have taken a few very very basic intro CS classes a few years ago. Mostly they are useless (a bit of java on the logic side and a custom bare-bones learning language). I currently have my website built with squarespace, but i would like to upgrade a few things in ways that are beyond the non-programming builder interface. I could use some help deciding what/how to learn.

One of my ideas is to build an app to let customers design their own earrings- choosing first a style, then selecting a color or gemstone type for each slot on the skeleton of the design. I am at a complete loss as far as which language I should learn to acomplish this. I have heard that HTML5 has some built in capability for integrated apps like this, but I was also thinking that an embedded java app might work as well. I would also need to learn everything about setting up the editor and paths on a new computer (this is the main concept I didnt get from my java class).

Any suggestions or links to tutorials would be greatly appreciated. Also, if someone wanted to take the time to help me get started, send me a pm and we can discuss compensation (I am sure that I cannot afford what your time is worth in cash, but if you are open to a trade, I have a ton of flexibility on hand made art and custom jewelry).

Thanks!


r/web_programming • • Jun 15 '16

Removing the .html extension

4 Upvotes

So I've done a little research myself and everything points to the fact that I need to create a .htaccess file. I've created it, named it, and put it in the folder with the other .html pages but it's not working. Here is what is in the file.

Options +MultiViews

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule [^.]+$ $1.php [NC,L]

RewriteRule [^.]+$ $1.html [NC,L]

Any ideas? I'm a super novice in this stuff.


r/web_programming • • Mar 28 '16

How do I advance my knowledge of basic HTML and CSS?

4 Upvotes

I want to get better at creating sites using basic HTML and CSS, I saw sites at templated.co and wanted to recreate them but they seem to be using frameworks. I know I have to learn the basic so I don't right away start using Bootstrap, Foundation, Flexbox and Less or Sass.


r/web_programming • • Feb 16 '16

Classic Troll, Wikipedia. Good one.

Thumbnail
imgur.com
4 Upvotes

r/web_programming • • Feb 07 '16

Crawling an entire Domain / Website - par 3

Thumbnail
jonathanmh.com
4 Upvotes

r/web_programming • • Sep 27 '15

How to celebrate 1000 members?

4 Upvotes

Hi there folks,

as some of you may have noticed we are getting close to 1000 members, i estimate within the next 2 weeks we will reach that. So I ask you the members how that occasion should be marked, I was considering some sort of contest or akin but what ideas do you all have?


r/web_programming • • Jan 03 '14

Hugo - a powerful static site generator

Thumbnail hugo.spf13.com
4 Upvotes

r/web_programming • • Nov 01 '13

Trying to help a friend update content on his page and clean up his code; new to coding need help repositioning elements

4 Upvotes

A friend has a simple one page site, and the old person who was helping him with it has exited the building. I told my friend that I could maybe help him, but I am stuck. I am quite new at coding and thought this could provide a good learning experience for me.

I am trying to reposition the content for the items, next to the images instead of underneath the images. I then want the two items stacked on top of each other, so that when we want to add more items, we can just stack them on top, and the older items will go down the page.

First post in this sub, so apologies if this post belongs somewhere else.

Thanks in advance!


EDIT, here is my updated Frankenstein code. I ran the original code (which you can see here in this post) through the w3 validator, and tweaked a few things to try to get my positioning how I wanted it. Now though, that I am looking at it on a different computer, I can see that there are sizing issues. Which ultimately is good, because really, I do want a responsive design, just hadn't gotten to that step yet. Now that I'm here, I would happily take any direction/recommendations/advice on what I should start learning about for that topic, ;) .

Now I know I need to change these elements into div ids instead of tables, but I don't have a strong enough grasp of what the <tr> and <td> tags are doing and exactly how they are functioning.

Thank you again for anyone's help and input (esp Mod /u/captainTigger!)!

<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<meta name="description" content="Who we are and what we do with good internet search engine keywords">
<title>Name of our Website</title>

<style type="text/css">
img.border {border: 1px solid #ff6600;}
</style>

<style type="text/css">
 body {
  background-color: #FFFFFF;
 }
  div.c5 {text-align: center}
  table.c4 {background-color: #FF6600}
 table.c3 {background-color: white}
 p.c2 {font-family:verdana;font-size:80%;color:green}
 img.c1 {float:left}
</style>
</head>
<body>
<div class="c5">
<table class="c4" cellspacing="0" cellpadding="0" border="0" width="1002">
<tr>
<td valign="top" align="center">
<table class="c3" cellspacing="0" cellpadding="0" border="0" width="1000">
<tr>
<td valign="top" align="center" colspan="2"><img src="BANNER.jpg" border="0" width="1000" height="105" alt="** PLEASE DESCRIBE THIS 

IMAGE **"></td>
</tr>
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="5" border="0" width="950">
<tr>
<td><br>
<img src="item1image.jpg" height=170 width="170" class="border c1" border="0" alt="** PLEASE DESCRIBE THIS IMAGE **"> 

ITEM 1 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd faodpijsfapod ijaoiaoidpap oidjapodi jsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi     jpdsoaij pdsfao idsjfa oidjoadijfaopij dfaodpijsfapodijaoiaoidpa poidjapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi     jpdsoaij pdsfao idsjfa o idjoadi jfaopijdfaodpijsfapodi jaoiaoidpapoi djapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi     jpdsoaij pdsfao idsjfa o<br>
<br>
Line of content lsfdknl fsdlkfslk flskdjfslkdj slkdjf<br>
<br>
<br>
<br></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="5" border="0" width="950">
<tr>
<td><br>
<img src="item2image.jpg" height=170 width="170" class="border c1" border="0" alt="** PLEASE DESCRIBE THIS IMAGE **"> ITEM 2 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd faodpijsfapod ijaoiaoidpap oidjapodi jsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi     jpdsoaij      pdsfao idsjfa oidjoadijfaopij dfaodpijsfapodijaoiaoidpa poidjapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao     ijpdsaoi jpdsoaij pdsfao      idsjfa o idjoadi jfaopijdfaodpijsfapodi jaoiaoidpapoi djapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij     dpsao ijpdsaoi jpdsoaij pdsfao     idsjfa o<br>
<br>
A line of content here.
<br>
<br></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="center" colspan="2">
<p class="c2">CONTACT INFO ASODIFNASLKFA DLAKJFALKJDF ALFDSKJASLKJF ALKDJFALAKSDJ FSLKDJFALSKJ<br>
STUFF AND THINGS<br>
SOME DIFFERENT TIMES OF THE WEEK</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>

r/web_programming • • Dec 17 '24

Participate in JDoodle's Code for Christmas hackathon to win $100 Amazon Gift Card

3 Upvotes

Hey devs,

I'm from JDoodle and I wanted to share about this hackathon. It’s free to enter, and you could win a $100 Amazon gift voucher, JDoodle merchandise, and early bird rewards.

All you have to do is simply code a festive Christmas tree using HTML, CSS, or JS on JDoodle, share it on social media, tag JDoodle, and use #codeforchristmas.

The last date for submission is 22nd December 2024. For detailed instructions, check out this blog.


r/web_programming • • Nov 06 '24

New programming group!

3 Upvotes

Want a space to find other focused developers for projects, share ideas, find help or generally hang out? Send me a DM or comment on this post :)


r/web_programming • • Oct 08 '24

Streaming Big Data to the Front End, What am I doing wrong?

3 Upvotes
// back end
@GetMapping("/getRowsForExport")
public ResponseEntity<StreamingResponseBody> getExportData(final HttpServletResponse response)
        throws SQLException {
        StreamingResponseBody responseBody = outputStream -> {
        StringBuilder csvBuilder = new StringBuilder();
        byte[] data = new byte[0];
        for (int i = 0; i < 10000000; i++) {
            csvBuilder.append(i).append("\n");
            data = csvBuilder.toString().getBytes(StandardCharsets.UTF_8);
            // i want to every 1000 row of data responsed to the front end
            if (i % 1000 == 0) {
                outputStream.write(data);
                outputStream.flush();
                csvBuilder.setLength(0);
            }
        }
        outputStream.write(data);
        outputStream.flush();
        csvBuilder.setLength(0);
    };
    return new ResponseEntity(responseBody, HttpStatus.OK);
}
// front end
getRowsForExport() {
  return this.http.get<any>(
    ENV_CONFIG.backendUrl + 'xdr/getRowsForExport'
    { responseType: 'blob' }
  );
}

Hi everyone, I'm using Spring Boot and Angular technologies on my project. I need to export huge csv data. As I researched, StreamingResponseBody is used for this purpose. So my purpose is: "When this request is called, download must start immediately (see a downloading wheel around the file in Chrome) and every 1000 row of data is written into csvBuilder object, response should be send to front end". But it doesn't work. Method responses only 1 time with full of data which I don't want because my data will be huge. How can I achieve this? Please help me!


r/web_programming • • Sep 27 '24

Looking for people to join my new python programming community for web dev

3 Upvotes

Looking for exited and driven passionate python3 programmers whether new or seasoned to join our new community of python based development and education. It's a place where everyone can help each other and colab on projects!


r/web_programming • • Aug 29 '24

Created CLI that writes your semantic commit messages in git and more.

3 Upvotes

I've created CLI, a tool that generates semantic commit messages in Git

Here's a breakdown:

What My Project Does Penify CLI is a command-line tool that:

  1. Automatically generates semantic commit messages based on your staged changes.

  2. Generates documentation for specified files or folders.

  3. Hooks: If you wish to automate documentation generation

Key features:

  • penify-cli commit: Commits code with an auto-generated semantic message for staged files.

  • penify-cli doc-gen: Generates documentation for specified files/folders.

Installation: pip install penify-cli

Target Audience Penify CLI is aimed at developers who want to:

  • Maintain consistent, meaningful commit messages without the mental overhead.

  • Quickly generate documentation for their codebase. It's suitable for both personal projects and professional development environments where consistent commit practices are valued.

Comparison Github-Copilot, aicommit:

  • Penify CLI generates semantic commit messages automatically, reducing manual input. None does.

  • It integrates documentation generation, combining two common developer tasks in one tool.

Note: Currently requires signup at Penify (we're working on Ollama integration for local use).

Check it out:

I'd love to hear your thoughts and feedback!


r/web_programming • • Jul 18 '24

Any recommended bootcamp

3 Upvotes

Good Day! I have been struggling on what to do and what motivation I can use to learn any framework, Is there anyone that might help me like bootcamps or etc.? I can accept any tips too. Thank you guys


r/web_programming • • Jul 14 '24

Best resource to start programming

3 Upvotes

Hello!

I am planning to do some light advance studying before entering my first year of computer science. I have seen some posts on roadmaps but I am still undecided what I should start off with. Here are my options:
CS50: Introduction to Computer Science - https://pll.harvard.edu/course/cs50-introduction-computer-science

CS50's Web Programming with Python and JavaScript - https://pll.harvard.edu/course/cs50s-web-programming-python-and-javascript

CS50’s Introduction to Programming with Python - https://cs50.harvard.edu/python/2022/

Learn Python - Full Course for Beginners [Tutorial] - https://www.youtube.com/watch?v=rfscVS0vtbw


r/web_programming • • May 08 '24

Design and develop captivating websites, landing pages, and mobile apps to boost your online presence

Post image
3 Upvotes

🚀 Web & Mobile Expert Services! 🚀

Are you looking for top-notch web and mobile development services? Look no further! Here's why to choose me:

  1. Web Designing: Stunning and user-friendly website designs tailored to your brand.

  2. Web Development: Customized solutions using cutting-edge technologies.

  3. Mobile Development: Android and iOS apps that deliver exceptional user experiences.

  4. API Development: Seamless integration for your applications.

  5. JavaScript Programming: Crafting interactive and dynamic web solutions.

  6. API Integrations: We connect your systems with external APIs, ensuring smooth data exchange and functionality.

📞 Contact me today: 📧 Email: [email protected] 📱 Phone: +92 336 476 9000

Let’s bring your ideas to life! 💡


r/web_programming • • Aug 28 '23

Problem with not being able to display a ::before element in css ?

3 Upvotes

html code

<div class="cell "></div>

css code

.cell::before{

content: '';

width: 80px;

height: 80px;

background-color: black;

}

after this i checked my browser there was nothing then i just added this one line

.cell{

display:flex;

}

then the browser showed the black box .

why is that ?

i couldn't try much , does having display as anything else also sort this problem ?


r/web_programming • • Aug 05 '23

Hoisting With Same Variable And Function Name | Frontend Javascript Interview Questions |

Thumbnail
youtube.com
3 Upvotes

r/web_programming • • Jun 23 '23

What is Blue Green Deployment And How it Works | Blue - Green Strategy | Frontend Tutorials |

Thumbnail
youtu.be
3 Upvotes

r/web_programming • • Jun 13 '23

My chrome extension submission is asking for (openTab) justification.

3 Upvotes

Although my extension needs to have activeTab for a specific site only, it's not approving my extension for third time. Any suggestions are welcomed.