Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tahnik389968y@fariz I don't mind JS, I think we will have better access to OS features via C++ or Java. Let's see if someone can share their insights into this.
-
Dacexi120438y@tahnik i already started to make a devRant desktop app. Contact me if you want to colab. It's in electron fyi.
-
tahnik389968y@dikiaap Yeah, also node is not exactly built for multi threaded operation. But I respect the choice @Dacexi has made.
-
@tahnik Just out of curiosity; are OS features necessary for this kind of an app?
Don't get me wrong, I love c++, but it wouldn't be my first pick for something like this :p -
tahnik389968y@typodeaf maybe not necessary, but would be cool to have it. The website for now lacks features like desktop notification. We can have shell extension that gives you notification alerts (like how many notification we have)
What would pick instead of C++ or Java? Unfortunately there's isn't that many options for cross platform GUI apps. But we can of course discuss about it, in case you have a better idea. -
I'm a bit new to Java and I'd love to help, but I'm kinda busy. Maybe in a week? Also, any frameworks? I have to say Jsoup's not bad in my opinion and I've already built a devRant scraper with it. (Also, I scraped too many rants… which is why I have to do this on cellular)
-
I am fairly good at writing JavaFX apps, I mostly use some MVVM approach. I did write some framework for it with modules (taskbar, notification, preloader, updater etc) back when it came out. I wanted to wait for Java 9 to make them true modules and refractor them completely using Java 8 features.
-
donuts238558yI'm actually planning to create a WPF/MVVM one over the next few days. Forking this https://github.com/WichardRiezebos/...
-
donuts238558y@SirWindfield How does Java/FX compare to WPF/Metro? I'm still not sure I want to try making a Win10 Universal App...
-
donuts238558yAren't the devRant mobile apps already built with js/electron/cordova/web wrapper. From how the apps function and the web site looks, it feels like they are?
-
@allanx2000 I like it more than WPF, Java was my first language that I learned so I didn't even considered to use another UI framework at the time :) It is super easy to pick up. And separating styling, behavior and ui code makes it super easy to test. If you combine it with MVVM, unit tests are easy to write too :)
-
donuts238558y@SirWindfield Hm... And it has a UI Designer?
I dunno, my experience with Swing and Android layouts which I think is sort of a hybrid... Feels WPF XAML is way better -
@allanx2000 ye, scene builder. Easy to use and still powerful. I never used wpf except for small projects but it looks the same to me tbh
-
tahnik389968y@calmyourtities I don't think we'll need any framework. Java has plenty of built in libraries. We can use JavaFX for the GUI
@suhail I think there's already an existing one. Also, if it's in the browser why not just go to the website anyway
@SirWindfield we can pretty much use the full MVC pattern with JavaFX
@allanx2000 there's a wpf app already by @JS96 His app is solid so I would want to avoid wpf. There's one built with electron but I think that is a Web wrapper. Not from the scratch.
JavaFX uses fxml and is very similar to XAML -
JS96184948yInteresting project. :)
I recommend C++ (QT) if you want to make it cross platform.
P.S.
@tahnik as you said, my app is native UWP (XAML + VB.NET). :P -
donuts238558y@JS96 cool, any chance I could get the source code. Or just how should I learn/think about UWP?
-
@Dacexi do you by any chance have the source code available somewhere? I am currently iOS developer but has been using js (react, vue) more and more in other projects, front end. And I was gonna try build something yesterday with electron. I also found a electron+vue template. Anyhow it would be nice to see how you structure and build an desktop app with electron. 👌
-
Dacexi120438y@troligtvis it's on my github found on my profile. The code is a bit sloppy as it was my learning project for Vue
-
Dacexi120438y@troligtvis if you're gonna use please don't rip the code and call it your own, contribute to the project on github. Thank You :)
-
@Dacexi haha dude come on. I was more interested in how you structured it all. The electron stuff I mean.
I already have written my own api wrapper (in swift tho) but easy to translate into js.
So don't worry I am not someone who take other work and call it my own. -
Pretty cool idea, if you're gonna do it in java I have a devrant api wrapper for that. It's on my github, you might get some basics from that (or even use it :D it does need some updates but I've got some spare time coming up)
-
tahnik389968y@LucaScorpion yeah I've seen that. If everyone agrees to use Java then I will try to help you as well.
-
evertiro6338y@Dacexi I'd been toying with the idea of building a devRant app in electron as a way of learning it.
-
@LucaScorpion your devRant API looks great! The only thing I'd say is that on
Rant[] weekly = DevRant.weekly();
you should be able to add the week between the parathese -
@calmyourtities Thanks! And good idea, but I'm not sure if the api supports that in any way. I'll have a look.
-
@vortexman100 If we're going with Java I'd just use javafx, works pretty great on all platforms.
-
tahnik389968y@dikiaap @calmyourtities @SirWindfield @LucaScorpion So looks like Java has got most of the votes.
Are you guys interested to give JavaFX a try? -
@tahnik already wrote a couple of private projects in JavaFX :) I am fairly decent with it
-
I used a lot of design patterns and personally I think MVVM fits it the best. Unit testing is much easier with it and it decouples a huge amount of code.
-
tahnik389968y@SirWindfield isn't View Model essentially the controller? Can you please explain? :)
-
Ye, the model stays the same, The View is actually the controller and the ViewModel contains the logic of the view. So basically the view binds to the properties of the view model, making the view model responsive for the processing of user actions. The View is just used as the UI. That makes it a powerful pattern, because you can independently test Model and ViewModel. Both of those have no dependencies to any UI framework or toolkit.
-
@tahnik I'd love to help! I've never used JavaFX before, just swing, but I'll try to learn quickly. Thanks!
-
@calmyourtities it is a huge enhancement compared to swing. Personally I do not see any differences to other cross platform languages. It doesn't matter which language you point at, almost all of them need some extra runtime, even QT. Now that Java 9 is coming, the runtime will shrink immensely because developers can exclude things that they do not need (like java awt). For example, if you use FX only there is no real dependency to AWT and Swing, meaning you can remove already 30Mb worth of space. Embedding the resulting runtime with your program makes it easier to update it and maintain it. I hope that this pushes Java a bit more, because even if it is an old language, it is evolving into the right direction. And the old nasty "do not install Java onto your system because you can get viruses" is completely bullshit nowadays. Applets and Web start are gone, which were a big chunk of those bugs. There might be exploits, but those get fixed relatively fast. And ye, I love the language :)
-
@SirWindfield I love it too. It's always been my favorite even before I got to know it. I think it's a bit underrated. It can create apps, it's cross platform, its verbose, if you really want you could even compile it natively, and, my favorite, it's a standalone because everything is packed in the jar. I can't wait to learn more! (I'm on my first Android app right now)
-
Haha Android is super fun! Ye same here, by far my favorite language. But I didn't know that you can compile it to native.... :)
-
@SirWindfield I just tried Excelsior JET for the first time today. I liked it, but I do with GCJ was continued, I like have a feeling it would be better…
-
tahnik389968y@SirWindfield ok so the we create the GUI using scene builder and each buttons/control points to a method in ViewModel. The viewmodel calls model for the actual logic to be done.
Is that correct? -
Almost, let's say we have a RootView class, this will be the actual controller. It binds its properties to the ViewModel properties. If a user presses a button, JavaFX will call a method within the View class. That class than calls a method within the ViewModel. It is like a proxy. Check out mvvmfx, a framework for javafx. There is an example app that illustrates it quite well :)
-
donuts238558y@tahnik For me a Model like a data record or DTO. Any changes to it won't be automatically reflected in a View. If a View model property is updated though and the View binds to it, the VM will notify the View that it changed and the View will update.
-
tahnik389968y@SirWindfield ok I now fully understand the mvvm pattern. I have no problem using it but if any beginner wants to contribute, it might be difficult for them to understand. What do you think?
MVC is a much simpler concept for everyone to understand if they want to help. -
@tahnik sure, we can do mvc too. I mean if we really need, we can still migrate later on. Dunno if I mentioned it but I worked for some time on a mvvm framework for javafx with native feature support (like taskbar, notifications and co) cross platform. I am waiting for Java 9 to arrive and to port it over. Providing each api as a module is a lot simpler and makes updates more easily :)
-
tahnik389968y@SirWindfield @fariz Ok so we will start with MVC pattern and switch to mvvm later for better testing. I will setup a repo right away and share the link. I will ask for all of yours github username soon.
-
donuts238558y@SirWindfield @tahnik mine too. But wait if we use JavaFX, we can do MVC instead of MVVM? No use of bindings you mean? I've actually never used MVC for a desktop app, only websites.
-
tahnik389968y@allanx2000 I don't like model interacting with the view at all. In JavaFX, FXML is considered the view. View talks with the Controller and controller asks model for the logic. Then the controller gets back to the view and updates it. In pure MVC model updates the view.
-
tahnik389968y@dikiaap @calmyourtities @SirWindfield @LucaScorpion @allanx2000 Hey guys, can you give me your email address? I am opening up a slack team.
-
Dunno :) still, spam mail, doesn't really matter to me :)
svenforgithub at gmail.com
Invite link might be smarter, so others can join too if they want to and keep track of the progress. -
@allanx2000 Eh I don't care too much, it's visible on my website too so posting it here doesn't really matter then.
-
tahnik389968y@SirWindfield @LucaScorpion @allanx2000 I added you guys.
I didn't want to share the link as I don't want everyone to join. Just the collaborators :) -
Despite not being a massive fan I'd say Java just because of the support and the huge community. I'd be happy to help because it's a good idea and I like a challenge xD.
-
If you decide to use JavaFX give me a shout. ;) if it is designed well enough, the desktop app could be very small, portable and universal.
-
tahnik389968y@JavaRules @RhysOC If you guys are interested please give me your email so that I can add you in Slack :)
-
I'd still love to help, but I'm slammed with homework. When do you plan to start?
-
tahnik389968y@danielmcasv awesome, could you please give me your email address so that I can add you in the slack team?
-
@tahnik I checked it out, I'd like to contribute, email: pichardo.software@gmail.com
-
drRoss49158yUse Electron! Just look at VSCode. Supports all the major operating systems and works very well indeed!
-
tahnik389968y@LucaScorpion I used wrong wordings. I mean he has been developing it for a while (even after collabs was introduced). I am wondering at what point he plans to "collab" it.
"collab it".
get it? -
Dacexi120438y@tahnik which project you thinking about? I always have multiple or else i get bored with one of them. I get bored with one. Work 3 days on an other then i have motivation to work on first.
Currently i have 3 projects:
Unnamed: Devrant Desktop
Droppl: Torrent client
Kudoe: A text editor built for coding -
Dacexi120438y@tahnik i think I'm gonna have to redo my devrant client as it was my learning project for vue. Everything is a little bit spaghetti rn.
-
@tahnik you can use every ui framework out there. Electron is just the V8 engine and some native bindings like notifications and tray icon support packed together
-
donuts238558y@Anu-cool-007 already done by JS90 for UWP and I'm actually working on one for myself in WPF.
-
twist900278yElectron is a perfect fit, it worked great for Slack and Atom and many others. Actually it can be a pleasure to develop and support if developed with react and redux.
-
Dacexi120438y@twist900 I'm currently using electron to build a torrent client. About 1.5 - 2x faster than BitTorrent
-
@Dacexi would love to see the code base. Currently trying out electron and reacr ;S
-
Dacexi120438y@SirWindfield code not pretty yet and 2/3ds are compleatly shit. Only look ay main.html and it's scripts. http://droppl.me/
-
Dacexi120438yHey @SirWindfield would you like to join a slack and we could talk a bit more? If so gimme ur mail
-
Dacexi120438y@Lilithium started focusing on http://droppl.me/ but sure, now that i am mostly done with droppl i could pick up development again :)
-
Canilho3167y@tahnik node is not for multi thread? Where did you learn that?
Uber, Netflix both are using node, and they are also the reason why NPM exists fyi.
Any way, you can integrate other languages in node services, if it makes sense for more specific things. -
tahnik389967y@Canilho actually, we are indeed switching to electron. The transition is happening as we speak, I will let you guys know when it had been competed
-
tahnik389967y@Dacexi awesome and of course! The only impediment would be that I am planning to use react. I thought you were using vue for your project? Unless you know react already you might need to go through a bit of learning curve. But it should be quite similar :)
-
tahnik389967y@Dacexi don't worry then, you'll be fine :) I am assuming you know about flux architecture?
-
Dacexi120437y@tahnik not really. I'm a really fast learner though. I learnt react native in a week.
-
RichiSK1527yLove the idea :)
I wanna learn JavaFX a bit so I'm gonna watch this closely :3
Good luck!
Shame I probably can't be much of help 😞 -
tahnik389967y@fariz @Dacexi @troligtvis @ghost1227 @shinoys @drRoss @gratefulDev @twist900 @Canilho guys, have a look at this: https://www.devrant.io/rants/486647.
If you are still interested, clone the repo and jump in! -
tahnik389967y@clay can you email me your email at tahnik at live.co.uk so that I can add you in slack?
-
Why people in 2017 aren't using electron? Don't you see how well slack is working? And atom? This is the perfect stack with Vue.js or polymer
-
@MacTheZazou electron is not the goto solution in 2017... Just saying. And fuck vue :p React 🎉
-
@SirWindfield yeah I wanted to edit my comment but it was to late. For this kind of project, electron is perfect. But ofc it's not always the case. Btw, react < polymer. Fuck js framework. ,,,#UseThePlateform, better performance and stability!
-
Dacexi120437y@Tychus we have had great progress in optimizing. It runs perfect 60fps and as smooth as my 2000$ on my 150$ laptop
-
@Tychus every js app that I use daily doesn't freeze. Jesus, those "no Java pls" bullshittery makes me sick as fk.
-
@SirWindfield you might be the only one then. give atom a try you'll see how shitty those apps can be.
-
@Tychus atom is slow because it loads all plugins at start up. Run vscode. It rund better. Slack is fast too. Even my bare bones music player runs smoothly. It's just your opinion that makes them run badly.
At leat none of the persons working on this projects had any issues with js apps whatsoever. -
Dacexi120437y@Tychus he uses vs code. Made in electron. Slack. Made in Electron. Both work fantastically.
-
Atom work super well on my computer with a Intel M3 CPU... I just don't use hundreds of plugins..
-
maybe it doesn't now or things got better but back when i tried it it sucked ass wasn't using any plugins.
-
Can I join? I worked mainly in Java with techno functional skills. I would love to do some collaboration work. And willing to learn JS as well.
My github handle is yendenikhil -
tahnik389967y@yendenikhil Hey there! Send me your email at tahnik{at}live.co.uk and I will add you to our slack team. For now, you can observe what we do and if you are interested, you can fork and pull. Eventually, when you have a clear idea of our project, I will add you to the repo :)
-
tahnik389967y@Wizardsambolton Awesome! You can fork our repo and start contributing. The best way to get updates and help is via our slack channel. Let me know if you're interested and I will invite you :)
-
I'm a big fan of react, I've been using NW.js instead of electron but I'd love to help out on the react side of things
-
Dacexi120437yThis is a comment sent from the devRantron client to test if comments are working :)
-
tahnik389967yGuys, if you have some time, please help us with some testing. Here is the relevant post: https://www.devrant.io/rants/620608
-
Hi, can I join? I didn't go through all comments, but I can code in Java. Not much experienced in react though. Let me know if I can participate. Thanks.
-
Dacexi120437yHey everyone!
⚡️ devRantron v1.0 has been released ⚡️
It can be downloaded @ https://devrantron.firebaseapp.com/
Here are some ⭐️ awesome ⭐️ features included @ launch (more coming down the pipeline)
🔥 @mention autocomplete in comments.
🌟 Filter out rants you don't want with keywords.
⚡️ Create customized layouts to fit your ranting needs.
💥 Quick reply to mentions directly from the notifications.
Cross platform desktop application for devRant
Cross platform desktop application for devRant