[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/wdg/ - Web Development General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 27
File: 1431344258923.png (747 KB, 824x553) Image search: [Google]
1431344258923.png
747 KB, 824x553
Death to PHP!

OLD THREAD >>54104815

> Discord
https://discord.gg/0qLTzz5potDFXfdT

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
http://www.freecodecamp.com/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

> How to get started
http://www.youtube.com/watch?v=pB0WvcxTbCA
Good videos on the channel too
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
>>54133832
Can anyone help me with user groups in Django?
I'm trying to make 2 groups with their permissions, one can view and the other can view, delete, edit.
How can I do it programmatically instead through the admin interface?
Total noob here
>>
File: 1455297682398.gif (4 MB, 444x250) Image search: [Google]
1455297682398.gif
4 MB, 444x250
C is king.
>>
>>54133832
So I've really been into JSON and XML lately. What are some cool sources I can use to practice using those things for real? Maybe there's a website that dumps upcoming concerts in XML format? Anything like that?
>>
>>54134054
Don't use XML. But if you really have to, danbooru, for example, has both a JSON and XML API.
>>
>>54134098
I can't. I'm not in charge of creating the design, only implementing it. I do get a little bit of wiggle room, but generally I have to try to stick to the design depicted by another team-member. I've told them images and videos are costly, but this is still the design they chose.

And music. Good lord. I've explained nobody does music on websites anymore, and the designer actually agrees, but the big-boss literally will not take no for an answer, so even though we both agree its a bad idea, we have to do it anyway.

And before you tell me that I need a less-ridiculous boss, recognize i'm not really in control of this. Big-boss pays the bills. So I have to do as I'm told. (I call this individual "big-boss" because she's like 3 tiers above my head on the corporate ladder, designer is 2 tiers above my head, and "boss" is 1 tier)

>>54134108
web-page: https://www.mintjammusic.com/home
site-breakdown: http://tools.pingdom.com/fpt/#!/dAoghG/mintjammusic.com
>>
>Death to PHP
Hell yeah
What's the point in using frameworks like CakePHP? This shit is slow as hell, and I think it has a mem leak somewhere because it's always exceeding the memory or execution time limit
In general using a framework just used up more time than to just actually get down to coding. I'm all up for things like rails, but this is annoying
>>
>>54134348
If you're working on a personal project for fun, then use whatever you want. But PHP is widely used professionally so there are a lot of job opportunities with having that under your belt
>>
>>54134262
7.9mb pageload. One of the worst I've seen.

Let's throttle my bandwidth in chrome dev tools and simulate the mobile UX...

1.1 minute page load time on a 3g connection, and the page layout is too big to display on an iPhone 5 screen. And you're going to continue wasting the users mobile data by streaming shitty music to them continuously...

Tell your boss that mobile UX is actually important. Mobile has overtaken desktop as an internet platform, saying "mobile internet" these days is almost as dated as saying "color television". Try using that as a good reason to get rid of all this crap. Also get a ServiceWorker on there so you can cache what assets you do send to the client so at least the second visit won't be aids.

Failing that, just kill your boss.
>>
>>54134661
Not the guy you're replying, but it makes me think I really should make my website mobile-friendly. I've never used my phone to browse the Internet (I don't understand why so many people do it, if they're home) so I've never cared enough, but this gotta change.
>>
>>54134262
>she
Should have known.

Mute should persist through refreshes.Your visitors are already going to hate your site. Don't make them mad too.

What are the base64 blobs in the head?

This is minimal, but might as well use an HTML minifier to strip whitespace and comments.

Turn it into a SPA. Have a div wrap everything that changes between pages and fetch its contents as pre-rendered HTML through AJAX.

All I can think of, for now.
>>
>>54134720
Normies don't spend all day at home browsing a tibetan yak butter churning enthusiast board and playing hentai dating games. They use their pocket computers to look stuff up instead while watching sportball on TV.
>>
>>54134787
ugh
>>
>>54133552
>suit-and-tie web guy
>not using suit-and-tie enterprise technology like .NET

> I want money. I want United States Dollars.
Then you should be using the script kiddie's favorite attack vector, Wordpress.
https://www.reddit.com/r/freelance/comments/35lpsc/i_charge_30k60k_for_wordpress_websites_with_a/
>>
>>54134743
>What are the base64 blobs in the head?
Ugh. I know. That one is my bad.

At first this website was ajax based. Everything was happening through XHR. Then I realized that was retarded.

So instead of making XHR to seperate scripts for the data, I just turned the data into a base64-encoded data-uri. So now the functions make requests to this data-uri instead of to a script.

Basically I was too lazy to re-engineer the whole page (and I had deadlines to meet), so I took the easy way out by putting the data-uri in my superglobal, and just swapped the url for the variable in my $.get() requests.

Retarded, I know. I'll fix it eventually.

If you want to play around and the console and figure out what I was doing, just type MJM or mjm_ .
Pretty much everything i've done will appear in the pop-up auto-completion diag that the JS console has.

mjm_ are little functions
MJM_ are big functions or constructors or me being lazy with the home-video control mechanism

and MJM. is where most crap is stored temporarily.

I've only been doing javascript for 3 months. Give me a break. I'm still learning.
>>
>>54134840
Yea. Use wordpress to make a quick buck.

Then get hacked by some kid, and have universal suing my ass for delivering an insecure product.

I mean, my site probably isn't hackerproof yet anyway, but at least i'm not making it easy as shit for the hackers. I've seen some of the wordpress exploits. Very scary shit.
>>
Those of you with real web dev jobs:

> how many people in your office
> % minority employees
> male:female ratio
> how prevalent is the SJW/LGBT inclusion meme
> open office plan?
> foosball/ping pong table?
> flexible hours?
> did your company provide equipment or buy you what you wanted?

Thanks anons
>>
What are good beginner books for JS and HTML?
>>
>>54134927

> approximately 20 people (I don't know everyone yet, I keep to myself. I only know 3 people there. the 3 people I report to.)

I think we might have one Hispanic guy, and one black guy. Everyone else is white.

approximately 50% male, 50% female. Maybe 70% female. I really need to get to know my colleagues.

> how prevalent is the SJW/LGBT inclusion meme
0%. They probably don't even know what this is. And honestly, I believe this is a good thing. These people are already weird/eccentric enough, we don't need to bring sexual shit into it

> open office plan?
Opposite.

> game tables?
No. But we've got movie posters.

> flexible hours?
Only for me. I'm the web guy.

>equipment provided
They paid for like 1 thing. I had to buy literally everything else. I am still awaiting reimbursement for the VPS I bought them. And I'm still waiting for them to pay for the 4 months of work I've done for them. I've made just $60 to date. (before expenses)
>>
>>54135044
sue them
>>
>>54135044
lol so u work for free? would u like to be my slave?
>>
I did an internship for a year as a web developer, but I still can't find any work because "I lack experience". How can I get more experience if I can't land any jobs?
>>
>>54135044
I asked for people with real jobs
>>
>>54135337
how dense are you? make projects n put em in ur portfolio, bam experience!
>>
>>54134927
>22
>14%~ of female specimens
>non-existent
>Yep, open office
>Nothing of that kind
>Quite flexible as long as you work the total number of hours expected for the month
>They buy the stuff we need but we can't decide anything about the kind of product. Eg: My mouse had broken, so they bought a new one. I asked for a wireless one, they sent the cheapest Genius available.
In contrast, my girlfriend works at Google's helpdesk for My Business. When she asked for a gaymur headset, they bought the exact same she asked for.
>>
>>54135317
>>54135340
Supposedly I've got 5 grand coming my way.
Supposedly big-boss has finally put some pressure on the finance department, and I can expect to receive a check in 15 business days.

I know i'm not going to tolerate going unpaid for much longer.
>>
>>54135431
Five grand for four months of work? This is a part time job right anon?
>>
>>54135354
I have a fancy showcase of projects that is fully animated with 15 different sites on it.

Should I just make up non-existent companies and make websites for them?
>>
>>54135453
Worse. Contract.
Neither of us expected it would take me this long to get it done. (I didn't anticipate the work-load, plus I was really, really rusty on web-dev, this was first project in months, and I was never any good in the past) (and I am still learning web-dev)

Also. They change their mind about crap on almost a daily basis.
>>
>>54135467
What skills do they demonstrate beyond HTML and CSS?
>>
File: nopdf.png (297 KB, 1565x534) Image search: [Google]
nopdf.png
297 KB, 1565x534
Anyone have experience with phpwkhtmltopdf? When I use the code below, I get a popup dialog with the "Open with" and "Save File" options as should be expected. If I open with Adobe Acrobat Reader or whatever the pdf shows up just fine. If I "Open with Firefox (default)" I get the non-header jiberish (pic related). I guess $pdf->send('test.pdf'); is for "download" and $pdf->send(); is for "inline browser display". If I use $pdf->send(); I get the jiberish too. I understand that the headers aren't being set properly, but I'm not sure what to do about it. Documentation on this matter is very limited. I would like to be able to open the file in a browser using the popup download dialog. Can anyone clue me in to what I am doing wrong?

$pdf = new Pdf();
$options = array(
'margin-top' => 0,
'margin-bottom' => 0,
);
$pdf->setOptions($options);
$pdf->addPage($path);
$pdf->send('test.pdf');
>>
>>54135467
link? let me tell if its ok
>>
>>54134949
Bump
>>
>>54135568
fucking google you stupid fucking niggerfaggot
>>
>>54135530
do this:
<?php
header('Content-Type: application/pdf');
echo(file_get_contents("/var/www/html/legalstuff.pdf"));
?>
>>
>>54135589
I value /g/s opinion
>>
>>54135530
fucking lol @ php programmers just set the Content-Type header to application/pdf and Content-Disposition to 'attachment; filename="what ever the fuck.pdf"'

php community is so full of shitters that dont understand what they're writing
>>
>>54135644
If you use content-disposition, it will force a download.

He just said he already has that part covered. the problem is when he tries to embed it in the page.

Not all of us are clueless. My shit works. (well, most of it) And honestly, it seems the people that hate on us php developers tend to TALK a lot about how they hate us, but I rarely see them posting about what they're working on.

Makes me think maybe they're just a bunch of wannabee faggots that pretend they're better, but are actually not even doing any of their own projects.
>>
>>54135520
Web design skills.
>>
>>54135520
Mostly Drupal (custom made modules) and random jQuery libraries.

I seriously have no clue on how to improve myself by just doing free sites for friends. I know about caching, SEO, responsive design, hosting, newsletter and mailing services, backups, AJAX, web design, know how to effectively use PHP (I even fucking memorized which fucking print function is the fastest based on the output), wrote user manuals, took back a site which was hijacked by Russian hackers. What else do those HR sluts want me to know?
>>
>be web dev for years
>brother needs a website for his new business
>looking to spend $2000-ish
>ask if he wants me to make him one for free
>says no
why?
>>
>>54135903
Send him over here anon. I'd gladly take those 2k for a hacked-together wordpress site
>>
>>54135598
$path is a path to a web page I want to turn into a pdf. I am trying to turn a .php html page into a .pdf file since that is what wkhtmltopdf does. In your example the file you are echoing has a .pdf extension instead of a .php extension. Am I missing something?
>>
>>54135968
Try this, anonkun
$pdf = new Pdf();
$options = array(
'margin-top' => 0,
'margin-bottom' => 0,
);
$pdf->setOptions($options);
$pdf->addPage($path);
header('Content-Type: application/pdf');
$pdf->send();
>>
>>54135644
My $path is a dynamic path and looks something like /print/var1/var2/var3/ since I am creating different pdfs dynamically based on the vars. I can't just "set the Content-Type header to application/pdf" at the top of /print/index.php. wkhtmltopdf is supposed to print a pdf of rendered html. Where exactly am I supposed to set the Content-Type?
>>
>>54135903
bro doesn't wanna acknowledge you're an expert and better than him somehow
>>
>>54136067
The content type needs to be set on the dynamic $path I am generating, not the file that is generating the $path.
>>
>>54135530
>>54135598
I whipped up a quick example. This screenshot shows the page on window 1, the page if you had clicked the button on window 2, and the php and html code on windows 3 and 4
>>
>>54135644
>/wdg/
>ask web dev question
>lol you're an idiot
FUCK YOU you smug piece of shit anon
>>
show me the most annoying website design
>>
>>54136067
>>54135968
>>54136087
>>54136197


Oh. Oh man. Sorry. I totally missed what you were trying to do. I thought you were just trying to embed a static pdf.

But you want to convert a page to pdf.

....

You could try just assembling the PDF by hand, instead of trying to convert.

I found a js library. https://parall.ax/products/jspdf . Looks promising. Or you can continue playing around with wkhtmltopdf()

I've never done what you're trying to do.
>>
>>54136197
is 'common_ports.pdf' an actual pdf, or a php file?
I am trying to use wkhtmltopdf to create a variety of different pdfs dynamically from a php file based on the vars that I pass in the $path. Do you understand how wkhtmltopdf works?
>>
>>54136274
http://adventurega.me/bootstrap/

Related:
http://html9responsiveboilerstrapjs.com/
>>
>>54136274
http://www.penguin-empire.com/
>>
What's the best way to learn Express.js
>>
>>54136287
There are lots of pdf libraries. I am trying to use wkhtmltopdf via the phpwkhtmltopdf wrapper.
https://github.com/mikehaertl/phpwkhtmltopdf
>>54135530
> Anyone have experience with phpwkhtmltopdf?
>>
Maybe this is a silly question. But my php for wordpress themes only consists of including/requiring php files. And pasting standard information from wordpress like categories and tags (like in the post category cars the php file menu-cars.php and banner-cars.jpg get loaded).

Do I still need to sanitize this data? It seems fairly safe if you dont use the input of visitors.
>>
File: disdain.jpg (42 KB, 400x462) Image search: [Google]
disdain.jpg
42 KB, 400x462
How to add user groups in django but not through admin interface or shell?
I read something about setting up a managment.py file or something like that
with post_syncdb signal but I don't know too much about that.
I'm desperate, pic so the post gets noticed desu senpai.
>>
Is ember shit or not?
>>
>>54136583
ember is good
>>
>>54136303
Its standard and vanilla but the normies will eat that shit up. So if I'm getting contracted to make something I wouldn't mind handing them that or a hacked together wordpress

But you'd never catch me making that shit for something I care about.
>>
>>54134541
I know, but cakePHP and frameworks in general
I don't think they are worth it
I have little experience, I've coded a website with pure PHP, made a custom component in Joomla and now I'm working with a project that uses cakePHP, and I don't see a lot of advantages to it
The database/model layer of abstraction, for example, is simply not worth it. There is this learning curve to properly declare your models and use the interface, and the advantage that the code is independent from the database type is simply not true, you always have problems when you have to change the database.
So yeah, fuck PHP frameworks, I don't see the advantage in using them rather than simply programming from scratch
>>
What's that website that was recommended a thread or so ago for getting a job?

Think it started with a K.

They pay 15 an hour for a few months then you get full-time.
>>
>>54133832
1st year in CS, I NEED to get a job, either its going to be flipping fries or doing manual labor, I know some CSS and HTML, as well as Java, C# and Python, also general linux knowledge.
I got some "bootcamp" at udemy about fullstack web dev shit but was about 90% frontend.

Anyway, is it good strategy to get into the field as front end dev, and later on move to backend or fullstack, before graduating and actually going to /dpt/ ????

Also what are the requirements of a front end developer, yeah they ask about javascript, angular, node.js, css html shit etc, but when I got to the interview and they ask me what I can do ( and I can pretty much make a whole site from scratch, database, everything) what should I tell ? Like what are the expecting skills from a 19 years old freshman that has no experience whatsoever ?
>>
>>54136993
go flip burgerz
>>
>>54136993
Go ask /dpt/ they'll give you lots of helpful information and encouragement
>>
>>54137028
>>54137047
Sorry guys, dindt mean to be rude, but really ? What are the bare minimum requirements for front end dev ?
>>
Anyone have any suggestions on the best, simple, JS library for sprite animation and simple sound? I really don't need a full blown game library, I just want to script a sprite to move around and occasionally make a noise.
>>
File: 1374258517253.gif (2 MB, 300x241) Image search: [Google]
1374258517253.gif
2 MB, 300x241
>we'd like to call you in for an interview!
>expect it to take 2.5-3 hours as you'll be meeting 3 different managers

Is this normal?
>>
>spend 2 days fixing npm package so I can even install it
>it finally managed to install itself without shifting the bed
>it fucking works
>mfw

>>54134927
>Those of you with real web dev jobs:
>> how many people in your office
I'm pretty sure we're over 100 already. Even more at the HQ. At least half of them are working on mobile apps though.
>> % minority employees
None
>> male:female ratio
Somewhere around 2:1, most devs are men. My team is 1:1
>> how prevalent is the SJW/LGBT inclusion meme
Doesn't exist
>> open office plan?
Semi open, usually team per room
>> foosball/ping pong table?
Multiple
>> flexible hours?
Yes, with remote possibility
>> did your company provide equipment or buy you what you wanted?
Everything provided for. I have brought my own keyboard and headphones because autism.
>Thanks anons
Np

>>54137353
No, you should run away as it's going to be micromanaged hell.
>>
File: koa.jpg (156 KB, 560x764) Image search: [Google]
koa.jpg
156 KB, 560x764
WHERE MY JS HIPSTERS AT #KOA #ES7 #GRAPHQL
>>
>>54134927
> how many people in your office
6, but it's the smallest room
> % minority employees
Like me and 1 other dude
> male:female ratio
Programmers: 90% male
Project managers: 50/50
> how prevalent is the SJW/LGBT inclusion meme
Not at all
> open office plan?
yeah
> foosball/ping pong table?
not that I'm aware of
> flexible hours?
yeah
> did your company provide equipment or buy you what you wanted?
I haven't enquired
>>
File: 1387409522708.png (226 KB, 800x600) Image search: [Google]
1387409522708.png
226 KB, 800x600
>>54137604
>micromanaged
>mfw half a dozen reviews on glassdoor said the same thing
>>
>>54136800
>I have little experience
>fuck PHP frameworks
>>
Ask a /wdg/ veteran anything.

Started out in 2006 doing simple HTML, CSS. Went thru LAMP-stack hell, worked to Wordpress customization hel, was on the Ruby on Rails train a few years, did some "cloud architecture" things (AWS/Heroku) after later on, did some enterprise-ish-C# gigs, currently on a Python/Django/AngularJS job.
>>
>>54138776
Why Django and not Flask?
>>
>>54134949
Eloquent Javascript (free online, the first js book you should read)
Javascript: The Good Parts (overrated but good)
Javascript: The Definitive Guide (the js bible)
Professional Javascript for Web Developers
Secrets of the Javascript Ninja
Javascript Enlightenment
Speaking Javascript

find a book that teaches html and css at the same time so you are learning both structure and styling
>>
>>54138776
>tfw on a Python/Django/AngularJS job too
Why is this so comfy?

>>54138805
>Flask
>professional world
>>
>>54134927
>> how many people in your office
8 devs in office, 2 bosses living away and mostly remoting
>> % minority employees
0, what is normal in my country
>> male:female ratio
1 female out of total of 10 people
>> how prevalent is the SJW/LGBT inclusion meme
Nothing indicates that anybody gives any fucks.
>> open office plan?
In 2 rooms with tables side by side.
>> foosball/ping pong table?
Nope, pretty much nothing beyond tea/coffee
>> flexible hours?
Not specifically said, but a lot of leeway, especially bosses not being around most of the time. Also remoting possibility if needed.
>> did your company provide equipment or buy you what you wanted?
Laptop and two monitors, altough laptop is quite sucky.
>>
>>54138835
>>Flask
>>professional world
Elaborate, anon
>>
>>54138866
It's a microframework fampai
>>
>>54136800
>The database/model layer of abstraction, for example, is simply not worth it

Maybe not for simple projects, anything with real complexity and its essential.
>>
>>54133832
I got my site responsive, just a simple js and php with mariadb.
Some of my customers ask for an ""app"", I've never code for smartphones or android, and never touched an iphone before,
are there any framework to port my web to this devices?
All I need is autologin and show the site. I hate java and any apple software but a $20 is $20.
>>
>>54138912
There are ways to embed websites in iOS/Android apps, though Apple may reject them. It's a shit way to make an app though, worse experience.

Just convince the clients to bookmark the URL and use the browser, unless your software actually requires using the phones hardware for something.
>>
>google picks up my wordpress blog attached to my website
>can't see the maint content pages that use JSON for some fucking reason

I took out index.php but fucking google just won't see them.

is there anything else that causes googles web crawler thing to not see web pages?

there is an occasional JSON error in my datatables.net could that cause google web crawler to shit itself?
>>
>>54138948
What do you mean your content pages use JSON? You make the content loads through AJAX? Should still be indexed afaik

robots.txt file is what blocks certain web pages, but that doesn't sound likely
>>
>>54138888
I know, famhai. But it's also quite easy to extend, very flexible to architecture and modularize and there are plugins for all the things it "lacks". Sure, it doesn't have batteries inlcuded but it's easy to find and add the batteries you need.
>>
>>54138912
meteor
>>
>>54138945
>>54139022
thanks, this is a comfy thread

Some of them actually bookmark the site but people likes the "apps" feeling , probably some need to justify ~5.5" on a phone, I guess one more icon on the screen makes sense

fork some browser just to show a web page seems a lot of work, I'll learn about meteor
>>
>>54138805
> Why Django and not Flask?

The application i maintain is a few years old now and pretty big (>20k LOC). It was written when Flask was still a newcomer. Anyway, Django has its rough edges but it mostly werks.

>>54139011
The problem with Flask is that things get out of hand pretty quick when your app grows. For a lot of stuff there isn't a established best practice. With Django, when a new developer walks in in that has worked on a few Django projects he can get started on Day 1 because he should be familiar with the overall architecture.
>>
>>54139011
As easy as you might find it to extend Flask, Django's batteries work so seamlessly, interacting between different concepts/layers can be made even quicker if there is a general approach you take to doing a certain thing. For example, ModelFormViews are a godsend in some places
>>
>>54138776
How to add user groups in django but not through admin interface or shell?
I read something about setting up a managment.py file or something like that
with post_syncdb signal but I don't know too much about that.
No answers 3 posts now getting desperate.
>>
>>54139394
You looked through the api/docs? If you can do it through the admin interface/shell, you can probably replicate it through wherever else you want to
>>
>>54137073
minimum requirements you will see on all frontend job ads are:

-know html/css inside and out
-know javascript very well
-be able to query DOM directly
-able to use git very well (screwing up version control is not tolerated)
-be fast in an editor (you wont get hired if you type code slowly/dont know hotkeys)
-be able to mock stuff up fast in bootstrap
-know jquery inside and out
-have a github of professional quality frontend projects you can show

some stuff that will probably be listed on the job ad that the shop might use and require you to know:
-know transpiler language like Coffeescript, Typescript, Sass, Haml

extra stuff that will make you look good:
-know a SPA framework, Angular, Handlebars, Ember, React, Knockout, etc
-know how to do backend, node especially, but also PHP or MVC framework like Rails, Django
>>
>>54139453

I added this in my views.py and the group was created:

group, created = Group.objects.get_or_create(name='special users')

is it ok to do it this way?
>>
>>54139546
I'm not even sure the context of what and why you're trying to do something mate.
>>
>>54139557
I'm trying to set some of the registered users in this 'special users' group after they register based on some of the optional fields in the registration form and I don't
want to make the group though admin or shell.
Is there a better approach?
>>
>>54139502
My boss has been looking for a decent front-end guy since november. Its impossible to find any, because front-end is the hardest part of webdev. Yet everyone thinks its fucking baby entry-level shit because you're just putting shit on the screen.

Anyone who thinks front-end is easy is literally too dunning-kruger to know any better.

Do you know how to get your web pages to be rendered by the GPU rather than the CPU? Probably not, because you're not a good front-end dev.

Databases and backend are so much fucking easier to deal with.
>>
>>54133868
Have you looked at django-allauth?

>>54134262
At least provide a fucking mute button. That shit is annoying as fuck and losing you business. Run an A/B test without the musinc and compare the results
>>
>>54140155
Probably impossible to find any because front-end positions pay shit.

Especially compared to "full-stack" where someone is expected to do both.

I enjoy doing front-end work and have been since IE5, can knock-up a responsive site to a custom design from scratch in an hour or two, but every-time I apply for front-end positions I laugh at the salary offered.
>>
>>54140221
Probably because of the meme that "front-end" means "entry-level"
>>
When would I use react? Especially if I'm using something like django. I'm already passing everything I need to the template and I can use template tags / "python code" to change any display elements there.
>>
>>54140521
React is an entirely different way of working, when you want to build an entirely dynamic "application" rather than shoving some separate static HTML to the browser and enhancing it a little with Javascript.

I'd decide what your website needs to do first.
>>
I have included this in my .ascx file
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="g-recaptcha" style="max-width:100%; width:300px;margin:0 auto;" data-sitekey="I_PUT_MY_SITEKEY_HERE"></div>


and here is what's in my .ascx.cs file
protected void SubmitButton_Click(object sender, EventArgs e)
{
Page.Validate();
if (Page.IsValid)
{
try
{
//this is where all the email template code is, not important
}
catch (Exception ex)
{
Logger.Error("Contact Form", ex);
}
}

}

As you can see I am trying to validate the captcha on the submit button click, then if it is valid, then the email is sent through the contact form. Where am I going wrong? The captcha is displaying fine, just need it to work with the form.
>>
In what country can I host copyrighted images without worries?

It are just 250x250px versions. But I dont feel like getting my site taken down.
>>
>>54139717
Been following your question since the thread started, can you explain why you dont want it done through using admin?
>>
>>54138973
>What do you mean your content pages use JSON?

I communicate with an SQL database using a JSON encode from the SQL database to populate the datatable.

page loads perfectly except occasionally a datatable.net error crops up and its probably from my JSON refresh timer being every 30 seconds

but for some reason google won't find these pages. I took out index.php and the robot.txt isn't blocking any content.

could a JSON error force the google web crawler to not index it?
>>
are there any straight forward algorithms for generating a random dungeon?

all i want is a 2d array of rooms connected by hallways

from what i've read a popular method is generating a maze then dropping rooms adjacent to the hallways on the maze?

idk im not asking for a magic bullet but if someone could point me in the direction of what i need to read about id be thankful :)
>>
Whoever suggested launchcode can fuck right off.

They use hackerrank shit which is fucking awful.

The second question was literally talking about some kind of calculus bullshit. I can make a website that gets 10s of thousands of visitors a month but god forbid I try to get a job making websites without calculus! Oh fuck! I'm sure I will need to combine these two m-element string arrays with subponents under constraints on a regular basis in real life.

If I can't understand the question then you have a shitty question.
>>
File: lol.png (4 KB, 279x105) Image search: [Google]
lol.png
4 KB, 279x105
What do you need, boss?

>You know, I really need mergeArrays which takes 2 sorted m-element arrays as parameters to be merges into a single non-decreasing array of size 2m and returned with the following constraints. Also I need it within 20 minutes because I have 3 other completely common web development issues for you to solve with similar constraints in a timely manner.
>>
>>54142140
>>54142231
Enjoy doing WP themes and shit. Now, get out.
>>
File: php7.jpg (7 KB, 305x115) Image search: [Google]
php7.jpg
7 KB, 305x115
I don't know what to feel anymore
>>
>>54138513
>>54138903
I expected something like that
I'll just shut up and keep programming
>>
>>54136304
I miss that Anime.
>>
>>54142265
Shut the fuck up, school monkey. Go back to your calculus books so you can solve useless problems on programming tests.
>>
>>54140521

if you have a component that needs to manage a lot of state on the client, then react is pretty cool

contrary to >>54140626, it's actually designed to drop into a server-rendered page - Facebook uses it for things like search boxes and chat windows

or you can build a whole interface with it, which is what Instagram is

React isn't magic, it's just good at what it does and it's pretty cool how it does it (virtual dom).
>>
>>54142109
Give me an example map layout.
>>
>>54138776

do you miss Rails?


i do...
I do />
>>
When they ask "Do you have 4 years of web development experience?"

Are they asking if I have professional experience or if I have been developing for 4+ years?
>>
>>54142876

they are asking the former but you can try answering with the latter
>>
anyone have experience with li3 and mongo? i'm trying to query records based on their user_id which is an ObjectId in my mongo db but it isn't working

        $matchUserId = new MongoId($session['_id']);
$userSites = UserSites::find('all', array(
'conditions' => array('user_id' => $matchUserId),
'fields' => array('name', 'categories', '_id', 'user_id')));
>>
File: 1419620127650.gif (474 KB, 200x150) Image search: [Google]
1419620127650.gif
474 KB, 200x150
>>54140155

>this autist again
>>
>>54142759

My nigga

Fucking spergs thinking that math matters outside of finance and security
>>
>>54142759
Whatever, man. Wish well on your never-ending CRUD-making journey.
>>
Asking again, what's the best JS library for simple animation? All I want to do is animate sprites with some simple scripted movements and a few sound events.

Don't need to learn some complex game library, I really just want to script some simple animation events. I'm very JS experienced for non-entertainment / non-front-end stuff, just really don't need to learn some full-featured game library.

Haaaalp? Anyone with experience have any recommendations?
>>
>>54143076
A portfolio full of useful stuff should be enough. If the job I'm applying for really needs me to do the pyfagorean theorem to combine strings then I don't want to work there anyways.

>>54143116
I wish you well on finding a practical application for FizzBuzz.
>>
>>54143185
Blump myself...

I know I could craft my own simple loop that executes an object with scripted movement; it just seems like some JS library must exist I can utilize instead of rolling my own.
>>
Go easy on me I'm a beginner.

I have a lot of buttons of this form in HTML:

<input type="button" style="width: 50px; height: 50px" id = "btn1" onclick="btnClick();">


I want to use jQuery to update the value text of the button that was clicked. I have this:

function btnClick(e) {
$(this).val("test")
}


I don't know how to use e. My prof says "#" + e.target.id works, but it doesn't. How do I, /wdg/?
>>
>>54142109

use a disjoint set to do all the wall knocking down bullshit

and then to solve use a stack and turn left every time.
>>
>>54143365
Try this inside the function
$(this).val("test");
>>
>>54143794
>>54143365

Fuck, just realized it's the same thing. You're missing a semicolon, thats probably the issue why yours isnt working.
>>
>>54143803
Oops, actually the semicolon missing was just a typo. It's actually in there in my code, I just rewrote it incorrectly..
>>
>>54143365
>My prof says "#" + e.target.id works, but it doesn't

$("#btn1").val("test");


??
>>
>>54143857
That works, but it only updates one button. Like I said, I have multiple buttons and the value in the $() has to reflect the button that was clicked
>>
>>54136330
there's not much to learn. just look at the docs
>>
>>54136583
it's a bit overwrought and antiquated, there are better options
>>
>>54136993
go full stack from day one. gives you more options and a better understanding of the overall trade
>>
>>54137351
you don't need a library for that, just modify the position of the element and use the web audio api
>>
>>54143900
I'm lost. Try this: https://jsfiddle.net/vpbk6gez/ test that and tell me if that's what you're looking for. I didn't use the onclick btw.
>>
File: 1308850253397.jpg (19 KB, 309x282) Image search: [Google]
1308850253397.jpg
19 KB, 309x282
>>54137622
that async/await is nice
>>
>>54144007
Alright, I have no idea. It works in the jsfiddle, but I copy and paste it exactly and it still doesn't work in mine. Am I not including the right jQuery? src="jquery-2.2.3.min.js"?
>>
>>54134927
> how many people in your office
40
> % minority employees
i live in Auckland, nz, we don't have minorities. it's a pretty even mix of all races. shit is like a benetton advert.
> male:female ratio
3:1 no female developers though
> how prevalent is the SJW/LGBT inclusion meme
we don't give a fuck about that here. just hire for skills. my boss is gay and no one gives a shit.
> open office plan?
yes. unfortunately
> foosball/ping pong table?
no. I just go play pool at the local bar at lunchtime. good to get out of the office.
> flexible hours?
no, but I work from home sometimes
> did your company provide equipment or buy you what you wanted?
we can choose whatever we want and they buy it
>>
can someone please explain why you need all these frameworks with funny names to build web sites?
>>
>>54144082
>>54144082
I don't know bro. I hope someone else can help because I can't keep my eyes open anymore.
>>
>>54144141
Thanks for trying to help!
>>
>>54144082
What do you mean by 'I copy and paste it exactly'? Where are copy and pasting it? Another JSFiddle? A text editor?
If the latter, try this to include jQuery:
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
>>
>>54144401
Another text editor (sublimetext). I am including that, too. It's just not working for me.
>>
>>54144492
You should include jQuery BEFORE calling your script. What does the developer console say?
>>
>>54144623
>>54144623
https://jsfiddle.net/8pt6wpLx/

It doesn't work the way I have it set up currently in jFiddle but it works locally.
>>
>>54144700
>>54144623
If I put in the code from the previous guy into there, or try to use $(this) or e at all, it just doesn't work for me.
>>
>>54144723
You were missing a semicolon on
if (winner === true){
$('#textbox').val("someone won!");

// here -----------------------------^
}


By the way, I hate JSFiddle. It's really hard to tell the dependencies and the stuff going on.
I like jsbin more because is just like when you are coding on a text editor.
Here is your example from JSFiddle ported:
http://jsbin.com/neracuqolu/edit?html,js,output
>>
>>54144799
Ah yeah, that's much better.
Is it only working on even turns for you?
>>
>>54144799
Semicolons are largely optional in javascript. That couldn't have possibly affected anything
>>
>>54144911
>>54144891
It wasn't the semi colon, but check this out. http://jsbin.com/bahorezexi/1/edit?html,js,output
>>
>>54144926
Man nevermind. This just isn't going to work. I'm beyond frustrated.
>>
>>54145097

GIVEN UP
I
V
E
N

U
P
>>
>>54143365
$(this).prop('value', newtext);
>>
>>54133832
How to write good CV, letter and make a good portoflio ? All I need is front end job, Im sick of being neet my whole life pls help
>>
>>54145264
For some reason it's always saying there's a winner, and it's only doing even counts. The problems don't stop, so I think I'm done..
>>
Hi, I'm new to webdev and I'm trying to make a blog-like site that's able to do posts and have simple pages such as a simple form page that inserts data to a database and some pages that can only be viewed when visitors are logged in.

Should I just use a CMS like Wordpress for this?
What do you suggest?
>>
http://stormy-mountain-40978.herokuapp.com
>rate & hate
anything I can improve ? ( yeah I know a lot could of improve but still..) its my first site, backend and front end everything.. mean stack
>>
>>54145486
>$9 a night for Dolno Vodin
These are some cheap ass volcanoes. Nice
>>
>>54141940
I've just started learning web dev and want to learn as much as possible.
The admin interface is cool I guess but I don't think it's good if you want to know
how everything really works.
I'll probably just disable the groups seeing most of the sites have only one type of user
and that's OK for now.
>>54145486
every comment 10 days ago why?
>>
I finally understand REST and APIs

thank god
>>
>>54136577
I don't think there are a lot of Django devs here. Do see some Flask from time to time.
>>
>>54137622
Your code is atrocious. There is this thing called a function declaration and don't fucking write your if statements on on line. Why the fuck are you not using
export async function foo() {...} 
?
>>
>>54143185
Velocity.js
>>
>>54145399
Use Ghost.
>>
Hello guys. I am new here, and I already posted in the stupid questions general, but nobody answered me there. Please help a nigga out. I am starting to work on a SPA, map site like this one:
http://www.cartercenter.org/syria-conflict-map/

I intent to use AngularJS 1,52 and PHP, to make it work. I have already smoothed out the way to send and get data from angular to php into mySql. But I don't know where to start with the map.

Is the map supposed to be generated by some API, or am I supposed to use a series of HighDef images, and translating them based on position? Or is the best way to use and manipulate an svg object to do so. Please just tell me the best practice so I can start looking into it. Thanks in advance.
>>
What's the best way to develop something in JS? I'm making a browser only library that will be used by other scripts but I've never done anything large scale with JS before. Are there any "best practices" I should know?
>>
>>54146676
Crockford on JS it's in the OP
>>
>>54146396
Will look into it further. From the brief search I did, it says that it's a blogging platform, but it's pretty much similar to other CMS right?
>>
a guy in my class is thinks that inline isnt css oh my
he thinks its pure html
>>
>>54147210
>using inline css
>>
>>54147210
>webdev trying to talk down others
>>
>>54147676
Hes a good guy
Dumb but good
>>
>>54134927
>30 to 35
>0%
>all men
>none, due to doing web dev for a church
>office for bosses, dividers for rows of computers for underlings
>no
>provided fine computers. No complaints.
>>
>>54144123

They make things easier by eliminating a lot of the prep-work.

You don't need them though.
>>
>>54144123
Yeh, you don't need them if you want to build websites, but if you're building web *applications*, there's just too much user interaction going on that would make vanillajs a clusterfuck of code before doing anything useful.
>>
>>54143185
look into jquery-ui,it has some animations predifened but i dont know if it provides any sounds .
Also jquery easy af.
>>
>>54149221
Hey there. (I asked /dpt/ but they probably will send me to you guys)

I've to write something to work offline on a webview.

Any thoughts on how to do it?
>>
>>54149321
What do you mean?
You have to do animation offline?
You can just download the jquery ui and link to it locally
That should prolly work provided it has the animation you were looking for.
But I am not sure thats what you meant.
>>
>>54149338
That's the tricky part. It's a freelance project and I've to sell it as an "app". I could just send a folder with index.html, but it could look cheap.
>>
>>54149409
Why not just include it in the head then?
I mean whoever you are sending it to must have internet,and he probably plans to deploy it on the internet unless it an offline project.
If it is,you prolly need to send it as a folder with all the js (I believe you need jquery lib too if you use jquery-ui)
>>
>>54149409
why not use Apache Cordova?
>>
>>54138776
I'm currently doing shit on nodejs. I want to get into high paying companies. Do I need to continue doing node?
>>
>>54144018
that's because it's taken from C#, the best language on earth.
>>
>>54149921
You shut your whore mouth.
>>
>>54146226
>FUNCTION DECLARATIONS IN ES7
LMAO
>>
I wrote a script at my data entry job that does all my work for the week in about 45 minutes.

So now I have ~39 hours of free time per week. Is free code camp worth going through? I do want to be a front end dev.
>>
>>54151045
I did this too.

They took the scripts and fired me.
>>
>>54151195
That sucks anon. I won't be telling them about it.
>>
>>54151045
>>54151229

Better not get caught is all I can say. If the script fucks up or someone notices any kind of paper trail, like the timestamp when the file is saved or the network usage or something, you're fucked.

At least keep your script somewhere secure so they can't take it even if you're discovered.
>>
File: comparison.png (262 KB, 1457x666) Image search: [Google]
comparison.png
262 KB, 1457x666
Ayo, I posted my shitty website prototype/portfolio-piece and got some good criticism on the design (mainly to drop the gradients and make a logo).

Well I made a shitty logo and now I have 2 versions of the header and I'm not sure which one to use. What do you guys think?
The shorter version doesn't look so great when fullscreen on a computer monitor and is probably best for mobile, so maybe I could make it transition between the two depending on the browser width?

http://www.examinephones.com/
>>
>>54151351
>not a SPA
dropped, start over
>>
>>54151351
Go with the one on the right,much better
>>
>>54151351
Personally, the one on the left. Make the EXAMINE PHONES more noticeable (bolder)
>>
>>54151351
That Xperia Z5 comment hit too close to home.
>>
>>54151351
The logo and non-gradients are a good start, but it still looks like you copied the design from the windows xp taskbar. I think that's what makes it look old and kind of scammy.

As far as the header goes, I think I prefer the one on the left. Maybe make the search bar stick to the right side of the header on larger screens.
>>
>>54151351
>>54151443
Also the add comments doesnt work :|
>>
>>54151482
I wouldn't buy anything from Sony that isn't a PlayStation or a Vaio.
>>
>>54151521
The lesson is learned, but the damage is irreversible.
>>
>>54150145
>not declaring your functions
Get your Coffeescript cancer out of here, pleb.
>>
I am just starting out and dont really have a portfolio, what would be a good rate to charge for making sites?
>>
>>54151804
Nobody is going to pay you if you don't have any work to show

Make some sites for fun first
>>
File: Screenshot_2016-04-22-03-00-54.png (639 KB, 1440x2560) Image search: [Google]
Screenshot_2016-04-22-03-00-54.png
639 KB, 1440x2560
>>54151380
soz, needed to start with something simple (i already knew PHP)

>>54151468
>>54151443
You guys split the vote so I just made it depend on the screen width, now it has a different look for mobile and desktop which is kinda nice.

>>54151509
>it still looks like you copied the design from the windows xp taskbar
What makes you say that other than the blue colour and the 100% width? Is that it?

>>54151516
Still placeholder, sorry! Gotta have all my sanitization and max lengths sorted out before I open the comments section to a 4chan board :)
>>
>>54151804
2 packs of skittles and a bag of crisps.
>>
>>54151851
i've made my own personal site, and currently making a site for a friends band, but I have people asking me how much I charge and dont know what to say
>>
>>54151875
$100/hr
>>
I need a wiki for my page. What are some good features it SHOULD have?

I already made something really simple. A Page table in a postgresql db and some python logic which serves it's content. Some javascript with codemirror for previewing any edits you make.

So what do I add?

Right now, the basic url scheme is
www.site.com/wiki/MainPage <-- brings you to the page with the MainPage slug.
www.site.com/wiki/MainPage/edit <-- Brings you to the editor.
www.site.com/wiki/MainPage/history <-- Shows you the history of the page.
www.site.com/wiki/MainPage/talk <-- Brings you to a discussion thread concerning that page.

There are also REST bindings to delete/post/revert undo, but I'm thinking features.

More importantly, stuff like namespaces, tags and all that. Wikipedia among others implements namespaces with e.g
www.site.com/wiki/MyNameSpace:MainPage

which I think is ugly as FUCK. But I don't know any other way to do it as well. What do?

Basically, what do I need to add to my wiki that will make you want to edit it? I've already got a good editing setup which puts preview to the right, editor right.
Works like a charm in widescreen setups.

Gimme dat insight /wdg/
>>
>>54151875
I made my first site for 15 euros per 20 minutes.
>>
>>54152210
I'm still embarassed every time I look at my old work.
>>
Does anybody have some blog on WP or any other CMS?

How much traffic did you get in the first month? Any tips for improving those numbers?

I made my first WP blog (news portal) a month ago as a part of the college course project, but I am still tweaking the design and adding new stuff (doing it all from scratch). So, I only have like 6-7 posts with 600-2000 words each and I only got around 20 unique visitors in the whole month. I just want to better understand how good or bad that is. Is that a normal traffic for such a small amount of content? I haven't started yet on the daily news spamming because I don't want much people to see it before everything is finished (because it is already up on the server and I can't really put it down because my prof has to monitor it).

I just don't know what to expect, this is actually my first hosted web.
>>
>>54152403
Can't help you with the numbers, but I'm curious what kind of news? I suppose regular visitors is not what you're looking for with so little content. I guess you'll have visitors that are looking for a specific thing. So my 'advice' would be to specialize and not simply relay. There are most likely better websites than yours for news, no?
>>
>>54152403
You better have the option to share articles to social media.
>>
so I've taught myself HTML/CSS and feel I can make a static responsive page with ease.
Now what frameworks should I learn, if any? bootstrap?
what should I learn next?
>>
>>54152679
I'm in your situation, started JavaScript some days ago and it gave me many new ideas
>>
>>54152679
HTML → CSS → jQuery → JavaScript → PHP → Ruby
>>
>>54152504
Maybe I should do that. That's what the prof said actually, it'll be more complex to get that traffic this way.

It's a blog (or "news" portal in my case, heh) about movies. Basically, I started with reviews (and that was already "too broad"), I could still specialize it just for the old movies or art-house in general, cause that's mainly what I watch anyway. The thing is, there are actually not so many popular movie portals in my country, which is the reason I'll definitely write in my native language. From those that are bigger, they are all somewhat outdated.

I really wanted, (and am still working on it), to make a great UX and really make the design unique, balancing the right amount of modern and classic look with some interactive audio-visual elements, you know. Like, have some background videos and music while you read the review, have a neatly placed info about the movie, trivia, some educational information which others are missing etc. I want that users learn something from every post. Those things are missing from the other sites. I am struggling to find a good inspiration because the actual news portals are all pretty generic and bland, and on the other hand, there are experimental websites which specialize in a single movie, and that obviously wouldn't work together. I'm still tweaking it a lot, because I'm not fully sure this will work for a bigger population - I find it enjoyable, but I can't judge that.
>>
I am returning to web dev just because PHP is dying. I hate that piece of shit language with a passion.
>>
>>54152718
The very concept of APIs blew me away. I'm also a web dev fish.
>>
>>54152736
>HTML → CSS → jQuery → JavaScript → PHP → Ruby
FTFY:

HTML → CSS → JavaScript / jQuery → nodeJS
>>
>>54152783
Implying you can escape php here
>>
>>54152718
What exactly are you doing with JS that is giving you new ideas?

>>54152736
thanks, I thought JQ uses JS?
>>
>>54152813
Pro-tip: you can.
>>
>>54152761
Watch out to not over do the tweaking though. Visitors usually don't like autostarting audio for example.
And you can tweak all you want, if the content doesn't follow, visitors won't come.
>>
What's everyone working on?


I'm doing a photo sharing phone app and a self-promoting Twitter app.
>>
File: 1438875115071.png (360 KB, 600x590) Image search: [Google]
1438875115071.png
360 KB, 600x590
>create database with a 7 million row table and a 29 million row table
>have to join them and compare foreignkey associated fields
>queries take like 10 minutes each
>ihavenoideawhati'mdoing.mpeg
>>
>>54152826
got some abstract ideas how real websites actually work and are dynamic, also how you could build databases and use them for the context but Im not sure here if its done with js
learning everything on w3schools.. it should be added to the op post
>>
>>54153118
dont databases and dynamic stuff have to do with php?
>>
File: Untitled.png (56 KB, 1423x506) Image search: [Google]
Untitled.png
56 KB, 1423x506
>>54153012
I'm working on a site where you can share and discuss frameworks, languages and other types of tools (IDEs, technologies etc.). It's still in very early development, I've only implemented users and some simple tool pages.
>>
>>54153118
>w3schools should be on the post
Nope
http://www.w3fools.com/
>>
>>54152987
Content is the king. I definitely pay attention to that. I mean, currently there is not so much shit going on as it might have sounded from my previous post. I have a clean text in the middle, on the left movie info, on the right are the links to the relevant posts and I have larger header with an interesting quote from that movie on top. Also, I have a button which plays the main theme, but it does not auto-play, that would suck, yeah.

I'm looking through Awwwards again, and I'm so indecisive where to go. Every time I see something fancy I like, it's literally overblown with effects, so I return to the more minimalistic look, and then again I think about experimenting more - it's a cycle without the end. I feel like I'm wasting my time constantly redoing the design, it is going super slow. But on the other hand, I think the looks are always improving.

I don't know, maybe you guys can give me some ideas you would like to see from the site like that, or from a news portal in general - I'm talking about UX and design here, not the content.
>>
>>54153154
Neato.
>>
>>54153012
Music player like Spotify or Pandora or whatever. Nothing fancy though, just pretty basic.
>>
Am I lazy by designing static sites, then using WordPress for the blog \ news page but calling the header and footer from the static site and not making an actual theme.
>>
File: why-bloggers-give-up.gif (17 KB, 620x179) Image search: [Google]
why-bloggers-give-up.gif
17 KB, 620x179
>>54153188
I'm still working on my website and it's not online yet. But I did read a lot about SEO. And one lesson I learned was pic related.
>>
How the fuck do you get your site to show up in Google search results?
>>
>>54153422
SEO
>>
>>54153422
Are you going to ask that question every day? >>54105919

If you can't use Google you can't rank either.
>>
>>54153380
I don't think a lack of traffic is everying. Blogging isn't for everyone. I've tried it a few times but I just can't stay with it because I don't like the concept.
>>
>>54153422
SEO or just wait until enough people has visited your site. I once made a porn site and the only 'marketing' I did was a Twitter account that uploaded girls' photos with a link to my page.
>>
File: like a beautiful butterfly.jpg (57 KB, 960x727) Image search: [Google]
like a beautiful butterfly.jpg
57 KB, 960x727
>>54153012

Airbnb for sex toys
>>
>>54153553
How did your traffic develop over time?
>>
>>54153553
Did you make any money?
>>
>>54153380
True, true. I sure won't give up because I'm doing this as a college project anway lol, but I'd really like it to get noticed. I was writing reviews on one forum before, but now I have a place for myself.

And then the question arises, why would you give a fuck about my review? The answer is that probably you won't, like I wouldn't for some random guy either. But I definitely would if I could actually learn something from the industry and the culture while reading reviews and on top of that have beautiful visuals and great user experience. That's why I'm tweaking this shit so much, I want it to really shine.

Actually, there is not much traffic and even less content, but from what I have gathered in analytics, it seems that people spend a decent amount of time on reviews.
>>
File: descarga.png (42 KB, 871x170) Image search: [Google]
descarga.png
42 KB, 871x170
>>54153579
See pic related. The days with sudden drops are the days were twitter banned my account. The first time was because they thought I was a bot and I had a sexual image on my public banner (not allowed by the rules). I had to answer an email to prove I wasn't a robot and delete the picture to recover the account.
The second time they also banned me for sexual images but I couldn't recover it. I had 4.4k followers and getting more each day steadily.

>>54153614
I had ads but in 15 days I just made 1 dollar.
After I had lost the account, I didn't want to put more time into it knowing that it could go away in no time (before getting to the point where people would willingly come back to the site looking for more).

Know what? this is the site http://putimorritas.tk
>>
>>54133552
>Nginx has some share too, but primarily its apache
You live in a bubble. Nginx is very mainstream.
>Apache is the way to US Dollars, not node.
Not really. ASP.NET, Spring and Rails pay more. Rails is great for consulting gigs especially.
>>
>>54153856
What I notice is you don't use a lot of text (or any at all).

Considering people search for words on Google I doubt you'll rank quickly like this.
Although - the same could be said about high ranking porn video sites.
>>
>>54138776
How's Django compared to Rails? Do you miss any Rails gems?
>>
/wdg/ approved way to hide an email address? Fucking spam man
>>
>>54154043
use a mail formular with a captcha.
>>
>>54153949
Right, but if you Google for "putimorritas" it appears on the first page, not sure why.
Being honest, I didn't apply any SEO knowledge there, I just put together some pics from my fapfolder and put it on a cheap VPS I have to mess around. I wouldn't do it this way if I had to start over (I'd add categories for example).

Well, now that I posted it here: I noticed that half of my visitors are on mobile, and about 80% of them won't go beyond the homepage i.e. they didn't click any photos. How can I style the images so they look "clickable" on mobile where I don't have a cursor to give context to the user?
>>
>>54154043
I use http://www.spamspan.com/ and configure it to change the CSS class name.
>>
>>54153665
Just my two cents, but I would want to:

1. Be entertained by the reviews (Meaning they need to not be boring.)

2. Have some reason to think your reviews are truthful/insightful in some way. I'd want to maybe read a review for a movie I've seen so I can judge whether or not you're just bullshitting.

In other words, content is king. You need a decent amount of interesting content with UX that lets me get to that content easily and doesn't make my eyes bleed. Maybe you could even get some other people to write guest reviews or something if you don't have enough content?
>>
> boss walks out
> immediately start sending resumes out.

I need a cover letter.
Thread replies: 255
Thread images: 27

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.