|
NtotheTC posted:Lots of reasons I guess. I hate Javascript from the outset. I despise the dev environment i.e. node, bower, grunt, etc. I hate Typescript, I also hate people who don't use Typescript. I hate the lack of best practices, I hate the piss poor documentation, I hate that tests are so annoying to write. Tell us how you really feel I feel the same, coming from something like C#, oh my......
|
# ¿ Aug 30, 2014 19:04 |
|
|
# ¿ Apr 29, 2024 13:19 |
|
The Wizard of Poz posted:Yeah it's the compiling of modules that I'm interested in, think I'll continue to use npm scripts with watchify/browserify since that works fairly well so far. Make a JS file with just your models in it and load it everywhere you need them?
|
# ¿ Feb 4, 2015 09:20 |
|
Maybe you guys can help me with this, I just started with JS development and I am looking for a way to do the following: I have inherited an application that uses its own collections and model binding that I am looking to extend. This application uses a hierarchy of arrays and models within, a bit like thread, post and replies. So top model contains a collections of models that themselves have other models within them. Can I use backbone for this? Can I have models that contain a collection of other models and still hook everything up with eventhandlers and the rerendering logic? I've been reading up on Backbone and Ember but Ember is too much for me right now, so if Backbone can do it, it will save me some time.
|
# ¿ Feb 5, 2015 06:49 |
|
Wheany posted:I haven't done anything with Backbone for a couple of years, but back then, Backbone didn't have native support for nested models. I don't know if that has changed. There were extensions that added that, but I haven't used them. This is what I was afraid off, I've looked at Backbone relational but that is another layer I need to learn. I took the plunge and installed Ember.js. We'll see how it goes. Ember.data looks promising. Thanks.
|
# ¿ Feb 6, 2015 21:35 |
|
So in trying to learn Ember I've decided to do their ToDo MVC tutorial. Half way in the stuff breaks with the following error: code:
Edit: Seems like a new version of Ember data fixes it...... nice! Mr Shiny Pants fucked around with this message at 16:34 on Feb 9, 2015 |
# ¿ Feb 9, 2015 16:03 |
|
Wheany posted:Welcome to Ember. It gets better doesn't it? please say yes
|
# ¿ Feb 9, 2015 17:41 |
|
Wheany posted:My experience says no, but maybe you "get" the framework better than I do. Seeing that I just started using it and already running into this, I would say hardly. Edit: After doing some more research: Maybe I am misunderstanding these frameworks but is it really hard to create something like a drill-down? Have a top level, click on it, it's child items appear, click on child item and it's child items appear. This seems like something you would really want, and it looks to be really hard if I look at Backbone relational and all the other frameworks. Mr Shiny Pants fucked around with this message at 20:31 on Feb 9, 2015 |
# ¿ Feb 9, 2015 20:05 |
|
Sedro posted:This is exactly what ember is designed for, with nested routes and outlets Thanks, at least I know I am on the right track. I will endure!
|
# ¿ Feb 9, 2015 21:23 |
|
PlaneGuy posted:I'm such a loving front-end luddite. Gulp with babel and sass, then I... download dependencies from their respective websites and commit them to the repo This. I mean they are just scripts right? Create scripts directory, download backbone and its dependencies and put them in the folder. Reference them and off you go. It makes it easy to reason about stuff. Works pretty well.
|
# ¿ Apr 9, 2015 05:41 |
|
Heskie posted:Do you run the full GUI inside the VM and work within it (Editor/IDE etc) or just use the VM as a terminal/server and use Editors/IDEs on the Windows host? I bought VMware fusion and run a Windows 7 install in OSX on which I use Visual Studio. A maximized window or Unity is wonderful on a 27" screen.
|
# ¿ Aug 5, 2015 08:50 |
|
Elm is the poo poo, I haven't had this much fun writing webpages since whenever. Thanks to the guy posting the video, you rock! Fsharp syntax for webpages, what is not to like
|
# ¿ Dec 18, 2015 23:01 |
|
iOs is the same, went from a really discoverable UI to that flat stuff on which you just press things to see if they may interact. Don't get me started on 3d push that works on some models and not on others. That's what you get when stuff is "finished" but you just can't leave it alone.
|
# ¿ Jan 30, 2017 20:41 |
|
So back to plain old JS or TS it is then? I like ELM a lot, it is lightweight and the guy making it has a Vision of how it should work. I like that in software.
|
# ¿ Apr 7, 2017 17:30 |
|
Lumpy posted:I *love* Elm as well. In fact, I finished my first toy project in it: https://www.eskimospy.com/chordbook (source is linked in the footer) The need for ports should become less and less as the community gets bigger and the core stabilizes. Otherwise I agree with you.
|
# ¿ Apr 8, 2017 11:04 |
|
I just read the linked page and I think I can understand his reasoning, Its the same argument as with an ORM I guess, all the extra work you need to do to get stuff from the DB when, if you had just learned SQL in the first place, stuff would be lot simpler and faster. SQL is still alive and kicking but NHibernate seems to have lost a lot of love since MS came out with EF. Not saying it is 100% the same for webdevelopment though. Reading the last of couple of posts, I am that guy learning stuff and undoubtedly doing stupid stuff with plain javascript and HTML right now. Got to start somewhere I guess, otherwise its hard to see the forest for the trees with all the web stuff. Usually this works out though, you come across some repetitive coding work and figure out why you want a framework for some tasks instead of the other way around.
|
# ¿ Jul 28, 2018 23:47 |
|
a hot gujju bhabhi posted:That's a pretty bold assertion. That is what I was getting from his post. Maybe I read it wrong, but I read the just use CSS HTML etc. etc. as just use SQL like a lot of arguments against an ORM. Mr Shiny Pants fucked around with this message at 08:33 on Jul 30, 2018 |
# ¿ Jul 30, 2018 08:27 |
|
Bruegels Fuckbooks posted:NHybernate and Entity Framework and all that stuff are great products. What unfortunately happened is that the underlying architecture of a product is generally dictated by the structure of the organization, so if you have, say a database team, it'll become it's own monolithic organization, and many organizations that made the horrible mistake of using, say, Oracle as their back-end database ended up with scores of Oracle dbas, programmers, and a generation of legacy databases. EF is great if you're doing a database from scratch and don't have a database team, much less if you have to adapt a ten year old database designed by people who don't understand 3NF and that there are other datatypes besides varchar - however most of the entity framework applications in the wild ended up being "make a lovely legacy application/database use EF" and EF got blamed for the original design being lovely, to say nothing about idiots who would find a slow query, and both rewrite it in standard SQL and somehow conclude it was writing the sql that hand that fixed the problem as opposed to, you know, having an index on the column that needed it. Good points, I was merely commenting on the fact that, as pointed out in the link, when a framework goes out of fashion all your knowledge is essentially worthless because a lot of that knowledge is tied to a specific ORM implementation/framework and how it handles stuff under the hood ( query plans, architecture, do's and don'ts etc. ). Whereas the underlying technology is still the same SQL. So you could make a point that if you had just learned the underlying technology instead of trying to pretend you don't persist to a relational model you'd be better off in the long run. Not saying an ORM is useless it's just that there is a lot of stuff written about them and I thought the point he makes has some overlap with criticisms I've read about ORMs. Or I could be misunderstanding the whole thing, it happened before. Mr Shiny Pants fucked around with this message at 10:49 on Jul 30, 2018 |
# ¿ Jul 30, 2018 10:38 |
|
I do have a question, I am writing some simple pages and do some Ajax calls in the background to retrieve some data from my server, like the user details for the currently logged on user. Where do I put this data if I need to reuse it and don't want to do a request every time this data is needed? Can I just put the data in a Global? That sounds not quite right, on the other hand it is just one piece of data which is unique to the page and which won't be changed but I need it in quite a few places.
|
# ¿ Jul 30, 2018 10:43 |
|
Create one big picture with all the icons in it, overlay a table on it with cells spaced so the cell encapsulates the icon, put an index on the cell and a eventlistener on it so you can catch which icon the user clicks. I don't know if this works. I thought it was fun to think about. 1,4 MB is not that big anyway.
|
# ¿ Aug 2, 2018 09:42 |
|
Love Stole the Day posted:With my self-learning experience, I read a thing pretty early on that I still try to stick to. It goes something like: I agree, but I also would like to point out that sometimes making it look pretty keeps you working on it longer instead of getting disappointed with it and abandoning it altogether. YMMV of course.
|
# ¿ Sep 10, 2018 09:17 |
|
Doh004 posted:If you're doing .NET, why WOULDN'T you use Visual Studio? I loving miss it so much. Because you run Linux? Ionide is pretty awesome.
|
# ¿ Nov 6, 2018 07:11 |
|
Doh004 posted:Do people develop .NET on non Windows machines these days? I haven't done it in 6+ years so I'm definitely not up to speed on it anymore. I do. Only F# though.
|
# ¿ Nov 6, 2018 15:11 |
|
|
# ¿ Apr 29, 2024 13:19 |
|
Ape Fist posted:Visual Studio Code is not Visual Studio and does not have the support for .NET development out of the box. You have to install a bunch of helper plugins (which bug out when it looks at cshtml files because Visual Studio Code can't figure out where Razor Syntax begins and HTML ends.) as well as a bunch of other poo poo. Relax gramps.
|
# ¿ Nov 7, 2018 06:31 |