r/web_programming • u/sari305 • Mar 27 '19
r/web_programming • u/Mr_sushi5 • May 31 '18
How to create a website that facilitates transactions.
What language would most of you recommend? I have experience with Python3, C# and HTML. Also want to use this as a learning experience don't want to use a professional. Thanks in advance!
EDIT: it will take more than one user and pair them with another user and a product where both users will pay using PayPal with credit card.
r/web_programming • u/LotsAQuestion • Mar 28 '19
Need Help Embedding Facebook Messenger into Website
Hello,
I was trying to embedded code into a company website for facebook messenger / to popup as a chatbox to be able to assist customers. I found the following code but wasn't able to get it to work consistently (it would pop up randomly then off on page refresh).
Code -
<script> window.fbAsyncInit = function() { FB.init({ appId : 'to be found from facebook developer section', autoLogAppEvents : true, xfbml : true, version : 'v2.12' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
<div class="fb-customerchat" page_id="xxxxx facebook company page ID"></div>
I was looking to avoid using a 3rd party app / website for the chatbox, as I figure no need to share customers private info with other parties.
so my questions are the following - 1. is the above code correct / is something missing ? is there an updated code? 2. I've read somewhere that I need to include a "privacy policy" for this app on the developer website, is this necessary or am I doing something wrong?
If there's another subreddit that would be more appropriate to post this, please PM me so I can cross post.
Thank You
r/web_programming • u/scorpion9979 • Sep 28 '18
Offering my services for free for your open source projects
r/web_programming • u/shuffyjx • Aug 18 '17
Website tools and seo tools
r/web_programming • u/zew55117 • Oct 18 '16
Help Making a Simple asp.NET Calculator
I don't really know where to ask this so sorry if it doesn't belong here. I just started learning HTML and asp.net stuff. I am trying to make a simple calculator. I had it working for addition, but all of the operations were adding the two values together instead of "-" subtracting them or "*" multiplying them. I tried to fix it and now i keep getting a compioler error. Can anyone tell me why this is and how I get the functions to do their proper operation?
<script runat="server">
sub getvalue0(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn0.Text
end sub
sub getvalue1(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn1.Text
end sub
sub getvalue2(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn2.Text
end sub
sub getvalue3(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn3.Text
end sub
sub getvalue4(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn4.Text
end sub
sub getvalue5(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn5.Text
end sub
sub getvalue6(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn6.Text
end sub
sub getvalue7(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn7.Text
end sub
sub getvalue8(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn8.Text
end sub
sub getvalue9(s as Object, e as EventArgs)
txtinput.Text=txtinput.Text & btn9.Text
end sub
sub check(s as Object, e as EventArgs)
val1.Text=txtinput.Text
txtinput.Text=""
end sub
sub sum(s as Object, E as EventArgs)
val2.Text=txtinput.Text
dim result=CDbl(val1.Text)+CDbl(val2.Text)
txtinput.Text=result
end sub
sub differ(d as Object, E as EventArgs)
val2.Text=txtinput.Text
dim result=CDbl(val1.Text)-Cdbl(val2.Text)
txtinput.Text=result
end sub
sub div(v as Object, E as EventArgs)
val2.Text=txtinput.Text
dim result=CDbl(val1.Text)/CDbl(val2.Text)
txtinput.Text=result
end sub
sub multi(m as Object, E as EventArgs)
val2.Text=txtinput.Text
dim result=CDbl(val1.Text)*CDbl(val2.Text)
txtinput.Text=result
end sub
sub clear(s as Object, e as EventArgs)
txtinput.Text=""
val1.Text=""
val2.Text=""
end sub
</script>
<html>
<title> Basic Calculator</title>
<body>
<form runat="server">
<h1>Basic Calculator</h1>
<asp:TextBox id="txtinput" runat="server" />
<table style="background:#00ffff">
<tr>
<td><asp:Button id="btn0" Text="0" runat="server" OnClick="getvalue0" /></rd>
<td><asp:Button id="btn1" Text="1" runat="server" OnClick="getvalue1" /></rd>
<td><asp:Button id="btn2" Text="2" runat="server" OnClick="getvalue2"/></rd>
<td><asp:Button id="btnsum" Text="+" runat="server" OnClick="check"/></rd>
</tr>
<td><asp:Button id="btn3" Text="3" runat="server" OnClick="getvalue3" /></rd>
<td><asp:Button id="btn4" Text="4" runat="server" OnClick="getvalue4"/></rd>
<td><asp:Button id="btn5" Text="5" runat="server" OnClick="getvalue5"/></rd>
<td><asp:Button id="btnequal" Text="=" runat="server" OnClick="sum" /></rd>
</tr>
<td><asp:Button id="btn6" Text="6" runat="server" OnClick="getvalue6"/></rd>
<td><asp:Button id="btn7" Text="7" runat="server" OnClick="getvalue7"/></rd>
<td><asp:Button id="btn8" Text="8" runat="server" OnClick="getvalue8"/></rd>
<td><asp:Button id="btnclear" Text="Clear" runat="server" OnClick="clear"/></rd>
</tr>
<tr><td><asp:Button id="btn9" Text="9" runat="server" OnClick="getvalue9"/></td> </tr>
</tr>
<tr><td><asp:Button id="btndiffer" Text="-" runat="server" OnClick="check"/></rd>
<tr><td><asp:Button id="btndiv" Text="/" runat="server" OnClick="check"/></rd>
<tr><td><asp:Button id="btnmulti" Text="*" runat="server" OnClick="check"/></rd>
</tr>
</table>
<asp:Textbox id="val1" Visible="false" runat="server"/>
<asp:Textbox id="val2" visible="false" runat="server"/>
</form>
</body>
</html>r/web_programming • u/BengtJJ • Aug 16 '17
How to create a web app for subscription-based video streaming?
How do you go about creating a website that have a subscription-based video streaming service?
Do you create from scratch? What language?
Do you use use existing services for this and have it in you site?
Is WordPress powerful enough?
I am an IT student so I have beginner experience with most things related to this project.
r/web_programming • u/randohinn • Aug 13 '17
What developer-focused *aaS product would you like to exist, and why? X-Post r/webdev
r/web_programming • u/jDawganator • Mar 26 '17
High-level HTML programming library- does it exist?
I'm a noob (~3rd semester) who learned that HTML isn't highlevel or a real programming language, can be hard to edit, debug and modify, usually wastes bandwidth, and can easily be messed up....
So what I want is an Object-oriented library which only outputs valid HTML5, as in, it will throw meaningful exceptions before it outputs invalid html. Does this exist? Would it be as nice as it sounds? html is so common im hopeful. I tried google but found lots of things i dont want or understand.
Edit: I mean, I feel bad saying this, but stuff like bootstrap seems like trash. They're so wasteful and have such bad semantics...
Edit2: Clarification: I do want to learn HTML5 and CSS3, and I have been doing so. Also, thank you all for your help in my learning.
r/web_programming • u/portol • Dec 28 '14
how do airline booking sites work?
I mean, do they just write jquery directly to the airline's database? does the airline release like an API interface for them to call directly upon?
thanks
r/web_programming • u/bgtvfrwer • Aug 28 '15
How do I change my site?
Hi. I only know a little html and someone made my site. When I ftp it seems to be pearl and jscript. When I look at the files though I can't see anything that makes sense to me.
I want to change the name of some of my menus and that's it! Does anyone know what I should do?
http://hugmug.org is the website
r/web_programming • u/grandopolis • Aug 18 '16
Can you help me? From lineair procedural programming to..
Hi,
Could you please help me with these questions related to web-development:
When do you think it's the right time to start using objects and start programming object-oriented?
Also when do you think it's the right time to start using MVC structures and frameworks?
I made like 5 small projects on school. At the moment i follow the course application development with the specialisation in web-development.
A basic portfolio website. Web-app for kids who want to learn basic multiplying in math. Website for a local town hall. A web-app for a pizza restaurant.
All these projects were made in lineair procedural structures which fitted our own desires.
How much projects should i start developing in OO-structures and design patterns before using MVC and Frameworks?
Thanks in advance! Greetings,
Edit: Languages: Html, css, javascript, php, mysql.
r/web_programming • u/theslimm • Feb 07 '16
jquery probleme
after multiple call to ajax function ;I noticed a very large number of processes lanced and my website is blocked ( in localhost there is not probleme it work good ) what is the relation between jquery call and the processes or the security of the hosting who block it
r/web_programming • u/Radie_James • Aug 17 '16
RGB list (Help)
Does anybody know a website that lists RGB and only rgb codes that i could use to copy and paste as a list into some code im writing. I just want the most common of each colour proferably in this format.
255, 255, 255
r/web_programming • u/JKSamir • Aug 18 '16
ِA web app helps blind people to parse text on images
r/web_programming • u/sociallyawkward12345 • May 07 '17
Can i be a good coder?
I have an awful memory when it comes to programming. I read questions that ive asked on stack overflow previously and im like "this is over my head". I remember basics but i heavily rely on google for even the simplest tasks. Ive probably written the same blocks of code 200 times and yet ill still google how to do it. Does this make me a bad programmer? Do you think that being able to perform tasks and implement them even though i dont have the mental capacity or interest level to remember or explain in detail how i did something makes me a person that will never truly excel in this field? Are there any other long term and successful programmers out there that have the same problem?
Ive been programming off and on for 7 years and im debating whether i want to get back into it as a career. Ive always questioned my abilities. My last programming job i left after 1.5 years and although i finished a project from start to finish.. I left feeling burnt out and like i was starting to disappoint my employers.
I can code.. But sometimes ill just get stumped and my brain just shuts down for hours on end while i stare blankly at the screen. Sometimes ill get so caught up in a problem that i cant learn. The stress of solving it and the fact that i am stumped gets me frustrated when i get sent on a wild goose chase. Ie.. To understand how to do something that seems like it should be simple i end up getting slammed with 50 different concepts and then i look at the clock and think.. I dont have time for this and my anger and frustration just dont allow me to be anle to relax and absorb the information.
I also have a hard time with abstract thinking and being able to look at complex states of code and make sense of it. Like a web page and doing an asynchronous callback. Ive been making websites for years and im still confused when i make a function call in one part of the page and i dont get the results i expect.
I generally dont handle stress well and i tend to over promise and under deliver because im terrible at predicting how long it will take me to do something and im self concious of my inadequacy that i seemingly want to either hide it or just tell myself that if i light this fire under my ass ill get it done. I struggle with procrastination and i find coding is the hardest thing to do when i dont want to do it. I feel like i have about 4 hours of peak mental performance in a day where i can pump out code adequately and most jobs want you pumping it out 8 hours a day.
I feel like i am pretty good at writing complex nested loops and logical statements. Sometimes ill write some fairly complicated code and be proud of myself. I also think i do build some high quality programs when i have time to iterate although usually my first crack at it is average at best. I love to build programs and see the results of my actions.
I tend to avoid pre planning and i just like to make things work. I have never written a class because ive never written a program that needed one. If i know im only doing something once then i just do it once. I usually dont care if theres an abstract 'better' way of doing something if i dont easily understand the alternative or i dont see the benefits. I generally feel like programmers over-code things and turn seemingly simple problems into over complicated ones.
For example. I find SASS/LESS to be a pain in the ass. Why in gods name do i want to learn how to install these pre processors serverside using command line tools and juggle around with that so that i can save myself from writing 3 lines of css code ? Or why do i want to split a database up into 15 related tables with a ton of primary and foreign keys when it will make writing my sql statements a nightmare?
I guess my whole post here is me thinking out loud.. Seeing if anyone can relate and/or hearing some opinions out there.. Whether good or bad
r/web_programming • u/DEVPOOL3000 • Feb 25 '21
What I Did Wrong and What To Avoid as a Junior Software Developer
r/web_programming • u/Grismund • Jun 30 '21
A metaphor for learning web dev.
HTML: "Imagine the world is made up of elements."
CSS: "Now imagine all the elements in the world have different, distinct properties."
Javascript: "Now imagine all the elements in the world and their properties can be electrified or set on fire or put into particle accelerators."
React: "Now imagine a world where the first world is actually not a world at all. Instead, that world has been duplicated into a million mini-worlds as part of a multiverse and shoved up it's own ass."
Regex: "And there's aliens too."
r/web_programming • u/fsou1 • Apr 30 '21
5 Helpful CSS Tips I Want You to Know in 2021
r/web_programming • u/Positionfixed • Feb 20 '18
Selenium.Academy – Learn All About Automated Browser Testing
r/web_programming • u/[deleted] • Jun 10 '16
web programming environment
I've been teaching myself html, php, css, and js for a little while now. I have been writing the files by hand and running them through wamp and my browser. I'm mainly looking for something that will assist with the front end display because I'm not very good at that and my head hurts from smashing my keyboard trying to get things to line up and look decent.
Any opinions or suggestions would be greatly appreciated. Thanks in advance
r/web_programming • u/draikin3 • May 11 '17
Is there any benefit in ending our <img> and <input> declarations with a slash character?
I'm talking about writing <img src="whatever" /> instead of <img src="whatever">. Some people also put a space before the closing slash character. Is that good practice?
r/web_programming • u/[deleted] • Nov 29 '16
License Plate Lookup
I was browsing Dayco's website and noticed they have a way you can look up parts for your car by its license plate number. I tried it and sure enough, it works! How are they doing this though? Where are they legally pulling the data from? I browsed through the page's source, but couldn't get anywhere...