• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:22
CEST 03:22
KST 10:22
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL54Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation The GOAT ranking of GOAT rankings Statistics for vetoed/disliked maps How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Trading/Investing Thread Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 616 users

The Big Programming Thread - Page 742

Forum Index > General Forum
Post a Reply
Prev 1 740 741 742 743 744 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
July 16 2016 05:09 GMT
#14821
I'm curious, can we discuss front end on here? Or should that be on a separate thread? I'm a full stack dev, but I currently focus on frontend at my current position, and I rarely see frontend being discussed here.
Life?
TheEmulator
Profile Blog Joined July 2010
28087 Posts
Last Edited: 2016-07-16 05:27:24
July 16 2016 05:25 GMT
#14822
Everything should be fair game. I just don't think there's a lot of pure frontend guys here so it is brought up less than other areas.
Administrator
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
July 16 2016 06:11 GMT
#14823
Well then, I definitely will try and participate more often from the frontend angle - if any of you backend devs have any frontend questions please feel free to ask, and I will try to answer to the best of my abilities.

I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going.
Life?
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
Last Edited: 2016-07-16 10:23:14
July 16 2016 10:22 GMT
#14824
On July 16 2016 15:11 ShoCkeyy wrote:
Well then, I definitely will try and participate more often from the frontend angle - if any of you backend devs have any frontend questions please feel free to ask, and I will try to answer to the best of my abilities.

I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going.


Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week...

Key feature should be ease of integration with some pure-backend mvc framework that's not JS.
Time is precious. Waste it wisely.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
July 16 2016 12:23 GMT
#14825
On July 16 2016 13:42 Aerisky wrote:
Show nested quote +
On July 16 2016 03:33 Shield wrote:
I've added a colleague recently on Facebook. Even though I criticise Apple and their products (he is an Apple user and he also criticises Microsoft), his attacks are sometimes personal. E.g. "you only complain" or he brings up he doesn't like my programming jokes in a subtle way, etc. Do you think it's wise to unfriend him from Facebook? Does anyone have experience with this? Everyone has an opinion, but I find him annoying and I want to keep my Facebook clean from unfriendly people.

Edit: He also blamed me that he had to finish a project, which I didn't have time to finish because I booked holiday months in advance. I don't care if he knew it was in advance, but I'm not the project manager.

You can also just put him on your block/don't-show-to list or whatever it's called, so whenever you post something he won't be able to see it.


Thanks, that's actually good advice. I can do this, while I can see if his behaviour changes. If not, the next step is to unfriend him.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2016-07-16 12:28:12
July 16 2016 12:27 GMT
#14826
On July 16 2016 19:22 Manit0u wrote:
Show nested quote +
On July 16 2016 15:11 ShoCkeyy wrote:
Well then, I definitely will try and participate more often from the frontend angle - if any of you backend devs have any frontend questions please feel free to ask, and I will try to answer to the best of my abilities.

I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going.


Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week...

Key feature should be ease of integration with some pure-backend mvc framework that's not JS.

Doesn't matter which one as long as they have ajax support, and that's what all the js frameworks that dare to call themselves a framework have.

But based on what you're saying, I don't think you guys will like react so much as I don't think it will get along with the server side views from that pure-backend mvc framework you have. Angular 1 will be a better choice imo, you can just put the server side rendered stuff into an ng-view (or whatever the fuck that shit is) and you're all set. I'm no expert myself either though. If you're just going to integrate with the server over a rest api and not going to use server-side views and shit, just go with react.
"windows bash is a steaming heap of shit" tofucake
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
July 16 2016 14:26 GMT
#14827
Does anyone have a good introduction to AngularJS 2 that is entirely raw Javascript?

For our next website I want to use a modern JS framework and, since I'm familiar with AngularJS 1, I decided that AngularJS 2 might be a good idea. Pretty much all the tutorials and documentation on the website is TypeScript or "See TypeScript section" and my coworkers don't want to learn TypeScript and don't want to learn a toolchain that is more complex than copying a file into the repository.

I'm considering just using AngularJS 1.5 since I already know how to use that, but I'd rather take something that's more advanced if I can find an introduction that is easy enough for them.
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
July 16 2016 15:23 GMT
#14828
TypeScript looks amazing though.
Time is precious. Waste it wisely.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2016-07-16 18:09:54
July 16 2016 18:05 GMT
#14829
On July 16 2016 19:22 Manit0u wrote:
Show nested quote +
On July 16 2016 15:11 ShoCkeyy wrote:
Well then, I definitely will try and participate more often from the frontend angle - if any of you backend devs have any frontend questions please feel free to ask, and I will try to answer to the best of my abilities.

I've worked with ComicCon, Marvel Heroes, Mens Warehouse, Optimizely, Solar City, HP, Seagate, and the list can keep going.


Please tell me which JS framework should we use for our new project because we don't have any pure front-end guys and we're lost in the sea of JS frameworks which seems to expand every freaking week...

Key feature should be ease of integration with some pure-backend mvc framework that's not JS.


Well that depends, what are you trying to achieve on the frontend? I don't want to say a "framework", and it actually might not suit you or your project.

http://engineering.paiza.io/entry/2015/03/12/145216

They have a pretty good breakdown of JS frameworks - I personally like using Vue.js and Aurelia in my projects. I stopped using Angular after the announcement of 2 came out. Personally, what a waste of time learning A1 was with the complete rewrite, and the support for Angular 1 is steadily declining.

http://ilikekillnerds.com/2015/05/the-death-of-angularjs/

http://aurelia.io - https://github.com/aurelia
https://vuejs.org - https://github.com/vuejs/vue

Also, if this will be client facing, be careful, A LOT of clients do not use node.
Life?
-Zoda-
Profile Blog Joined April 2011
France3578 Posts
July 17 2016 07:23 GMT
#14830
On July 16 2016 23:26 Morfildur wrote:
Does anyone have a good introduction to AngularJS 2 that is entirely raw Javascript?

For our next website I want to use a modern JS framework and, since I'm familiar with AngularJS 1, I decided that AngularJS 2 might be a good idea. Pretty much all the tutorials and documentation on the website is TypeScript or "See TypeScript section" and my coworkers don't want to learn TypeScript and don't want to learn a toolchain that is more complex than copying a file into the repository.

I'm considering just using AngularJS 1.5 since I already know how to use that, but I'd rather take something that's more advanced if I can find an introduction that is easy enough for them.

Typescript is not so different from js, besides the "class" stuff, you can just write classic js without worrying about the types, etc. Putting you files under a gulp watch or something that compiles on save makes it transparent. Otherwise I guess you have to use ES6 classes, which mean you'll need babel to compile stuff anyway.

Angular 2 is very different from Angular1.5 though. They just kept the name for business purposes.
Vue.js and Aurelia are indeed much closer alternatives if you want something recent (but Aurelia is still RC iirc).

About a js framework for back end guys, I haven't tried it yet but Mithril is very lightweight and I've heard a lot of good about it, it may be a good choice for minimal efforts.
If you're really sticking to server-side rendering, turbolinks is probably the best option though.
♪ 最初はi つなぐdo それ つまりlife 常に移動 ♪ - IGN: Uhryks
graNite
Profile Blog Joined December 2010
Germany4434 Posts
July 17 2016 22:05 GMT
#14831
i managed to parse a table and styled it with css. how do i put my php file on my existing wordpress page so it looks exactly like when I open the .php file by itself in a browser?
what i found so far are only some wordpress plugins that allow me to put php code, but not the whole file with header, css and javascript. can i embed it somehow?
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
tofucake
Profile Blog Joined October 2009
Hyrule19030 Posts
July 17 2016 22:55 GMT
#14832
wordpress is bad and you really should avoid it if at all possible
Liquipediaasante sana squash banana
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
July 18 2016 01:05 GMT
#14833
Lmao, tofu, but it's a great place to start messing with theming. I've met a lot of UX/UI that learn their frontend because of wordpress. While it's php structure is shit, it's still a decent place to start for frontend.

Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time.
Life?
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
July 18 2016 01:09 GMT
#14834
On July 17 2016 16:23 -Zoda- wrote:
Show nested quote +
On July 16 2016 23:26 Morfildur wrote:
Does anyone have a good introduction to AngularJS 2 that is entirely raw Javascript?

For our next website I want to use a modern JS framework and, since I'm familiar with AngularJS 1, I decided that AngularJS 2 might be a good idea. Pretty much all the tutorials and documentation on the website is TypeScript or "See TypeScript section" and my coworkers don't want to learn TypeScript and don't want to learn a toolchain that is more complex than copying a file into the repository.

I'm considering just using AngularJS 1.5 since I already know how to use that, but I'd rather take something that's more advanced if I can find an introduction that is easy enough for them.

Typescript is not so different from js, besides the "class" stuff, you can just write classic js without worrying about the types, etc. Putting you files under a gulp watch or something that compiles on save makes it transparent. Otherwise I guess you have to use ES6 classes, which mean you'll need babel to compile stuff anyway.

Angular 2 is very different from Angular1.5 though. They just kept the name for business purposes.
Vue.js and Aurelia are indeed much closer alternatives if you want something recent (but Aurelia is still RC iirc).

About a js framework for back end guys, I haven't tried it yet but Mithril is very lightweight and I've heard a lot of good about it, it may be a good choice for minimal efforts.
If you're really sticking to server-side rendering, turbolinks is probably the best option though.


Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u. As for turbolinks, depends how the Dom reloads. I'd say probably faster than a mvvm on the client side but definitely not worth it though in the long term.
Life?
graNite
Profile Blog Joined December 2010
Germany4434 Posts
July 18 2016 05:28 GMT
#14835
On July 18 2016 07:55 tofucake wrote:
wordpress is bad and you really should avoid it if at all possible


Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need:
an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute.


On July 18 2016 10:05 ShoCkeyy wrote:
Lmao, tofu, but it's a great place to start messing with theming. I've met a lot of UX/UI that learn their frontend because of wordpress. While it's php structure is shit, it's still a decent place to start for frontend.

Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time.



what is this answer [image loading]
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
Last Edited: 2016-07-18 14:37:45
July 18 2016 12:00 GMT
#14836
On July 18 2016 14:28 graNite wrote:
Show nested quote +
On July 18 2016 07:55 tofucake wrote:
wordpress is bad and you really should avoid it if at all possible


Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need:
an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute.


Show nested quote +
On July 18 2016 10:05 ShoCkeyy wrote:
Lmao, tofu, but it's a great place to start messing with theming. I've met a lot of UX/UI that learn their frontend because of wordpress. While it's php structure is shit, it's still a decent place to start for frontend.

Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time.



what is this answer [image loading]


Well, WordPress is good for people with no programming capabilities or incentives. Good if you just want to create your own blog or something but not much past that. If you want to learn how to do things properly (and usually better than WP) just pick some microframework like Lumen or Silex and start there. They are really easy to begin with for simple pages and you actually have full control over what you're doing and don't have to resort to special versions of common tools just so they can work with WP. And better yet, you could go with something like Flask (but that's Python, not PHP) and have a full working site by creating like 5 files (that includes the views, css etc.).
Time is precious. Waste it wisely.
tofucake
Profile Blog Joined October 2009
Hyrule19030 Posts
July 18 2016 12:31 GMT
#14837
the api is terribly designed (even worse than normal php) to the point where even doing something simple like theming a single comment requires a dozen different calls

its security is almost as good as a wet cardboard box

the database design is just...I don't even have words

it scales like a sloth

it's also about as quick as a sloth
Liquipediaasante sana squash banana
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2016-07-19 04:49:32
July 19 2016 04:45 GMT
#14838
On July 18 2016 14:28 graNite wrote:
Show nested quote +
On July 18 2016 07:55 tofucake wrote:
wordpress is bad and you really should avoid it if at all possible


Why exactly? I found it really easy to use, its free, it has lots of themes ready to be installed in seconds and it does just what I need:
an cms that even people can use who never wrote a single line of code before so that everybody on my club can contribute.


Show nested quote +
On July 18 2016 10:05 ShoCkeyy wrote:
Lmao, tofu, but it's a great place to start messing with theming. I've met a lot of UX/UI that learn their frontend because of wordpress. While it's php structure is shit, it's still a decent place to start for frontend.

Either way graNite, just look up how to theme wordpress and you'll find a lot of ways to include your personal .php file - now in terms of security, don't be frightened that you may encounter some malware injection - usually wordpress hosted on shitty servers are compromised all the time.



what is this answer [image loading]


Like I said:

https://codex.wordpress.org/Theme_Development

Look up how to theme wordpress, you'll be able to learn how to include your .php file... Instead of asking what kind of answer is this, ask for a better understanding. I've also have developed a lot of wordpress sites in the last eight years. It's not hard, and it's nice money when a small business is looking for one. Learning how to include your .php file in wordpress can also bring in a nice side revenue.

On July 18 2016 21:31 tofucake wrote:
the api is terribly designed (even worse than normal php) to the point where even doing something simple like theming a single comment requires a dozen different calls

its security is almost as good as a wet cardboard box

the database design is just...I don't even have words

it scales like a sloth

it's also about as quick as a sloth


Eventually you learn how to get around annoying parts, and it's pretty simple to get something up and running pretty quickly. However, the security is shit but that's also due to a lot of shitty hosting companies with infected servers (hostgator).

But I definitely don't want to be ruining this thread with wordpress talk anyways - I've actually learned some of my backend knowledge from this very thread, and certain people on this site. Just wanted to try and contribute using my best knowledge
Life?
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
July 20 2016 06:29 GMT
#14839
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one
Time is precious. Waste it wisely.
TheEmulator
Profile Blog Joined July 2010
28087 Posts
July 20 2016 06:36 GMT
#14840
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too
Administrator
Prev 1 740 741 742 743 744 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 38m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 266
RuFF_SC2 137
Livibee 87
StarCraft: Brood War
Sea 1098
NaDa 40
Icarus 2
Dota 2
420jenkins668
capcasts134
NeuroSwarm92
febbydoto10
LuMiX1
League of Legends
JimRising 686
Counter-Strike
Stewie2K751
taco 608
Other Games
summit1g10365
tarik_tv4837
ViBE191
Organizations
Other Games
BasetradeTV70
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH244
• Hupsaiya 108
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki16
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift4827
• Jankos1588
• masondota2974
Upcoming Events
Korean StarCraft League
1h 38m
CranKy Ducklings
8h 38m
RSL Revival
8h 38m
ByuN vs Cham
herO vs Reynor
FEL
14h 38m
RSL Revival
1d 8h
Clem vs Classic
SHIN vs Cure
FEL
1d 10h
BSL: ProLeague
1d 16h
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
[ Show More ]
Replay Cast
4 days
RSL Revival
5 days
Replay Cast
5 days
RSL Revival
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.