Web Dev Questions That Don't Need Their Own Thread v4
5,001 replies, posted
[QUOTE=Cep.;46087664]Is there an online service for event planning where I can pull information from via PHP?
Basically my client wants to have a calendar where they can easily add events, but they aren't really tech savvy. So if there exists a event planning website where they can add events and I can pull info from it would be perfect.[/QUOTE]
If something like Google Calendar is too hard to use for them then I don't know what you expect to be able to design that they can use.
[editline]29th September 2014[/editline]
[QUOTE=jimbodude;46101195]Does anyone know of any forum software that allows you to completely override the login handler and user system with your own? phpBB kinda supports overriding the login handler, but a user is still required to be created with a separate password and such.[/QUOTE]
Sounds like a can of worms. Usually (if you even do this, most people don't and just require a separate account) you use the forum's login because it already has a built-in permissions system and such. What sort of system are you integrating it with?
[QUOTE=Ortzinator;46105356]Sounds like a can of worms. Usually (if you even do this, most people don't and just require a separate account) you use the forum's login because it already has a built-in permissions system and such. What sort of system are you integrating it with?[/QUOTE]
A purely in-house user system, accessed via an internal node.js API, but yeah, this is definitely going to be messy. We've toyed with the idea of just rolling our own, but would rather sync that dev time into something else if possible.
What most sites will do in that case is create a forum account for every external account, link them up in the database, and write a login script that will authenticate users using the external account.
Take a look at some OAuth/Facebook Connect plugins.
Is CSS necessary anymore? Is it a key feature when going for a job, or simply wanting to make your own website.
Reason I ask is, I see Bootstrap EVERYWHERE now, and I think that's the way it's going to be, so unless you're specifically going for something yourself, or wanting to make a BS theme, is it necessary to learn as a WD?
[QUOTE=Erasus;46106725]Is CSS necessary anymore? Is it a key feature when going for a job, or simply wanting to make your own website.
Reason I ask is, I see Bootstrap EVERYWHERE now, and I think that's the way it's going to be, so unless you're specifically going for something yourself, or wanting to make a BS theme, is it necessary to learn as a WD?[/QUOTE]
what? You NEVER want to use a default theme that a framework like bootstrap gives you. It's not unique. You also should know how to use css (now its more of LESS, SASS, etc..) in-order to still change the website around.
You want your website to be original. You don't want people to look at your website and say "oh it's another bootstrap website".
Now even if you did keep with the Bootstrap theme, you'll have to know CSS because Bootstrap still doesn't do everything for you.
The examples on the Bootstrap page all have their own CSS.
[QUOTE=Erasus;46106725]Is CSS necessary anymore? Is it a key feature when going for a job, or simply wanting to make your own website.
Reason I ask is, I see Bootstrap EVERYWHERE now, and I think that's the way it's going to be, so unless you're specifically going for something yourself, or wanting to make a BS theme, is it necessary to learn as a WD?[/QUOTE]
The main reason Bootstrap & Foundation is being used is for its simple, yet very effective responsive layout and cross-browser compatibility. But also the everyday components they hold.
It's just a base, where you can customize your colors, padding, fonts, etc to fit your needs. But you'll always make something completely custom with it in almost every project you use it for, so yes, you need to learn CSS (even if you use LESS or SASS) to be a good Web Dev, atleast if you want to do front-end.
EDIT:
I always use Bootstrap for every single project I make that has to be responsive. Its grid layout and breakpoints are perfectly setup for every single device. I'm fairly new to front-end aswell, but I've learned my way around quite quickly.
[URL="http://svenskunganka.com/"]This[/URL] was built with the same knowledge I had about 1 month ago and [URL="http://rbmedia.se/gfx/peak/fotokampanj/"]this[/URL] was built about a week ago, so I'm learning quickly and getting the hang of it. Both built on Bootstrap.
No no I take what you're saying into consideration.. Maybe I worded this incorrectly.
If I wanted to make a website and therefore put a bootstrap theme into it, but knew the jargon to switch and swap things, is it a necessary skill to have down to the absolute tee?
[QUOTE=Erasus;46107312]No no I take what you're saying into consideration.. Maybe I worded this incorrectly.
If I wanted to make a website and therefore put a bootstrap theme into it, but knew the jargon to switch and swap things, is it a necessary skill to have down to the absolute tee?[/QUOTE]
If you want into front-end web development, CSS is a must-know. It's not even hard to learn, just tinker around with it and you'll pick it up in no time. Pinky-promise!
[QUOTE=Svenskunganka;46107408]If you want into front-end web development, CSS is a must-know. It's not even hard to learn, just tinker around with it and you'll pick it up in no time. Pinky-promise![/QUOTE]
Spice it up with some LESS or SASS and it will be more fun.
[QUOTE=gokiyono;46108370]Spice it up with some LESS or SASS and it will be more fun.[/QUOTE]
Read my previous post...
Either way, he still has to learn CSS in order to use LESS or SASS for that matter.
[QUOTE=Svenskunganka;46108717]Read my previous post...
Either way, he still has to learn CSS in order to use LESS or SASS for that matter.[/QUOTE]
Right yeah, I kinda still haven't into that whole "reading" business you people talk so much about.
Or at the very least remember posts I have already seen :v
[QUOTE=Svenskunganka;46108717]Read my previous post...
Either way, he still has to learn CSS in order to use LESS or SASS for that matter.[/QUOTE]
You can learn CSS alongside with using something like LESS and SASS. It might be weird, but definitely possible.
[QUOTE=Moofy;46111208]You can learn CSS alongside with using something like LESS and SASS. It might be weird, but definitely possible.[/QUOTE]
I'm not implying that you shouldn't use LESS or SASS, I'm simply saying learning CSS beforehand can be helpful.
EDIT:
Denkmark
[QUOTE=Svenskunganka;46111268]I'm not implying that you shouldn't use LESS or SASS, I'm simply saying learning CSS beforehand can be helpful.
EDIT:
Denkmark[/QUOTE]
I'm not denying this, just saying so people don't think it's an absolute must to lay off LESS or SASS and learn CSS purely if they're actually interested in a preprocessor.
Sweden :v:
Someone that have used both SinonJS and JSMockito and could share some words on them?
My project is currently using JSMockito but it feels really weak and too heavily inspired by the Java framework, ie it doesn't utilize how dynamic JavaScript can be. I'm trying to convince them to try Sinon instead.
How would you convert "30/09/2014 21:20:34 GMT+13:00" to a timestamp?
[QUOTE=isnipeu;46114816]How would you convert "30/09/2014 21:20:34 GMT+13:00" to a timestamp?[/QUOTE]
what language you're using would help
Trying to make a web app to do some location based stuff, and I realised for some reason Chrome always says it can't find my location. The only way it finds my location is if I google "Where am I" and it shows on the Google card, but any site including my own that uses Geolocation, says it can't find where I am. Any ideas?
[QUOTE=Goz3rr;46115039]what language you're using would help[/QUOTE] PHP
[QUOTE=isnipeu;46114816]How would you convert "30/09/2014 21:20:34 GMT+13:00" to a timestamp?[/QUOTE]
EDIT:
ninja'd, didn't refresh the freakin thread...
[QUOTE=isnipeu;46115232]PHP[/QUOTE]
[url]http://php.net/manual/en/function.strtotime.php[/url]
-edit-
fucking hell didn't see there was another page, though, mine is a different solution.
Ok so I've been thinking for a while on starting a project but my lack of skills mostly just makes me an ideas person and I kinda get the aversion. However now I've come up with a project that involves financial analysis of listed stocks (not financial advice mind you) and that is something that I [I]can[/I] do however I still have no programming experience beyond very, very, pathetic websites. Am I still an ideas person? I know how the financial analysis side of things works, I can do the equations and find the numbers and explain them.
Is looking for some people to help me set up a suite of web apps still innappropriate? The objective is to make them stakeholders rather than third parties (aka I don't want to pay up front). I'm going to be taking on a lot of debt to get the project running so it's in my interests to get the project off the ground.
I can set up a compelling financial argument and business model, I just can't actually program anything. I know 100% for sure it is not impossible to get good quality programmers on board as equal share owners in the product, without actually giving them money up front (I pay for lunch though).
I'm just exploring my options at the moment. I'm not going to be getting these people from Facepunch or pitching it here. It's probably going to be all done locally. My question is: am I still an ideas guy?
[QUOTE=gerbe1;46119838]Ok so I've been thinking for a while on starting a project but my lack of skills mostly just makes me an ideas person and I kinda get the aversion. However now I've come up with a project that involves financial analysis of listed stocks (not financial advice mind you) and that is something that I [I]can[/I] do however I still have no programming experience beyond very, very, pathetic websites. Am I still an ideas person? I know how the financial analysis side of things works, I can do the equations and find the numbers and explain them.
Is looking for some people to help me set up a suite of web apps still innappropriate? The objective is to make them stakeholders rather than third parties (aka I don't want to pay up front). I'm going to be taking on a lot of debt to get the project running so it's in my interests to get the project off the ground.
I can set up a compelling financial argument and business model, I just can't actually program anything. I know 100% for sure it is not impossible to get good quality programmers on board as equal share owners in the product, without actually giving them money up front (I pay for lunch though).
I'm just exploring my options at the moment. I'm not going to be getting these people from Facepunch or pitching it here. It's probably going to be all done locally. My question is: am I still an ideas guy?[/QUOTE]
An ideas guy would say "ok I want to build a website that offers financial analysis of listed stocks, but I need someone to build the site and someone to analyze the stocks" (basically the two most important roles and he can't do either. All he has is an idea)
You're essentially saying "I am a financial analyst looking for alternative ways of monetizing my skills. I would like to consult a developer to examine the feasibility of a web service offering my analyses of listed stocks for my clients. I am offering stake in the operation in lieu of upfront payment." (you're coming to the table with a set of skills and a potential plan to monetize them, but you need professional consultation and assistance. Put another way, you hold a fair precentage of what the project would require to function, namely financial skills and a plan to use them)
You're only an "ideas guy" if you bring nothing to the table but an idea. Having an idea + financial analysis skills means you're looking to monetize your skills. Does that help?
[QUOTE=FlakAttack;46120178]An ideas guy would say "ok I want to build a website that offers financial analysis of listed stocks, but I need someone to build the site and someone to analyze the stocks" (basically the two most important roles and he can't do either. All he has is an idea)
You're essentially saying "I am a financial analyst looking for alternative ways of monetizing my skills. I would like to consult a developer to examine the feasibility of a web service offering my analyses of listed stocks for my clients. I am offering stake in the operation in lieu of upfront payment." (you're coming to the table with a set of skills and a potential plan to monetize them, but you need professional consultation and assistance. Put another way, you hold a fair precentage of what the project would require to function, namely financial skills and a plan to use them)
You're only an "ideas guy" if you bring nothing to the table but an idea. Having an idea + financial analysis skills means you're looking to monetize your skills. Does that help?[/QUOTE]
Ok thanks. That's step one then, kinda a feasibility test. Lot's of work to go yet before I actually approach anyone.
I'm no web developer, just using customising a template for a site as a favour. I have a section of jQuery that pulls in a dynamic Google Map section and throws it into a div - is there an attribute I can add to make the map static and not movable / scrollable etc? I already tried the draggable element but it didn't seem to lock the map.
I get the feeling it's going to be obvious!
[CODE]// Google map
if(0 < $('#map').length) {
var coordinates = $('#map').attr('data-coordinates').split(',');
var myLatlng = new google.maps.LatLng(parseFloat(coordinates[0]), parseFloat(coordinates[1]));
var mapOptions = {
zoom: 8,
center: myLatlng
}
var map = new google.maps.Map(document.getElementById('map'), mapOptions);
var marker = new google.maps.Marker({
map: map,
draggable: false,
position: map.getCenter(),
icon: './img/marker.png'
});
}
[/CODE]
[url]http://ryanslater.co.uk/siena[/url]
[QUOTE=Slater;46130592]<code>[/QUOTE]
Have you tried putting "draggable: false" into the mapOptions, or is that what you meant by you've already tried it? I can see it in the markerOptions, and according to the [URL="https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions"]API[/URL] it's false by default, so you don't need it there at least.
[QUOTE=fauxpark;46130961]Have you tried putting "draggable: false" into the mapOptions, or is that what you meant by you've already tried it? I can see it in the markerOptions, and according to the [URL="https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions"]API[/URL] it's false by default, so you don't need it there at least.[/QUOTE]
Thanks for the response - I tried doing the draggable: false thing but that still doesn't like it. Tried zoomControl too but they don't seem to have an effect on the map for some reason.
[B]Edit: Hang on, it has stopped it from being dragged around and removed the zoom controls from the side, but you can still scroll in and out with the mouse - do you know of any attribute for that?[/B]
[QUOTE=Slater;46131039]Thanks for the response - I tried doing the draggable: false thing but that still doesn't like it. Tried zoomControl too but they don't seem to have an effect on the map for some reason.
[B]Edit: Hang on, it has stopped it from being dragged around and removed the zoom controls from the side, but you can still scroll in and out with the mouse - do you know of any attribute for that?[/B][/QUOTE]
Have a look at [url]https://developers.google.com/maps/documentation/javascript/reference#MapOptions[/url]. I think disableDefaultUI, scrollwheel, panControl and streetViewControl are some of the options you're looking for.
Sorry, you need to Log In to post a reply to this thread.