Want to make a perfect flutter app with bloc but don't know how to - flutter-bloc

I am a learner and has created two apps with service based architecture.
I want to integrate flutter bloc.
I found individual examples of different tasks.
But when it comes to integrate all within one app it's quite confusing and difficult.
Also, could not find an ideal source code on github as an example.
Please can anyone show direction.

Related

Package giving Incremental search using Swift backend on Website

I am looking for a package that can be included or adapted to allow a website to communicate with a Swift backend.
What I want is be able to place a text field on a website that functions like the main google search box and works communicating with a Swift backend returning the results.
I am asking for help finding a framework that I can adapt to my needs.
Need help forming a reasonable set of queries to find the software I need.

Getting the list of all the views in a model on Forge

I am working on a Revit plugin to run on Forge (Design Automation app) that exports a 3D view through a custom exporter. As an input argument, it requires the name (or ElementID) of one of the 3D views from the Revit model. Is there a way to query the name of the views of a Revit model through other Forge solutions (like Data Management API)?
I couldn't find anything, if there is not an http api for that I assume I have to do it as part of my plugin run. What's the best to do that then?
Should I have a separate plugin that extracts the view names?
Thank you so much!
From your description, it appears that you have very little experience with Revit API add-ins. Maybe you should take a look at the getting started material first and work through the video tutorial. It explains a lot of important fundamentals, including covering this current question of yours.
The (almost) one and only way to retrieve elements from the Revit database is to use a filtered element collector. That would be the method of choice to find the element id of the 3D view you are looking for.
You cannot have searched very exhaustively, because many discussions by The Building Coder on the custom exporter and other topics include a code snippet showing how to pick a 3D view suitable for exporting.
To ensure you really have a 3D view set up just as you need it, you might prefer creating a new one from scratch.
Out of curiosity, is your task associated with the discussion thread on Revit API vs. ReCap API for historic project?

Api connector guidelines(not creating a API)

I started using Laravel around a year ago and I am currently making an application where I have to transfter data between multiple REST JSON API's.
I can find a lot of articles how to create API's. However I can't really find any information how to practicly connect to API's and using them in an object orientated way inside Laravel.
I'm thinking about using a model approach combined with interfaces to keep track of API version changes. I want to use repositories to make the API call. Inside this repositories i will use restable method names(e.g. GET,PATCH,POST,DELETE).
I am not sure this is a best practice and I understand this is a question where people can have a lot of opinions about.
If someone can give me some basic guidelines or starting points it would be greatly appriciated.

functional tests for google maps

I'm trying to write functional tests and we have a customer report page with google map which we use to display reported customers on in.
I read this post and I wondered whats the best way to write functional tests for google maps.
I am using Yii framework .
thanks guys
UPDATE:
I also have polygons, indicating regions of these customers, how are polygons displayed and how can I write tests for them?
In my opinion would be good to use Selenuim in this case. Obvoiusly there is lots of JavaScript involved and only good way how to really test it is to run tests in the webbrowser and replicate user activity.
For this you will need to install and setup Selenium server:
And the use PHPUnit Selenium extension

Zotonic- where can a quickstart be found

I have been to the zotonic docs, but well, they have not really been helpful because everything is in bits and pieces over there. I am an averagely good erlang programmer and i guess what i need is a full example of a web site or web app, however simple, but from ground up. Usually, an example built ground up would be used to illustrate all the basic concepts of a library. Forexample, how is a site arranged ? how and where do i put these files ? what does this config mean ? which options are there for this task ? e.t.c.
Zotonic looks great on the outside and i would love to dive into it. It looks like the only Erlang easy-way of building a web site and managing a web site using erlang.Question: Has anyone come across a full-fledged Zotonic-built web site or web app, whose source he can share or a tutorial coming from ground up, especially for Erlang programmers, that can get one really started ? Something similar to this Django introduction Also, are there any builds for Zotonic that can install on a windows Server ?
I'm developing (in my spare time, which hasn't been much lately) a project/issue tracker in zotonic. Code is available here: https://github.com/kaos/trackz and a demo site running the code here: http://trackz.astekk.se/
It's in it's early stages, so it won't be too hard to follow the progress from scratch by looking at the commits made, to that end, it's not much to look at either, yet.
It is developed against 0.8.x, so it probably won't be without issues to run it on 0.9-dev.
I also have some articles about zotonic internals (how to write modules for zotonic) and other related topics here: http://blog.astekk.se/en/by_keyword/318/zotonic
Hope this fills in at least some of your questions :)
Hint:
Study the data model and directory structure. Once you grok that, the rest will come easy.