Jump to content
MakeWebGames

Recommended Posts

Posted

You didn't say what language but here goes =}

 

typeof "12"

typeof 12

typeof {}

typeof []

null == undefined

0.1+0.2+0.3+0.4

0.1+0.2

 

1: string

2: int

3: obj

4: obj

5: false

6: + 0.5

7: + 0.3

6 & 7 are strange ones =)

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

Posted
Love the way my question wasn't answered thanks guys

Sorry for going off topic, but actually reading back you have asked no questions you have merly stated that you have made a portfolio and people have commented back some usefull comments.

Posted (edited)
Love the way my question wasn't answered thanks guys

What was your question? I recall answering any questions you asked.

Answers:

  1. String
  2. number
  3. Object
  4. Object
  5. true
  6. 1
  7. 0.30000000000000004

Why 7 is like that is beyond me. Also I have no clue why null would equal undefined, I figured they were different. What if I wanted it to be null and not undefined?

[ATTACH=CONFIG]2172[/ATTACH]

2081050117_ScreenShot2015-08-23at6_12_45AM.png.343702b887dfe7ee16940d41385306ca.png

Edited by KyleMassacre
Posted

[MENTION=64684]Dayo[/MENTION] [MENTION=68711]KyleMassacre[/MENTION]

his question: OOP(I only know the basics and I don't know how to use it or where to use it I don't see it's use)

Node.js & socket.io (I can build chat systems, with PHP & JS etc but when it comes to real time I've never worked with either of those languages)

Frameworks (If I don't use OOP then frameworks haven't been an option for me)

I really don't know what I have to do next, I can code PHP, CSS, HTML, JS AND JQUERY whats next after that? What do I need to know in the languages I already know, good help and Advice would be greatly appreciated!.

[MENTION=69823]jcvenom[/MENTION], learn frameworks. PHP : Symfony, Laravel, CodeIgniter

JavaScript : Angular.JS , Node.JS, Express.JS, Socket.IO

Learn CSS Precompilers : LESS, SASS

Posted
[MENTION=64684]Dayo[/MENTION] [MENTION=68711]KyleMassacre[/MENTION]

[MENTION=69823]jcvenom[/MENTION], learn frameworks. PHP : Symfony, Laravel, CodeIgniter

JavaScript : Angular.JS , Node.JS, Express.JS, Socket.IO

Learn CSS Precompilers : LESS, SASS

Frameworks as in PHP frameworks?

Posted (edited)
Frameworks as in PHP frameworks?

Yes, I would assume that's what he was implying.

However, I wouldn't make it plural. Learn one framework inside and out and become efficient in it.

Why just one? In a professional environment, you won't (realistically) work on multiple projects running multiple frameworks - unless management/upper-development make an avalanche from a simple snow ball. If you're stuck on which to learn, have a read of this list on SitePoint. All popular frameworks have excellent documentation and employ the best (or a variant of) practices throughout.

This GitHub repo lists the popular frameworks and links to their respective GitHub repositories.

Edited by ~Rob0t
Posted
It's all up to you really. If you want to learn some PHP frameworks go for it. There are also JavaScript frameworks out there too that are becoming popular

Yeah, like a new Javascript lib/framework being released almost daily.

Some funny tweets :)

 

 

 

 

 

Basically all these

Posted
Frameworks as in PHP frameworks?

Not neccesarialy just php.

And as [MENTION=71587]~Rob0t[/MENTION] said, learn one inside out.

However, Id also say to familiarise yourself with the rest as you are currently working freelance and a client could request you use a certain framework and it's not the one you know best. So familiarise yourself with the popular ones but pick one of them and become a guru in it :p guru is a bit much, but just really learn it. Also most frameworks use OOP. So learn it.

Posted
Not neccesarialy just php.

And as [MENTION=71587]~Rob0t[/MENTION] said, learn one inside out.

However, Id also say to familiarise yourself with the rest as you are currently working freelance and a client could request you use a certain framework and it's not the one you know best. So familiarise yourself with the popular ones but pick one of them and become a guru in it :p guru is a bit much, but just really learn it. Also most frameworks use OOP. So learn it.

I got some opinions from other developers and they said they don't learn frameworks like Laravel or Symfony, as they don't like using other peoples things so they make there "OWN" frameworks..

Posted (edited)
I got some opinions from other developers and they said they don't learn frameworks like Laravel or Symfony, as they don't like using other peoples things so they make there "OWN" frameworks..

Heh, goodluck with that.

It's favoured a lot on a CV (if you were to enter a professional establishment) that you had experience with a popular framework.

But, if you do develop your own framework, this GIF is appropriate;

good_luck_morgan_freeman.gif

Though there are some pro's for doing your own framework, in my experience, they don't outdo the cons; http://programmers.stackexchange.com/a/35927/112871

Edited by ~Rob0t
Posted
Heh, goodluck with that.

It's favoured a lot on a CV (if you were to enter a professional establishment) that you had experience with a popular framework.

But, if you do develop your own framework, this GIF is appropriate;

good_luck_morgan_freeman.gif

Though there are some pro's for doing your own framework - though, in my experience, they don't outdo the cons; http://programmers.stackexchange.com/a/35927/112871

Ofcourse I wouldn't be able to create my own framework "YET" as i'm still learning OOP which is quiet easy... I wouldn't say it would be relatively hard to make one with simple functions, I could probably create something like an ajax response framework, supporting either HTML or JSON that would auto fill form inputs with the previously entered values.

Posted
Ofcourse I wouldn't be able to create my own framework "YET" as i'm still learning OOP which is quiet easy... I wouldn't say it would be relatively hard to make one with simple functions, I could probably create something like an ajax response framework, supporting either HTML or JSON that would auto fill form inputs with the previously entered values.

A good framework - which takes into consideration future-proofing - will involve;

  • Class abstraction
  • Class namespacing
  • Class interfaces
  • Class inheritance
  • Ability to support multiple DBMS; including SQL and noSQL
  • A suitable directory structure
  • Excessive documentation on code methodology and conventions
  • General use utilities and libraries - both extendible
  • (Generally speaking) MVC design pattern (or even MVVMC - basically a separation of business logic (incl. business rules), view logic and routing
  • Some tight security, addressing various vulnerabilities, such as session hijacking, file uploads, data validation, data sanitisation, etc...
  • A testing suite (incl. performance tools) - unit testing, integration testing, component interface testing, system testing, OA testing, caching and benchmarking

 

The fundamentals of object-oriented programming is a somewhat "easy" task to comprehend, but the implementation isn't "quiet easy" if you were to focus on the above points and produce a valuable piece of software.

 

I could probably create something like an ajax response framework, supporting either HTML or JSON that would auto fill form inputs with the previously entered values.

Sounds like a library and not a framework. http://stackoverflow.com/questions/148747/what-is-the-difference-between-a-framework-and-a-library

Posted
A good framework - which takes into consideration future-proofing - will involve;
  • Class abstraction
  • Class namespacing
  • Class interfaces
  • Class inheritance
  • Ability to support multiple DBMS; including SQL and noSQL
  • A suitable directory structure
  • Excessive documentation on code methodology and conventions
  • General use utilities and libraries - both extendible
  • (Generally speaking) MVC design pattern (or even MVVMC - basically a separation of business logic (incl. business rules), view logic and routing
  • Some tight security, addressing various vulnerabilities, such as session hijacking, file uploads, data validation, data sanitisation, etc...
  • A testing suite (incl. performance tools) - unit testing, integration testing, component interface testing, system testing, OA testing, caching and benchmarking

 

The fundamentals of object-oriented programming is a somewhat "easy" task to comprehend, but the implementation isn't "quiet easy" if you were to focus on the above points and produce a valuable piece of software.

 

Sounds like a library and not a framework. http://stackoverflow.com/questions/148747/what-is-the-difference-between-a-framework-and-a-library

Hence the word "learning" I did say I was learning OOP which im currently doing now, I don't understand the points, due to me never working with or even looking at frameworks... but thank you for listing them, your points might not help me now but may aid others who are considering or creating a framework. Nothing is Impossible, In time I will get better, and you do realise some learn quicker than others? right!.. I'm new to this OO programming so less of the constructive type of criticism

Posted (edited)
I got some opinions from other developers and they said they don't learn frameworks like Laravel or Symfony, as they don't like using other peoples things so they make there "OWN" frameworks..

LOL! That's devs being ignorant. There are some devs that feel like you just do everything yourself and other devs which feel you should use things that make your life easier. I've worked with CodeIgniter and decided that I didn't want to use it or Laravel for my current project as it is overkill. There's too much there that aren't needed or won't be needed, so I set up a very very basic framework for my project. VERY BASIC, as it doesn't use namespacing etc. It should, but the framework is still being developed.

You can make your own, but good luck. You need to learn a ****e ton about http, routing, etc

The first four points are OOP, not framework. You'll learn, you don't just learn OOP overnight. It's what I call progressive learning. After learning the basics, As you use it, you learn more. As you see code examples using it, you learn more. Etc

Edited by Coly010
Posted
[...] I've worked with CodeIgniter and decided that I didn't want to use it or Laravel for my current project as it is overkill. There's too much there that aren't needed or won't be needed, so I set up a very very basic framework for my project. VERY BASIC, as it doesn't use namespacing etc. [...]

Off-topic, but you do realise that Laravel does supply a micro-framework - http://lumen.laravel.com/ which would only involve the core and not any helpers or libraries.

Posted (edited)
Off-topic, but you do realise that Laravel does supply a micro-framework - http://lumen.laravel.com/ which would only involve the core and not any helpers or libraries.

I've been a Laravel developer since Laravel was starting out, I love it. When they announced Lumen, I was so happy. Lumen is fantastic for creating API's. But, even still, Lumen isn't HUGELY faster than Laravel anyway because Laravel is quick in itself.

LOL! That's devs being ignorant. There are some devs that feel like you just do everything yourself and other devs which feel you should use things that make your life easier. I've worked with CodeIgniter and decided that I didn't want to use it or Laravel for my current project as it is overkill. There's too much there that aren't needed or won't be needed, so I set up a very very basic framework for my project. VERY BASIC, as it doesn't use namespacing etc. It should, but the framework is still being developed.

You can make your own, but good luck. You need to learn a ****e ton about http, routing, etc

The first four points are OOP, not framework. You'll learn, you don't just learn OOP overnight. It's what I call progressive learning. After learning the basics, As you use it, you learn more. As you see code examples using it, you learn more. Etc

See, you say this, but I've just created to instances on homestead. One using your Chaoticframe Framework, one using Laravel. Both just returned a view with "Hello world". Even your MASSIVELY smaller Framework cannot compete with Laravel, and this was without caching too. I've proved screenshots of both tests.

ChaoticFrame code:

[ATTACH=CONFIG]2175[/ATTACH]

Laravel:

[ATTACH=CONFIG]2176[/ATTACH]

Edit: I'd just like to add, Laravel wasn't installed during the first test, on just the Chaoticframe code. I did multiple tests, took the average one, then installed Laravel after removing the original code. The directory name is just the same. I also did page load times, and, Laravel won again. But, as it's calculated in microseconds, it really wasn't worth screenshotting.

frame.png.d40bf3cc4f8cd908f2445a98fd74275b.png

laravel.thumb.png.b970f718338c0211829f9a1c8a8d0f01.png

Edited by IllegalPigeon
Posted (edited)
I've been a Laravel developer since Laravel was starting out, I love it. When they announced Lumen, I was so happy. Lumen is fantastic for creating API's. But, even still, Lumen isn't HUGELY faster than Laravel anyway because Laravel is quick in itself.

 

See, you say this, but I've just created to instances on homestead. One using your Chaoticframe Framework, one using Laravel. Both just returned a view with "Hello world". Even your MASSIVELY smaller Framework cannot compete with Laravel, and this was without caching too. I've proved screenshots of both tests.

ChaoticFrame code:

[ATTACH=CONFIG]2175[/ATTACH]

Laravel:

[ATTACH=CONFIG]2176[/ATTACH]

Edit: I'd just like to add, Laravel wasn't installed during the first test, on just the Chaoticframe code. I did multiple tests, took the average one, then installed Laravel after removing the original code. The directory name is just the same. I also did page load times, and, Laravel won again. But, as it's calculated in microseconds, it really wasn't worth screenshotting.

You are really starting to piss me off. You seem to have something against me and what I do. I never said it would compete with Laravel, I never said it would be faster than Laravel. I stated that it was an extremely basic framework. Not once did I say it was in anyway better. I simply said that Laravel had a lot of features I didn't need. I never said that I wanted my own framework because it would give me any more benefit than Laravel would. If you read the topic I created on ChaoticFrame, I said about how it was a challenge to myself to be able to set it up and create it. I never said it would give anyone any benefits over any other framework.

I HAVE NEVER CLAIMED TO BE AN EXPERT DEVELOPER, I DO NOT KNOW EVERYTHING ABOUT EVERY LANGUAGE AND FRAMEWORK.

There you happy [MENTION=71663]IllegalPigeon[/MENTION] ?

Edited by Coly010
Posted (edited)
You are really starting to piss me off. You seem to have something against me and what I do. I never said it would compete with Laravel, I never said it would be faster than Laravel. I stated that it was an extremely basic framework. Not once did I say it was in anyway better. I simply said that Laravel had a lot of features I didn't need. I never said that I wanted my own framework because it would give me any more benefit than Laravel would. If you read the topic I created on ChaoticFrame, I said about how it was a challenge to myself to be able to set it up and create it. I never said it would give anyone any benefits over any other framework.

I was simply pointing out that, just because a Framework is (in your words) "overkill", doesn't mean it's going to under-perform. I have nothing against you, if it was someone else, I'd do the benchmark for them.

I believe that your problem is that you don't like being told your wrong. I don't see why you can't just say "yeah, you're right" and accept the information being given to you. None of my comments have been said with malicious intent and are informative. Now OP can look at this and say "Hey, Laravel is pretty ****ing quick. I might take a look at it". When he does take a look at it, he'll be in awe because Laravel is amazing, and adhering to L5's coding standards and practices will intern make you learna lot more.

Don't feel like I'm attacking you, you're the only person I've seen in the last 2 days providing incorrect information, I was simply correcting you. When you argued with me over the sessions thing, I just carried on proving more data to prove to you that your information is incorrect, you're the one that started crying. Don't comment on things if you don't like the thought of someone saying "hey, actually, you're a bit wrong there..."

Edit:

I HAVE NEVER CLAIMED TO BE AN EXPERT DEVELOPER, I DO NOT KNOW EVERYTHING ABOUT EVERY LANGUAGE AND FRAMEWORK.

There you happy [MENTION=71663]IllegalPigeon[/MENTION] ?

This is neither here nor there. I have never once mentioned your abilities or tried to insult your abilities. I am again only providing information based on some incorrect information you are providing people. This forum is quite inactive. If I see someone else post something that I feel is wrong, I will happily tell them about it. You're taking offence to someone correcting you when you should be soaking up the information.

I do not care for your coding abilities. If you're telling other people incorrect information, though, then I'll simply tell you that you're wrong and provide reasons or examples where needed.

Chill, bro.

Edited by IllegalPigeon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...