Everything posted by pilgrim_fgau
-
Job definitions and titles
Whilst we are working in a client - server environment, I dont really see the confusion at all really... client devs work on client side development - HTML, CSS, javascript (if the organization allows, this could be split into a web designer vs client developer) vs server side devs working on server side code... php, java, nodejs etc
-
Buy and sell sites-how do they work?
Language is almost irrelevant at this stage, you should first get to grips of how a dynamic / database driven web application works. Follow some simple tutorials, then it should be a lot easier for you to understand how classified sites works.
-
A reliable method for styling a select element.
Nice post, just one thing, I know this is only a prototype but more for other that may want to use this, in your select on change function, I would update the val and Spanwidth(lowercase 's' maybe?) variables to have a function scope instead of global scope
-
Javascript & JQuery
php and javascript are unrelated, php being a server side scripting language, javascript primarily a browser scripting language, both do different things, however both have similarities as with any programming language. Take a look at Javascript : The Good Parts by O'Reilly, its probably a good starting point. I find it really useful to really dig into javascript properly from the start and understand the language and its functional programming capabilities, it will really help you to write good javascript in a lot let less, but more concise code. Once you get to grips with using javascript, then start playing about with libraries etc, personally, and this is really because its what I am used to do, is if I only need some light javascript work with some fluffy UI work I would use jquery as its nice and simple to use out of the box. If im working on a larger web app that relies on a lot of client coding for example a Web 2.0 application, I would use Dojo, simply for its AMD way of implementing a more OO style of coding. But hey, each to their own.
-
Question about SASS
Dont agree with it being unmanagable, its only unmanagable if the developer writes their CSS to make it unmanageable. I use SASS daily in a huge web app that has hundreds of CSS files, mostly partials, and if structured correctly, I can make the change I need in a matter of minutes, with no doubt that the change is in the correct place and can be easily found again if needbe
-
Javascript & JQuery
This is not a dig at the OP, as you only learn by asking questions, so fair play. But I am truely amazed at the responses above... its possible to learn Jquery and not javascript?! That makes absolutely no sense, jquery IS javascript.. Jay - give stuck into plain old javascript first and find your feet with that, then if you need to, enhance it with libraries/toolkits like jquery or dojo
-
Object oriented javascript help
Try this function Article(storyId, header, story) { this.storyId = storyId; this.header = header; this.story = story; } function init() { var myArticle = new Article("1","The latest ne.","The lwqdqqwd ewecew3 3332edew") console.log(myArticle); } A few things.. Classes, i.e. Article, should have a capital as the first character, and drop the 'my', so myArticle -> Article By all means, when you create an instance of that object, by all means call it myArticle, see above for an example. Maybe its just been my experience but I would rewrite var newNum = document.createElement("i"); as var newNum = function(){document.createElement("i");} and call it via myArticle.newNum() This should get you started, constructing the object was your first, main problem
-
Need Help on Creating a Forum Site Using Phpmysql
Does it HAVE to be written in php? If the answer is no, I would recommend having a look at Grails, why?... Topic- only user can create new topics - With the Shiro plugin, you have instant user login system with enterprise level of security. On top of that you easily create permissions for topics to be created only by logged in users. Cartegory - only user can create new cartegory - same as above user can also view, add and post comment - same as above if you are not user you can only view post.... - same as above i also want it to be user friendly.... - The forum to be user friendly to the end user, thats your job, for you development tools/language be user friendly for the developer, well that why I said Grails for example : You mention Users and Comments - so you would create domains for these, ie a User domain and a Comment domain, just like you would create a Java/Groovy class class User{ def username //provided by shiro def passwordHash //provided by shiro def name def email ...etc } then create your Comment domain class Comment{ def comment def timestamp ...etc } create your relationships class User{ def name def email ...etc static hasMany = [comments : Comment] } ie a User object can have may comments. there you have a system that already controls users, their login, comments and Hibernate under the covers will manage your relationships between the two domains. If you want all the comments created by User, all you need is Comment.findAllByUser(theUser) etc Grails is very user friendly for the developer, dynamic finders like the above make queries seemless and as close to the english language as you will get
-
Debugging website on a mobile device
I have been working on the site www.invictusstrength.net, which I have uploaded to the web server in order to test it on a mobile device as I know it needs a lot of tidying up for non desktop devices, and I wanted to make sure there was no unexpected behavior on mobile. I am glad I tried it out on the live site as it seems to crash my Samsung Galaxy Nexus default browser, but is OK on my girlfriends galaxy S3's default browser and chrome running on both our phones. Is there any tools out there that will help me to see what is happening to the site on my mobile browser, or if anyone has any advice on what may be causing the crashing? Some sidenotes if it makes a difference.. Its running : wordpress, bootstrap and Jquery as the main frameworks/tools incase they are playing any part in it? Thanks in advance
-
Responsive Guide
start off with twitter bootstrap - loads of tuts online including youtube to get you started
- Hows my CV?
-
My 1st website...thoughts on what you like and dislike
My first initial thought is ... is this a template? Looks like some sort of dreamweaver template is being used as the base, based on looking at the source code - if so... don't kid yourself, learn by starting from scratch
-
Javascript. Frameworks vs writing script from scratch.
Procedural is different from Functional - Javascript can be classed as a functional programming language as it uses Functions as first-class citizens. The types of things I am talking about is being able to pass anonymous functions like so etc var myFunc = function(myVar, function(anotherVar){//..do something}){//..do another thing}
-
Javascript. Frameworks vs writing script from scratch.
What I would recommend doing is, if you wanting to learn javascript - then learn it the right way first, being plain old Javascript and get to grips with how to change from the OOP mindframe to a more hybrid version of Functional programming and OOP. Once you have your head around the functional programming side of Javascript, you will thank yourself in the long run, then enhance your code with a library/framework such as Dojo / Jquery etc.
- Hows my CV?
-
Hows my CV?
Here's my 2 cents Lose the colour Where is your personal info - name, address, contact info etc? You are wasting at least 1/3 due to whitespace Keep to 2 pages max. What are your exact GCSE grades? Extract important data - e.g. you talk in blurb about the languages / platforms you have used, e.g. 'Developing websites using WordPress' ... 'Front-end coding using HTML CSS' - extract this out and make your skills/experience clear to read, e.g - Development Languages HTML, CSS, jQuery, PHP, Java EE .. etc Applications Adobe Photoshop CS6, Eclipse etc etc I would recommend Arial font at size 10 Duplication of details (e.g. you have mentioned you use Wordpress in at least 3 different places.) EDIT... I just noticed you have an updated version so some things above are now not entirely true
-
(PHP): "if" statements
if ($input > 0) { $example = $_POST['example']; }
-
What are some practical uses of Javascript?
Without getting into the details, you will benefit from most of the generic OOP benefits such as encapsulation, inheritance (though it is not strictly pure inheritance), code reuse etc. After the 'basics' of javascript I personally would start learning how to be a good functional programmer as Javascript is primarily a functional programming language - where functions are treated as first class citizens.
-
User login schema
What is the best way to implement a database scehema for a user login system? At the minute I have a User table with generic user data : Name Telephone Email DOB etc I now want to implement a login system, so obviously I am going to need a password field. Do I just add the password field to the User table (with encryption of course) or do I have a seperate UserLogin table listing : Username (which will probably just be the email) Password Any help is appreciated, Thanks
-
Grails / Groovy
Ive just been using the videos on the SpringSourceDev youtube channel ... http://www.youtube.c...SpringSourceDev I also found the free pdf version of 'getting started with grails' http://www.infoq.com...getting-started quite useful for getting up and running, along with a few neat tricks it has for certain things. Im still at the early stages of development of the project, but hopefully as it progresses I will be sourcing some more advanced material. If you find anything useful yourself, post it up so I can take a look.
-
Grails / Groovy
Anyone ever had a chance to play about with this? Im using Grails for my final year project for computer science, and OH MY... you can do so much in so little code. Anyone have any experience with it? and any thoughts on it?
-
wordpress books?
loads and loads and loads of free online material on wordpress, whatever you are stuck on, especially at a newbie level, 110% sure it will have been covered before
-
The design/development process?
anyone?
-
The design/development process?
Sorry if this is in the wrong section. Im a final year computer science student, and currently starting my final year project, that will be a project / task management tool for a web design / development studio. Not for anyone in particular, just more of a generic web design studio, with say 4-8 people ranging from graphic designers - web developers and project managers. Its going to be written in Grails as I would like to dive into a newer language for something different to add to my CV. As I have never had the experience in working in a web design studio, I was hoping someone on here could briefly outline how your work comes about and at what stages the different people involved in the project life cycle become involved. This is part of my problem specification, but I want to make sure I have the correct order of events etc. So what I THINK happens is : 1) Advertising / marketing carried out by the marketing personnel 2) Client contacts studio for a website / application they would like. - who does the client contact at this point? 3) Studio liaises with the client in order to gather the requirements - but who from the studio actually sits down with the client for this and who handles the development and sign off of the contract? 4) Project is created, project manager assigned along with the development team, and requirements are given to the team to start work. - I assume here, HR is responsible for allocating the resources? Also would a small design studio, say with 4-8 people have a dedicated project manager or would this be a senior developer/designer driving the project forward? 5) If there are queries on the requirements and the development team need to contact the client, but do they do this directly, say via phone/email etc? 6) Development is complete and app is tested - is it tested by the developement team? or a separate testing team? or does this depend on the size of the organisation? 7) Payment - who does the client actually settle the bill with? 8 ) Who does the client get in contact with if there are defects etc or they want enhancement work on their website app? Im sure you get the gist of the information I am after, and I dont by any means want exhaustive answers as I am aware you have better things to do with your time, but any information at all would be helpful Any information from someone in a studio of this sort of size is especially welcomed. Thanks in advance for your help.
-
"website for a (fake) automobile company" as a college project.
Maybe I've read this wrong but surely all you are after is a code repository like SVN or CVS? Nothing tricky about it really, you make changes to code in a repository so does your colleague and the code is automatically merged. Any conflicts are easily dealt with, with dialogue with your colleague.