Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

 
First page  Go to the previous page   [01]  [02]  [03]  [04]  [05]  [06]  Go to the next page  Last page
 
Development blog
show user profile  spoon
Authentication works (logon, logout, get refresh token). Still need to find a proper way to make getting refresh tokens transparant, but i will take that up when i have some actual authenticated calls.

Next steps:
- adding the post/reply/edit functionality
- adding image uploads to the above

Still need to figure out what type of text editing im going to use. I like medium.js:

https://yabwe.github.io/medium-editor/demo.html

But it also has drawbacks ... and people know UBB. Im leaning towards UBB code to get up and running faster, and then do an A/B test with medium.js afterwards.


read 710 times
1/13/2016 6:59:48 AM (last edit: 1/13/2016 6:59:48 AM)
show user profile  jStins
Now I know how random people at the pub must feel when overhearing some of the conversations I have with my CG pals.

So yeah... what Nik said.

Looking forward to seeing what you come up with though! :)


-Joel


joelstinson.com

read 703 times
1/13/2016 8:57:49 AM (last edit: 1/13/2016 8:57:49 AM)
show user profile  br0t
oh, interesting! I'll have to do a project using Django, Angular and Bootstrap at work soon. And all of that is new to me. What are you creating the backend in, all javascript?

never get low & slow & out of ideas


read 682 times
1/13/2016 1:44:15 PM (last edit: 1/13/2016 1:44:15 PM)
show user profile  spoon
Nope. Asp.net webapi.


read 679 times
1/13/2016 2:08:46 PM (last edit: 1/13/2016 2:08:46 PM)
show user profile  gogodr
if you are starting with the webapi, here I took a course of .NET in my university last year and for my project I made a .NET WebAPI and MVC with AngularJS and Parse (Parse is a back end service that provides a database and cloud computing as a service)

https://github.com/gogodr/Trabajo.NET/tree/master/TrabajoNET/TrabajoNET

anyways I am sure you can get some pointers out of it :)

----

by the beginning of the .net course I was all like " Oh look, it has changed for the better, now it is really easy to use, looks like it works well. I think I might start using ASP, why not? "
and by the end of the year I was like " Well... it is still shit, but at least I confirmed it.. I will stick with nodeJS"

Hello there

beautiful ;3


read 675 times
1/13/2016 2:34:12 PM (last edit: 1/13/2016 2:36:27 PM)
show user profile  spoon
As much as i love javascript at the clientside, i've glanced at nodejs, but i dont see what it would do better than c#/webapi.


read 646 times
1/13/2016 7:40:07 PM (last edit: 1/13/2016 7:40:07 PM)
show user profile  gogodr
its way more lightweight, serves content faster, handles asynchronous events better,
(though having await in C# is pretty cool){and by better I mean that you have more control over what is going and how it is going}, requires less configuration, its event driven which aligns perfectly with anything web related, the list goes on..

Hello there

beautiful ;3


read 631 times
1/14/2016 12:11:10 AM (last edit: 1/14/2016 12:11:45 AM)
show user profile  spoon
Too much new stuff at the same time would have only slowed me down. Perhaps i'll give it a whirl for the next fun-project (i've had this idea in my head to make a mancala game, i even already bought the domain name)


read 619 times
1/14/2016 8:12:00 AM (last edit: 1/14/2016 8:12:00 AM)
show user profile  spoon
Not much functionality added, but transparently handling oauth refresh token works with rxjs. Phew! I've got it to work with promises, but since rxjs seems to be the new way to go, i wanted all my services to return Observables, not Promises.

rxjs is not an intuitive framework ... but with this out of the way, i can again focus on adding post/reply/edit


read 567 times
1/21/2016 5:34:06 PM (last edit: 1/21/2016 5:34:06 PM)
show user profile  gogodr
I feel you are going against the flow.
If you are using Angular you should be using promises and $q
---
my bad, I am looking into it and looks like you can integrate it quite easily
-------
Everything I once knew now it is old...
It was the cool thing last year...
now it is all outdated...
RxJS is the new thing, darn you AngularJS 2

Hello there

beautiful ;3


read 552 times
1/22/2016 12:41:19 AM (last edit: 1/22/2016 12:52:01 AM)
show user profile  spoon
Promises is soooooo 2015 :)

But honestly, i think many people will dislike the fact that they are pushing rxjs. rxjs is probably very powerfull if you get the hang of it, but it has its learning curve and feels like overkill for simple tasks.


read 533 times
1/22/2016 6:59:34 AM (last edit: 1/22/2016 6:59:34 AM)
show user profile  gogodr
I mean you don't have to, you can still use promises.
But yeah, RxJS is the new thing.

I predict that AngularJS 2 will be a 2017 thing, for the mean time I will stick with Angular 1

Hello there

beautiful ;3


read 522 times
1/22/2016 5:17:16 PM (last edit: 1/22/2016 5:17:16 PM)
show user profile  S. Silard
@spoon - I don't like that text editor. It does not understand HTML, all of my messages will be broken. But it's nice.

Congrats, you found my signature.

read 518 times
1/22/2016 5:46:25 PM (last edit: 1/22/2016 5:46:25 PM)
show user profile  spoon
Small update: been tackling technical stuff, and also posting/replying/editing messages now works, but only as basic text without images. Next step is deciding what way to go (medium, ubb, ...) and figuring out how to integrate uploaded images into the messages.


read 445 times
2/9/2016 1:00:08 PM (last edit: 2/9/2016 1:00:08 PM)
show user profile  gogodr
I use this
https://github.com/Wildhoney/ngDroplet

but I think you are using Angular 2.0 right? I don't know if it is backwards compatible

Hello there

beautiful ;3


read 413 times
2/9/2016 4:22:58 PM (last edit: 2/9/2016 4:22:58 PM)
 
First page  Go to the previous page   [01]  [02]  [03]  [04]  [05]  [06]  Go to the next page  Last page
 
#Maxforums IRC
Open chat window


Support Maxforums.org