Web Development

Looking for a simple and easy CMS

webdev: reddit for web developers - Fri, 09/21/2018 - 11:39

I want to make a portfolio website and looking for a CMS. I never really used one, so maybe you guys can recommend one?

I want to use Foundation, twig, sass and javascript. The site will have an page with projects that contains some photos and text, same for the home and about page.

I dont want to store my content hardcoded in the HTML, but get it from a databse or something. So I can easily update or delete content. My main focus is on the front-end and not that much on the back-end (only the things that needed be done for the content).

Someone recommenden me Grav already, but I want to know what you guys think.

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

Dealing with authentication as a front-end web dev?

webdev: reddit for web developers - Fri, 09/21/2018 - 11:06

I have no issues connecting my SPA's to any open end APIs but when it comes to authentication I just get lost.

For example an application that comes in with a built API but requires Oauth1.0a authentication. I'm able to generate the token using postman but I just don't know how to set up the workflow to make my front-end SPA connect to the app with the token every time my SPA is being run.

I know the authentication flow has to be done on the back-end but being limited to JS and no understanding of back-end architecture I always end up getting stuck and not being able to do cooler projects.

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

Having fun with link hover effects

CSS-Tricks - Fri, 09/21/2018 - 10:39

A designer I work with was presenting comps at a recent team meeting. She had done a wonderful job piecing together the concept for a design system, from components to patterns and everything in between that would make any front-end developer happy.

But there was a teeny tiny detail in her work that caught my eye: the hover state for links was a squiggle.

Default link (top) and hover effect (bottom)

Huh! Not only had I not seen that before, the idea had never even crossed my mind. Turns out there are plenty of instances of it on live sites, one being The Outline. That was the one that was implementation that inspired the design.

Cool, I figured. We can do something like a linear background gradient or even a background image. But! That wasn't the end of the design. Turns out it's animated as well. Again, from The Outline:

Screenshot from The Outline article (source)

Whoa! That's pretty wild. I wasn't sure how to approach that, honestly, because animating any of my initial ideas would be difficult, especially for cross-browser support.

So, how did The Outline do it? Turns out, it's SVG. We can make a squiggly path and animate it pretty easily:

See the Pen Squiggle by Geoff Graham (@geoffgraham) on CodePen.

But how does that work with a link? Well, we can use SVG on the background-image property:

See the Pen Squiggle by Geoff Graham (@geoffgraham) on CodePen.

But that's kinda crappy because we can't really animate that. We need better values for that. However, we can inline CSS directly on the SVG in the background-image property. We can't simply copy and paste the SVG code into the property, but we can with some proper encoding:

See the Pen Squiggle by Geoff Graham (@geoffgraham) on CodePen.

And, since SVG can contain its own styles within the markup, the animation can be tossed right there in the background-image property, the same way we would do it with CSS in an HTML document head or inline CSS in HTML.

See the Pen Squiggle by Geoff Graham (@geoffgraham) on CodePen.

We can style it up a little differently, if we'd like:

See the Pen Link Effectz - Squiggle by Geoff Graham (@geoffgraham) on CodePen.

This is inspiring!

I have no idea if an animated squiggle makes for a good user experience and, frankly, that's not the point of this post. The point is that The Outline had a fun idea with a slick CSS implementation.

That got me thinking about other non-standard (perhaps even unconventional) hover styling we can do with links. Again, tossing aside usability and have a grand ol' time with CSS...

The Border to Background Effect

Maybe that same bottom border on the default link can grow and become the full background of the link on hover:

See the Pen Link Effectz - Background on hover by Geoff Graham (@geoffgraham) on CodePen.

Heck, we can even do something similar horizontally:

See the Pen Link Effectz - Horizotonal Background by Geoff Graham (@geoffgraham) on CodePen.

The Outlined Text Effect

Let's strip out the font color and leave an outline behind.

See the Pen Link Effectz - Outline on hover by Geoff Graham (@geoffgraham) on CodePen.

The Raised Text Effect

Another idea is to raise the text as if it grows out of the page on hover:

See the Pen Link Effectz - Raised text on hover by Geoff Graham (@geoffgraham) on CodePen.

The Font Swapper-oo Effect

This is so impractical that it makes me LOL, but why not:

See the Pen Link Effectz - Swap font on hover by Geoff Graham (@geoffgraham) on CodePen.

The "Turn it Up, Chris" Effect

Sorry, Chris. You know you love it. ❤️

See the Pen Link Effectz - Turn it up, Chris! by Geoff Graham (@geoffgraham) on CodePen.

What can you come up with?

Have ideas? Let me know in the comments and I'll toss 'em in the CodePen collection I've started.

The post Having fun with link hover effects appeared first on CSS-Tricks.

Categories: Web Development

Front-end internship at a top tier tech company vs Web integrator permanent job. Would you switch?

webdev: reddit for web developers - Fri, 09/21/2018 - 10:27

Hi r/webdev,

I might find myself soon deciding whether I want to keep a stable, well paying job that I don't like, or go do an equally paying internship for 4 months in the field that I want to work in. Web development.

I wanted to hear the opinion of developers already in the field or from recruiters. I think I already know what I'm doing, which is taking the internship if it's offered. But what I'm asking is, am I making a dumb mistake? Would the internship at this place help me get another job as soon as the internship is over?

For some context, the city this is all happening in is Montreal. The company is a major e-commerce platform based in Canada. And I'm a self-taught developer whose kinda comfortable with React and it's ecosystem ( Router/redux/Context Api/styled components etc). Comfortable enough to build a few websites from the ground up ( not tutorials). But I'm still a junior though.

What would you guys/gals do? The alternative would be for me to sit tight and keep improving until I get a long-term front-end job. But I also feel like the internship would look pretty good on a resume. Especially with this company.

Any opinion is welcome! Thanks

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

NFC/BLE/RFID tags readable by tablet browser

webdev: reddit for web developers - Fri, 09/21/2018 - 10:26

Hi,

I'm looking for some "smart cards" that are readable by a tablets browser, preferably with built in hardware.

This is going to be used for showing customized information based off each individuals cards. Like events happening that will interest x user.

However I'm having a hard time finding some information as to what "cards" can be easily read by browsers on iPads or Android Tablets.

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

Weekly useful Drupal things to know thread

Drupal - Open Source Content Platform - Fri, 09/21/2018 - 10:08

What's a useful tip or technique or tool (or anything) that you picked up and think others should know about?

(Check out the weekly post schedule in the sidebar)

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

Beginner Questions - September 21, 2018

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

If you're new to web development and would like to ask experienced and professional web developers a question, please post below.

Etiquette
  • Remember, that questions that have context and are clear and specific generally are answered while broad, sweeping questions are generally ignored.

  • Be polite and consider upvoting helpful responses.

  • If you can answer questions, take a few minutes to help others out as you ask others to help you.

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

Any prereq's to becoming a Javascript/PHP developer?

webdev: reddit for web developers - Fri, 09/21/2018 - 08:58

There's a company called Mediavine that hires fully-remote javascript/php developers. I'd really like to get the job one day.

I am a blank slate. I've made a few word press sites but really don't have any coding experience. For someone like me with this goal in mind, what's the best path for me to take to reach my goal?

Thanks!

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

Databases per user in node

webdev: reddit for web developers - Fri, 09/21/2018 - 08:19

Hey everyone, hope this isn’t a dumb question but it very well could be. I am using MongoDB and I’m looking for a way to break my db into chunks for each user. Right now the only thing I can think I is create a portion of my mode with tons of id’s if the items they own but I’m wondering is impossible to just have a db that is created for each user

For example a user adds their own todo and its saves in the db but not as an Id in their todo field instead stored just as a todo which I can do a mongoose.find({}) and will get all of that users but no one else’s.

Sorry if this is hard to understand, and thanks in advance.

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

Help debugging AngularDart build

I'm working on a hobby AngularDart app, and have been developing/testing using webdev serve, which works just fine. Just tried webdev build (which uses the dart2js compiler), and I'm getting a dependency error: "Unable to find modules for some sources..." and then tells me

Please check the following imports: `import 'package:sb_angular/app_component.template.dart' as ng;` from sb_angular|web/main.dart at 2:1

I'm totally new to this, how do I figure out what the missing dependency is? I can't find any error log or message pointing to a specific file. Is there any way to get more helpful information out of the build error?

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

Implementing search on Node.js + MongoDB

webdev: reddit for web developers - Fri, 09/21/2018 - 07:25

Hey guys!

How do you go about implementing search on a Node.js, Express, MongoDB app? I have been reading a few resources and am sort of confused wether I should use Elasticlunr or native mongoDB search. Should I go client-side or server-side?

The search I'm trying to implement (on a job board app) has a few option to filter out results: searching for any keyword, or searching for particular location, regimen, required skills etc.

I'd like to know what would be your process and, if you could possibly shoot one or two resources to help guide me, I'd be grateful.

Thank you all!

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

What options are there for Javascript open source e-commerce frameworks?

webdev: reddit for web developers - Fri, 09/21/2018 - 06:34

I have just began the building of a new e-commerce platform for a client.

The website needs to be a straight forward online shop with various products and a customised front end.

I don't want to reinvent the wheel when it comes to e-commerce. Building a whole bespoke backend infrastructure (linked databases, admin log in, stock for products, payment portals etc) for such a simple e-commerce concept seems like overkill.

However at the same time I don't want to use platforms like Woo-commerce, shopify or squarespace because they are extremely bulky and limiting pieces of software.

What options are there for web developers creating new e-commerce projects that allows the developer to focus on the look and feel of the product with the backend sorted by the framework? I would prefer a modern node.js framework.

I've done some research and was surprised that there were so few options where you didn't have to pay high fees.

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

Honestly gulp guys, fix your dependencies!

webdev: reddit for web developers - Fri, 09/21/2018 - 06:28

Like every gulp module I install via npm, and that are not some hardly used ones but common stuff like gulp-copy, pours a load of vulnabilities over me, where I am required to fix most of them by hand because they use a stoneage-old version of a dependency. So I walk down the path and compare versions in the package.json to the latest on npmjs.com and install everything. This is a pain in the ass.

The whole npm ecosystem appears to me like a wild canopy of dependencies and since they all come with some old possibly breaking version in their package.json I have like x copies in x node_module directories of every parent module.

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

Help me understand correct project structure

webdev: reddit for web developers - Fri, 09/21/2018 - 05:43

Hello

I am currently facing a project for a client which will include a catalog website of some products.

I want to do backend using django (i feel comfortable with python) and frontend with Vue, which seems to be popular nowadays.I have done 1 project with ASP.net where front and backend seemed a little bit more "stuck together".

Should the backend and frontend be completly seperated?

Should the backend provide an API for the frontend to use?

What should the project tree look like?

I am getting a little bit confused :s

Thanks in advanced

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

I'm looking for a post with questions a web developer asked his clients to get a clear picture of what they wanted

webdev: reddit for web developers - Fri, 09/21/2018 - 04:59

I don't know if it was posted here or in another web dev/web design subreddit. I thought I saved it, but apparently I didn't.

It was basically a developer or designer that posted a list of questions ('would you prefer this or that' type of questions) so he would know what the customer wanted. The post is over 6 months old if I remember correctly.

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

Building Web Apps in Dart without a Framework?

I've created a couple of Angular apps using Typescript, but I really want to start fresh and build an app without a framework. While I think frameworks are great if you are working with teams or have to build stuff for clients, as an independent developer working on my own projects, I'm really starting to dislike the "blackbox" and opinionated nature of frameworks. So my idea is to fork a minimal view and router library and start customizing them to my own preference and create my own person type of framework for my projects.

Would using Dart be just as good as Typescript for this kind of project? Are there any difficulties as far as compiling to js? Would there be any major file size or performance differences?

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

Pages