Web Development

Preferred CSS Property Order

webdev: reddit for web developers - Wed, 01/17/2018 - 09:42

Sometimes when I’m working with CSS the order of the properties seems cluttered and disorganized.

Is there a preferred arrangement of properties? Is it a personal preference? Would alphabetical order work? I would love to hear your thoughts on this.

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

phpmyadmin on nginx always redirect into root folder after login

webdev: reddit for web developers - Wed, 01/17/2018 - 09:37

Hai,

i'm confuse about nginx and phpmyadmin (i'm new with nginx). This my first time use Nginx and try to use phpmyadmin to access my database. I follow this tutorial and i use php7.2 (i check on Ubuntu) : http://valuebound.com/resources/blog/lemp-installation-nginx-mariadb-php-and-phpmyadmin-ubuntu-1404-in-4-steps (my root folder on /var/www/html ).

I create symlink and i can access phpmyadmin page, but after login, it redicet into root folder "localhost" not "localhost/phpmyadmin".

someone also have same problem like me and still dont get answer : https://stackoverflow.com/questions/42245324/phpmyadmin-redirects-to-server-domain-on-login.

So, is this normal ?

if not, how to fix this ?

after login i need to add manual "phpmyadmin" after "localhost", but still it's weird.

thanks for your help.

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

Any idea why there is a white space at the bottom under the footer..?

webdev: reddit for web developers - Wed, 01/17/2018 - 09:29

All other pages use the same css and they do not have this issue. Any suggestions?

http://beacon-ins.com/contact-beacon-insurance-alliance.html

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

You are writing a web app which still should be running in 10 years...

webdev: reddit for web developers - Wed, 01/17/2018 - 09:20

...what programming language and frameworks do you go for?

I find this an interesting discussion and would like to hear your opinion, thought and arguments.

  • Architecture:

I would go for a Backend REST API and render HTML on the client side rather then serverside. I feel like this type of architecture is the best in terms of scaleability and also is nicer to maintain, then serverside html rendering with for example PHP.

  • Backend:

As a programming language I probably would go for Java. I believe Java has proven itself and will very likely still be used in 10 years from now. However instead of using modern Framework like Spring Boot I personally would try to go without any Framework, but look into how Frameworks solves problems and try do it in a similiar way. I feel like Frameworks very easily get out of favour and I do not want to migrate my app multiple times because of a Framework switch. Furthermore I will understand my code better instead of relying on the Framework to handle certain aspects for me.

I was also thinking about using NodeJS or Kotlin instead of Java, because I like simple code and in Java solving certain aspects can get complex very easily. However certain aspects like testing are solved really nicely in Java, which I can't really say about NodeJS.

  • Frontend:

On the Frontend I would go for vanilla Javascript for similiar reasons. Javascript Frameworks get out of favour even faster (https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/) and even if you stick with a particular one, version upgrades can bring huge changes (angular -> angular2+) for example. Modern ES versions + transpilers really make it a lot easier to write nice Javascript code and in my opinion the only thing Frameworks are important for are DOM rendering.

Looking forward to your arguments and opinions

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

It's Drupal Contrib Wednesday! Post recent contrib module likes/dislikes

Drupal - Open Source Content Platform - Wed, 01/17/2018 - 09:08

Have you tried a new module or theme recently, or do you have a favorite that nobody seems to know about? Tell us what you like or dislike.

(Check out the weekly post schedule in the sidebar)

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

Tips for getting started with webdev?

webdev: reddit for web developers - Wed, 01/17/2018 - 09:06

I am a fairly seasoned developer but have NO HTML/CSS/JS experience, however, I am starting to learn for some side projects that I would like to work on. I see there are lots of different frameworks for making sites. I am a HUGE fan of very minimalist, white, elegant web pages like my blog https://monteledwards.com

Outside of understanding the basics of web dev, are there any particular frameworks or other technology that helps create websites quickly but clean? Any tips appreciated.

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

Looking for an in-browser photo editor.

webdev: reddit for web developers - Wed, 01/17/2018 - 08:37

I am considering developing a web application for designing images with some text. A quote maker, if you will. The first step would be to provide some text, next pick the required dimension and finally, a photo editor to choose the background (could also be an image uploaded by the user), change the font or color of the text, a few filters maybe and that's it. An ideal example would be quotescover.

The obstacle I'm facing is, I can't seem to find a photo editor for that. There are a bunch of tools for image manipulation like Creative SDK and phototEditor SDK but they are rich in features I don't need. I want a lightweight photo editor with some limited features, the tool used by quotescover is just perfect for what I need.

It would be really helpful if you guys could just point me towards the right path.

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

Do you use your classes for css, data-attributes for javaScript?

webdev: reddit for web developers - Wed, 01/17/2018 - 08:16

I think this approach helps us which part belongs which language says this article.

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

Seeking Junior Position, Should I Only be Applying for Junior Listings?

webdev: reddit for web developers - Wed, 01/17/2018 - 08:08

I'm looking for a junior front end developer position in either Denver or SLC, where I would think there would be lots of opportunities. However, I've only found a handful of openings, for which I've applied. I'm primarily looking at Lensa and Ziprecruiter. Should I also be applying for jobs that are not specifically 'junior'? Or are there other job boards specific to development that I'm missing?

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

Code Snippet Management

webdev: reddit for web developers - Wed, 01/17/2018 - 07:50

Hello guys,

I'm certain that everyone of us knows the feeling of stumbling upon a solution for a certain task where you're just telling yourself that this is it. The best way to do it. Kinda complicated at first, maybe easy to forget, so you store it away. You create a separate file and save it somewhere in a folder. You do that a lot. At the end of the day you have 10 new files in three new folders. That solution is super disappointing for me and definitely not satisfying.

I looked through different threads here on reddit already. There are a bunch of people using Gist for that purpose but I'd like to have some sort of notebook.

I am currently considering Quiver or SnippetLab. Anyone else got any input for me?

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

What are the file upload library alternatives for large amounts of files?

webdev: reddit for web developers - Wed, 01/17/2018 - 07:05

I'm looking for alternatives for file upload libraries that supports uploads of folders with tens of thousands of files.

I don't need any advanced UI showing the selected files and the progress for each individual file. Counters showing the total progress of files uploaded, files left and the current speed is enough.

The examples I've found of uppy, jsFlow/ngFlow, dropzone, pUpload and fineuploader all get slow when adding the files.

I'm looking for something more like the web upload of Dropbox, Google Drive or Mega where the upload starts immediately without slowing down the browser and there is a simple counter showing how many files are left.

Mega has its source code on Github but is specific for their needs and cannot simply be used as a library. Currently my plan is though to take the ideas of the relevant parts from this and build a more general file uploader.

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

Uploading my test site

webdev: reddit for web developers - Wed, 01/17/2018 - 06:56

Hey guys, i have finished my small test site but now im stuck on uploading it.

the tutorial im using suggests using acp (i think) but seems really outdated and i cant find a link to a recent version of it, what ftp programs does everyone use? thanks guys

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

I heard scroll-jacking is generally bad. So naturally I made and published a react component that makes scroll jacking easy!

webdev: reddit for web developers - Wed, 01/17/2018 - 06:00

link: https://github.com/horizon0708/react-scroll-jacker

React Scroll Jacker is a component that makes your next scroll-hijacking easy! Instead of using scroll to scroll the page like a sane person, this component lets you use scroll to transition between React elements. Users` hijacked scrolls will return after they spin their mousewheels as many times as you have arbitrarily dictated.

Now sit back and enjoy sweet tears of UX designers and users.

By the way, if you guys have seen any scroll-jacking that actually added to the user experience, please do share :)

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

Getting my foot in the door as a junior front-end web developer?

webdev: reddit for web developers - Wed, 01/17/2018 - 05:05

Hey all, I've been lurking here since the start of the new year and figured I would finally make a post about the one thing that has been bugging me.

A little background:

With the start of the new year I became committed to gaining a new skill, and I chose web-development. I dived in head-first, and have absolutely fallen in love with it. Finally learning something new and useful, and applying that knowledge, has given me a feeling of satisfaction I've been missing since I graduated high school.

I think I've finally found the career I want to get into, but to be honest, I have no clue what I really need to get my foot in the door. I don't have a degree, but I am willing to spend any amount of time to lear anything that could help me. I'm not looking for resources to gain knowledge (already have a fair few resources, but any suggestions would be appreciated), but just a solid answer on what I should learn or do to get into the industry.

Any ideas or advice will be greatly appreciated!

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

What an amazing way to start our relationship Amazon.

webdev: reddit for web developers - Wed, 01/17/2018 - 04:56

Seriously, how does that happen?

The single most important page on their website (payment and security related) has half of the text in goddamn German.

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

Pages