Web Development

Flat file CMS like PICO without twig?

webdev: reddit for web developers - 13 hours 47 min ago

Hi all, Im looking for a cms like pico cms but without a template engine, directly php.

The reason is that I dont really know programming, so Id like to insert includes without the need to create my own plugins and so on, and also be functional enough to publish sites almost out of the box.

Basically im looking for something like picocms without the twig template engine, that allows me to play with simple php in article and theme files.

Does it exist? I looked around and it seems that everyone uses template engines, but Im a layman so better I ask for advice.

Thank you.

submitted by /u/iagovar
[link] [comments]
Categories: Web Development

Anyone experienced in Shopify app development? Want to create a pretty simple 'styling' app.

webdev: reddit for web developers - 13 hours 52 min ago


I want to create a pretty simple shopify app that just inserts a html and js code block to the page when the user types a code in the HTML field. Every Shopify app development tutorial seems way to complicated for this endeavor. I appreciate any tipps or resources. :)

submitted by /u/AlexanderHorl
[link] [comments]
Categories: Web Development

Since there is less documentation for Drupal8 I am writing blogs. I need some feedback.

Hey guys, I think there is always less to know proper documentation in Drupal so I've decided to write blogs on it by associating with a company that uses Drupal extensively I did two blogs already, I need some feedback from you guys, please let me know your thoughts thanks :) Here are the blogs:

  1. Implementing Open Graph Features Using Meta tag Open Graph Module

  2. Protecting Web Forms From Bots Using Captcha and Honeypot

submitted by /u/Syntax_3rror
[link] [comments]

Just created a blog using jekyll, is there a good alternative to disqus?

webdev: reddit for web developers - 18 hours 51 min ago

I've been looking online and I haven't found anything that looks too convincing. I see a lot of complaints about disqus with their heavy advertising and tracking. I would really appreciate your opinion on alternatives.

submitted by /u/xaksis
[link] [comments]
Categories: Web Development

[PHP] What's a good practice to handle form values?

webdev: reddit for web developers - 19 hours 30 min ago

What's a good way to handle form values instead of this:

$name = $_POST['name']; $email = $_POST['email']; $pass = $_POST['password']; $ipadd = $_POST['ipaddress'];

When I have huge forms, I don't want my PHP to be cluttered with a huge list of variables. Does anyone else know a better way to go about doing this?


submitted by /u/sparkks
[link] [comments]
Categories: Web Development

Web Languages?

webdev: reddit for web developers - 19 hours 47 min ago

Hello, I would rate my self a junior to mid-level web developer and I've been digging around trying to find an answer to this question and have received multiple types of responses to why does everyone (or mostly everyone) prefer JavaScript over PHP? I have found through some research it can't really be the speed, PHP7 has kinda sped PHP up to the standards of Node (in most aspects) so it can't really be speed? Or is it because Javascript is the more widely known language? Is there something I'm missing?

I'm sorry if this doesn't belong here I'll remove if not allowed. I was trying to look through the rules and haven't seen anything saying I can't ask this question.

Thanks~ Dose.

submitted by /u/DoseAu
[link] [comments]
Categories: Web Development

Adding hover event to all objects with a certain class...

webdev: reddit for web developers - Fri, 03/16/2018 - 23:59

I'm trying to add a hover event to all objects with a certain class, but keep getting errors. I copied my code below:

document.addEventListener("DOMContentLoaded", function() { document.getElementsByClassName("box").addEventListener("mouseover", function(){ //do stuff }); });

Can anyone see the problem? This seems like it should be relatively easy to do...

submitted by /u/ScratchTrackProds
[link] [comments]
Categories: Web Development

Portfolio icons not showing up on iPhone Safari.

webdev: reddit for web developers - Fri, 03/16/2018 - 23:15

Hello, I need a bit of assistance, I have a background in a div element that is showing up my icons that I made in Photoshop to show what my skills are. Well on Chrome, Internet Explorer, and Firefox on my desktop show up fine, as well as on my iPhone all those browsers show the icons only Safari is the only not showing them. I sent the link to a friend on instagram to test it and when I pull it up via the instagram app it shows up as well. If I search it up independently in Safari it refuses to come out and i'm a bit confused.

Here is my portfolio website (PS th website is not done, I just have been uploading the update files to test code but any feedback besides the safari issue would be greatly appreciated): armandolarios.com

submitted by /u/theleaderofebola
[link] [comments]
Categories: Web Development

Whats the best way to make this website - Wordpress theme or ground up development?

webdev: reddit for web developers - Fri, 03/16/2018 - 22:51

I am new to starting my own business, but am not toally tech illiterate. I will need someone to make this website for me regardless, but I've heard two schools of thought on how it should be accomplished. So what I'd like to do is describe what I want, and if you could, please inform me of which route I should go.

I'd like to create a classifieds website for people wanting to buy and sell their boats. I want the users to be able to create an ad for free, allowing one picture and a brief description, and the option to purchase a premium listing for $10 which will allow many pictures and unlimited description. I'd like the listings to be view-able chronologically, but also be able to search throw all the listings via brand/model, number of engines, etc...

I've heard I can do this with wordpress, and I've heard I'll need to hire out a developer. One costs under a thousand dollars, and one costs several thousand. If I get a wordpress site/developer, will I be able to ad advertisements and create a mobile app of the site, if need be? Which route should I go? Thanks for any help!

submitted by /u/jessejamess
[link] [comments]
Categories: Web Development

WP Site on Vultr VPS w/ ServerPilot. Postfix does not want to mail me e-mails (through g-mail MX) from contact forms, they just stay in the queue or don't get added.

webdev: reddit for web developers - Fri, 03/16/2018 - 22:50

I have 6 wordpress sites on my vultr VPS powered by serverpilot. They all have contact forms. All but one of them is working correctly and sending me e-mails from the contact form. But for some reason, the 6th one is being stubborn and won't work no matter what I try.

Since VPS doesn't come with mailserver, I route my e-mails through gmail (google apps) using MX records on the vultr VPS server. Doing it this way, the other 5 sites are working fine and I get the e-mails almost instantly.

(ETA: These e-mails are all same domain name as my wordpress websites. Which is why I'm using google apps gmail app to route the them to MX)

But for some reason, this 6th site does not want to mail me anything no matter what I do. I have the MX records set exactly the same as the other sites, but no dice. I can't figure out what the issue is. I looked at the SSH logs for postfix and they seem to hang up on "QUEUED" (whatever that means) and never leave the queue, or sometimes they don't get added to the queue at all.

I've tried restarting postfix on the server, but no dice there either.

Any ideas? Mucho gracias.

submitted by /u/TheDevilishAdvocate
[link] [comments]
Categories: Web Development

Thinking long term, should you freelance or expand your skill set in your spare time?

webdev: reddit for web developers - Fri, 03/16/2018 - 21:09

I work a full time job 9-5, Mon-Fri. I design and build WordPress sites.

I make enough money to pay a mortgage and all the bills, put away money and still have some left over at the end of each month. However, I also freelance on the side, doing some SEO / WordPress work.

It's nice to make anywhere from a few hundred to a couple thousand on the side each month. Money is money, and anything helps.

However, I also want to learn JavaScript. I want to get into front end development and be able to build web apps. Main reason being..

  • Job market's hot
  • Feel unchallenged at work
  • Lots of $$$$$
  • If I know JS, I become so much more marketable

Now, I only have so much time. I come home every night, and usually have 2-3 hours worth of side work to do. It's a big time suck, I don't really enjoy it, but money is money.

I'm wondering if it's worth it to just completely stop freelancing (which will be tough cause, I like money), and just full on learn JS.

Basically it's giving up the short term money, to expand my skill set and invest in myself long term - or, keep up the side work, and not really grow my skill set.

But like I said, I only have so many hours in the day.

What advice can you guys give me here?

submitted by /u/jdfweb09
[link] [comments]
Categories: Web Development

Squarespace vs. Wordpress Engineering: Difficulties in Setting Up My Dev Environment

webdev: reddit for web developers - Fri, 03/16/2018 - 21:02

So I'm conflicted and wanted to get the advice of those who know a lot more than me on this issue. I'm currently self-teaching to become a web developer. I know HTML/CSS well enough to get started I feel. I want to start out freelance and over time use my experience to get a job down the road or if the freelancing takes off, just do that. But I'm conflicted.

I'm torn between Squarespace and Wordpress. Hear me out lol because I know how popular WP is. That's what makes it appealing. The large, mature community of WP developers/engineers.

But for a newbie like me that's also intimidating and I worry the competition may not be worth it. Squarespace on the other hand has a much smaller community, byt is not open-source and that small community also means there's a shortage of tutorials and walkthroughs on how to work their system. Squarespace allows the selling of custom themes and websites too and the google search engine data suggests both platforms get somewhat equal levels of searches per month. So there seems to be a sizeable market for SP and of course there is for WP.

My dilemma is I don't know which is the better option. I have more experience with SP because I used to run a SP blog for 3 years before passing it off to someone else. But SP uses Javascript and JSON and WP uses Javascript and PHP. Two completely different languages (PHP vs. JSON)...so I have to choose one over the other. I can't do both.

I'm leaning to SP because there's a shortage of plugins and themes compared to WP, so there's the opportunity to make a lot more money with much less competition. That's my thinking anyway.

I need help building my developer environment. I want to set up Roots.io if I go the WP route, but I'm completely lost setting up the Squarespace environment lol. I think it's just a lot of information and I'm looking for a step-by-step process to follow to set it up. But first I want to get your opinions about which direction to go in.

submitted by /u/CryptoInvestor87
[link] [comments]
Categories: Web Development

How bad is it to have a website that requires JS enabled to be functional?

webdev: reddit for web developers - Fri, 03/16/2018 - 20:54

Hello guys.

I'm working on my pet project and right now and what I do is creating two versions of stuff like forms: one with JS which is more pleasant to use for the end users and one for people who have the JS turned off. I don't want some people to be unable to use my webiste because of that. Should I continue to do that or is it safe to drop the support and just put some information that this site requires JS turned on to function properly?

submitted by /u/Nitek
[link] [comments]
Categories: Web Development

What vim plugins do you use for web development?

webdev: reddit for web developers - Fri, 03/16/2018 - 20:00

Years ago I used pure vim like 4 months, now I'm working in web development (MERN) and I want to try vim again, I'm tired of the IDE's, can you guys help me, which plugins do you recommend me?

submitted by /u/GeeGeeks
[link] [comments]
Categories: Web Development