• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:58
CEST 04:58
KST 11:58
  • 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
[ASL21] Ro4 Preview: On Course12Code S Season 1 - RO8 Preview7[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16
Community News
Code S Season 1 (2026) - RO8 Results1Weekly Cups (May 4-10): Clem, MaxPax, herO win1Maestros of The Game 2 announcement and schedule !11Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12
StarCraft 2
General
Code S Season 1 (2026) - RO12 Results Team Liquid Map Contest #22 - The Finalists Code S Season 1 (2026) - RO8 Results MaNa leaves Team Liquid Weekly Cups (May 4-10): Clem, MaxPax, herO win
Tourneys
KSL Week 89 2026 GSL Season 2 Qualifiers Maestros of The Game 2 announcement and schedule ! $5,000 WardiTV Spring Championship 2026 SC2 INu's Battles#16 <BO.9>
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 525 Wheel of Misfortune The PondCast: SC2 News & Results Mutation # 524 Death and Taxes Mutation # 523 Firewall
Brood War
General
CERTIFIED ETHEREUM / USDT & BITCOIN RECOVERY BW General Discussion ASL21 General Discussion vespene.gg — BW replays in browser Pros React to: TvT Masterclass in FlaSh vs Light
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Semifinals B [Megathread] Daily Proleagues [ASL21] Semifinals A
Strategy
Fighting Spirit mining rates [G] Hydra ZvZ: An Introduction Simple Questions, Simple Answers Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Warcraft III: The Frozen Throne Starcraft Tabletop Miniature Game PC Games Sales Thread
Dota 2
The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1847 users

The Big Programming Thread - Page 742

Forum Index > General Forum
Post a Reply
Prev 1 740 741 742 743 744 1032 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
28100 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
Poland17743 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
Poland17743 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
Hyrule19213 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
Poland17743 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
Hyrule19213 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
Poland17743 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
28100 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 1032 Next
Please log in or register to reply.
Live Events Refresh
The PiG Daily
21:30
Best Games
Maru vs Rogue
ByuN vs herO
Maru vs Classic
SHIN vs Zoun
Clem vs MaxPax
SHIN vs ByuN
PiGStarcraft553
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft553
ByuN 332
RuFF_SC2 160
Ketroc 39
StarCraft: Brood War
yabsab 47
Jaeyun 14
Icarus 2
Dota 2
NeuroSwarm177
League of Legends
JimRising 579
Counter-Strike
taco 498
Other Games
summit1g7037
C9.Mang0530
WinterStarcraft344
monkeys_forever286
ViBE117
Trikslyr60
amsayoshi23
Organizations
Other Games
gamesdonequick1174
BasetradeTV69
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 88
• CranKy Ducklings SOOP8
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki35
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Korean StarCraft League
2m
davetesta23
CranKy Ducklings7
RSL Revival
7h 2m
Clem vs Rogue
Bunny vs Lambo
IPSL
13h 2m
Dewalt vs nOmaD
Ret vs Cross
BSL
13h 2m
Artosis vs Sterling
eOnzErG vs TBD
BSL
16h 2m
Bonyth vs Doodle
Dewalt vs TerrOr
GSL
1d 5h
Cure vs herO
SHIN vs Maru
IPSL
1d 13h
Bonyth vs Napoleon
G5 vs JDConan
BSL
1d 16h
OyAji vs JDConan
DragOn vs TBD
Replay Cast
2 days
Monday Night Weeklies
2 days
[ Show More ]
Replay Cast
2 days
The PondCast
3 days
GSL
4 days
Replay Cast
4 days
GSL
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Escore Tournament S2: W7
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
Heroes Pulsing #1
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

YSL S3
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
WardiTV Spring 2026
2026 GSL S2
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
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 © 2026 TLnet. All Rights Reserved.