Jump to content

aperture's Content

There have been 12 items by aperture (Search limited from 28-April 23)


By content type

See this member's

Sort by                Order  

#15416 HTML5 + CSS3 question

Posted by aperture on 17 July 2012 - 05:16 AM in Coding

*facepalm*

yeah, I know that

lets say, theoretically, I was working on a game, that would need to reference on-site files

is there any way to mock this? or do I just knuckle down and get a practice site?

Just use a lamp stack (xampp on windows, lamp on linux, mamp on os x) to run php and/or other languages off of localhost.



#11261 PHP questions

Posted by aperture on 13 June 2012 - 06:21 AM in Coding

What exactly do you need help with?  PHP's SQL functions?

$col = mysql_query(select * from COLUMN);
$data = mysql_fetch_array($col);
echo $data['someAttribute'];

Use a while loop to iterate over each row:

while ($data = mysql_fetch_array($col)){
echo $data['someAttribute'];
}

Where "someAttribute" is an attribute of the column specified in the mysql_query.



edit: and of course this is after establishing a connection to the db in the first place.



#11260 PHP questions

Posted by aperture on 13 June 2012 - 06:07 AM in Coding

cigarettes!?!?



#11259 HTML5 + CSS3 question

Posted by aperture on 13 June 2012 - 06:07 AM in Coding

A text editor and a browser.



#11258 New MBP

Posted by aperture on 13 June 2012 - 06:05 AM in Hardware

http://gizmodo.com/5...-weve-ever-seen

The screen is the real big deal here.I'd love to have that pixel density over a 24"+ monitor.


Apple is a pretty fucking shitty company, but they really do make great laptops. I still hate pretty much everything having to do with Apple and its fanbase, but their Macbook Pro is really nice. I have a Windows gaming computer that completely dominates my Macbook Pro in practically every technical spec, but a fully supported Unix machine is so much nicer to work on for what I do with my computer. I would have to have far more disposable income than I do now to warrant purchasing their newest line, but I would really like to own this computer. I've always hated Windows' window management, and the lack of control over Windows' internal workings along with how Windows handles file access makes OS X far more pleasurable to use in my opinion.



#5725 Phone apps.

Posted by aperture on 08 April 2012 - 06:57 AM in Software

'Minimal Weather' for Android. >_>

My most used apps are Reddit is Fun and Android Swim.



#5724 Anything better than Fedora for a small web server?

Posted by aperture on 08 April 2012 - 06:55 AM in Software

Debian is always a smart choice.



#5721 Photoshop request thread

Posted by aperture on 08 April 2012 - 01:34 AM in Everything Else

;p

Yes?

MVC is an architectural pattern. It was not invented by Microsoft, can be implemented in a wide range of languages, and is not limited to ASP.NET


I feel like one of us is missing something integral here.



#5705 Photoshop request thread

Posted by aperture on 07 April 2012 - 09:55 PM in Everything Else

In a modern, non abstract architectural sense, what language has an MVC based framework?

A lot of languages have an MVC framework.
Ruby, Python, Perl, PHP, C++, Java, JavaScript, Scala, even DOS has an MVC framework (http://dod.codeplex.com/)

MVC is just an architectural pattern and is not tied to any single language.



#5661 What operating system do you use?

Posted by aperture on 07 April 2012 - 02:43 AM in Software

OS X Lion primarily these days.


I still hate Apple, but a professionally supported Unix environment is really fucking awesome.



#5660 Your favorite programming language?

Posted by aperture on 07 April 2012 - 02:36 AM in Coding

Ruby. Hands the fuck down.



#5659 Photoshop request thread

Posted by aperture on 07 April 2012 - 02:33 AM in Everything Else

MVC is microsoft's framework separating front end and business logic. MVC - Model View Controller.


Mr. Jiggles, I registered solely to frown at this post. MVC is not MS proprietary. Can barely facepalm enough...