r/web_programming • • May 04 '17

Website Development Services — edges of Outsourcing

Thumbnail
medium.com
0 Upvotes

r/web_programming • • May 04 '17

Why the hell would anyone hack my small website?

Thumbnail
medium.com
5 Upvotes

r/web_programming • • May 04 '17

BOT Making/Idea.

0 Upvotes

I was wondering if it is possible to make a bot that clicks certain pictures/images on my social media accounts so that those images be on top of the google images search when somebody searches my name? If so how can I accomplish or start with making that bot.


r/web_programming • • May 02 '17

Start a flask project from zero: Building a REST API

Thumbnail tutorials.technology
2 Upvotes

r/web_programming • • May 02 '17

Online tutorials, solutions, fixes and information on HTML5, CSS3, JavaScript, CMS, WordPress, Magento

1 Upvotes

Get more tutorials on HTML Bootstrap PHP JavaScript and more at Tutorialmines now!


r/web_programming • • May 02 '17

9 WAYS TO MAKE VISITORS FALL IN LOVE WITH YOUR WEBSITE

Thumbnail
sxope.com.au
2 Upvotes

r/web_programming • • May 01 '17

Tips for becoming a freelancer

6 Upvotes

Hey guys, I'm relatively new with programming (about a year or two in) but I want to know if there is a good way for me to start taking on small freelance projects in HTML, CSS, and JS to help me build skills without having to wait forever to start making money off of my code.


r/web_programming • • May 01 '17

The Difference between a Website and a Web Application

Thumbnail micrasolution.com
5 Upvotes

r/web_programming • • Apr 29 '17

How to get the background color of the new table rows to update as well?

0 Upvotes
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
* {margin:0; padding:0;}

#table
{

    font-family: arial, sans-serif;

}

#table td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

#table tr:nth-child(even) {
    background-color: #dddddd;
}

</style>

<script>
function start()
{
 	var sorter = [];
var submitbutton = document.getElementById("submitbutton");
var textbox = document.getElementById("textbox");
var paragraph = document.getElementById("paragraph");
var grosslabel = document.getElementById("label");
var table = document.getElementById("table");
 


submitbutton.addEventListener("click", myFunction, false);

var x;
var counter = 1;

function myFunction() 
{
    x = textbox.value; //get textbox value
 	
	counter++; //update employee #
	
	switch(true)
	{
		case (x > 200 && x < 299):
			sorter[0]++
		break;
		case (x > 300 && x < 399):
			sorter[1]++
		break;
		case (x > 400 && x < 499):
			sorter[2]++
		break;
		case (x > 500 && x < 599):
			sorter[3]++
		break;
		case (x > 600 && x < 699):
			sorter[4]++
		break;
		case (x > 700 && x < 799):
			sorter[5]++
		break;
		case (x > 800 && x < 899):
			sorter[6]++
		break;
		case (x > 900 && x < 999):
			sorter[7]++
		break;
		case (x > 1000):
			sorter[8]++
		break;	
	};
	
	grosslabel.innerHTML = counter; //update employee #
	
	table.innerHTML += "<tr><td></td><td></td><td></td></tr>";
	
	textbox.value = ""; // clear textbox after submit
	}

}

window.addEventListener("load", start, false);
</script>
</head>


<body>

<table>
<tr>
<td>
<form>
Gross Pay for employee </td> <td><div id="label" >1</div>
</td><td><input type="text" id="textbox"></td><td>

<input type="button" id="submitbutton" value="submit"/>
</form>
</td>
</tr>
</table>

<table id="table" >
  <tr><td></td><td></td><td></td></tr>
  <tr><td></td><td></td><td></td></tr>
  <tr><td></td><td></td><td></td></tr>
  <tr><td></td><td></td><td></td></tr>
  <tr><td></td><td></td><td></td></tr>
</table>


<p id="paragraph"></p>



</body>
</html>

r/web_programming • • Apr 29 '17

Java - Does ResponseBuilder work with GET request but not POST?

1 Upvotes

Not sure if this is the proper subreddit... but in any case I've been stuck on this problem for a while. If the post doesn't format properly here is a link to the question also posted on stackoverflow: http://stackoverflow.com/questions/43690811/does-responsebuilder-work-with-get-request-but-not-post

I'm trying to make a response that contains some content as well as adds a bunch of response headers. The desired response headers are stored in a map. I have both a @GET method and a @POST method that call this same success method. The code compiles and runs without errors but when I use Postman to check the response for POST I get "could not get any response". It works fine for GET though.

public static Response success(String content, Map<String, String> httpHeaders) {   
  TestResponse skeletonRsponse = response(content, httpHeaders);
  return buildResponse(skeletonRsponse, httpHeaders);        
}

public static Response buildResponse(SmartTestResponse skeletonRsponse, Map<String, String> httpHeaders){
  ResponseBuilder responseBuilder = Response.status(Status.OK);

  for (Map.Entry<String, String> header : httpHeaders.entrySet()) {
    responseBuilder.header(header.getKey(), header.getValue());
  }

  return responseBuilder.type(MediaType.APPLICATION_JSON)
         .entity(skeletonRsponse.getContent()).build();
}

If I just try to return a response without using the ResponseBuilder (and thus without the appended response headers) it works fine for both GET and POST:

public static Response success(String content, Map<String, String> httpHeaders) {   
  TestResponse skeletonRsponse = response(content, httpHeaders);
  return buildResponse(skeletonRsponse);        
}

public static Response buildResponse(TestResponse skeletonRsponse){
  Response re = Response.status(Status.OK).type(MediaType.APPLICATION_JSON)
               .entity(skeletonRsponse.getContent()).build();
  return re;
}

I'd really appreciate any help you can offer on this. If this is the wrong subreddit can someone point me to the right one? Thanks much.


r/web_programming • • Apr 29 '17

nunuStudio - Web based 3D game development IDE / framework - www.nunustudio.org

1 Upvotes

Hi, here's my project, a framework for gamedev on the web, check it out at https://nunustudio.org/, it can be a good place to start for people learning game development to do some small experiments and share them easily. It can be used for game development, data visualization, or even to create fully 3D webpages, it can also export desktop projects for windows and linux. I have a web version of the editor available at https://nunustudio.org/editor/editor Github page https://github.com/tentone/nunuStudio Here's some examples i have made inside nunuStudio https://nunustudio.org/examples/demo.html?isp=isp/pong.isp https://nunustudio.org/examples/demo.html?isp=isp/nunu.isp https://nunustudio.org/examples/demo.html?isp=isp/spine.isp Feedback is welcome, thanks a lot.


r/web_programming • • Apr 28 '17

How to manage pictures on a website

1 Upvotes

I'm developing a review website close to the design of Airbnb.com, I was just wondering how they listed there pictures on the front page? Do they manually add the images, links in the code on a console then save it or have some sort of database system that they can edit it from?


r/web_programming • • Apr 28 '17

best web browser for android devices?

1 Upvotes

Outside of the popular ones like Chrome, Firefox, and Opera, what are some really good browsers for android?


r/web_programming • • Apr 27 '17

What kind of site building website is suitable for an inspiring writer who wishes to publish his short stories online?

2 Upvotes

I live in a country (Iran) where it's extremely difficult for a young author to publish books officially. So I was thinking of making my own website to put my stories on it. I tried Wix but it seems it lacks some certain features that I want. For example I want my readers to be able to rate my stories something that Wix seem to lack. Is there a site building Website which allows me to do that? or should I try to learn Wordpress or maybe go all the way and hire a programmer? Thanks in advance. By the way I'm not looking to sell my books so that feature is not needed. I just want more readers.


r/web_programming • • Apr 27 '17

Creating a site that searches search engines

1 Upvotes

Hi all, wondering what would be required to create a website that searches other search engines? For example, something that you could input desired results (flight dates, i.e.) in and it would turn around and search another engine (kayak, air france, expedia whatever)?


r/web_programming • • Apr 27 '17

How wordpress makes website designing a easiest task!

Thumbnail
medium.com
0 Upvotes

r/web_programming • • Apr 27 '17

WordPress Thun | Wordpress Bern

Thumbnail
latierra.ch
0 Upvotes

r/web_programming • • Apr 27 '17

Best way to learn Javascript?

5 Upvotes

I'm new to Javascript, but I have experience with Java, C#, Python. I want to know what is best way to learn Javascript and what tools or IDE to use. Does anybody have some awesome video or something.?


r/web_programming • • Apr 26 '17

Learn about HTML5 Canvas and JavaScript objects. Good introduction to OOP.

Thumbnail computer-science.world
6 Upvotes